Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
z14git
adceb3e2a4
确保char line[]最后一位为'\0'
2020-10-14 09:27:40 +08:00
chenyong
2b50d3d32c
[components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-25 20:14:39 +08:00
流光
dfd9fa4d9d
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input length exceeding 256 bytes
2019-09-20 14:48:01 +08:00
Bernard Xiong
9064b28c2a
[license] Change license to Apache.
2018-10-14 19:28:18 +08:00
aozima
4f1112f838
[shell] add finsh_set_prompt().
2018-07-02 16:23:00 +08:00
aozima
85e732ddaf
[shell] add finsh_get/set_prompt_mode.
2018-07-02 15:12:17 +08:00
liu2guang
a672a9e52a
[Finsh] 修复menuconfig中finsh历史命令无法关闭错误, 并将finsh未导出配置导出menuconfig.
2018-01-16 21:45:20 +08:00
armink
cfd82c260d
[Finsh] Add finsh thread name macro.
2018-01-12 17:22:14 +08:00
bernard
d118852314
[finsh] code cleanup and use RT_USING_POSIX to replace RT_USING_POSIX_STDIN.
2017-10-17 22:28:05 +08:00
bernard
444915d1ea
[finsh] Add RT_USING_POSIX_STDIN options.
2017-10-13 11:50:18 +08:00
bernard
95ab8c02aa
[finsh] Use standard uint type for data type.
...
Use uint8_t/uint32_t etc to replace u_char/u_long etc;
Use getchar for shell input.
2017-10-10 14:27:34 +08:00
armink
8ff7529039
[finsh] Add password authentication. Increased input security.
2016-11-26 15:23:12 +08:00
Bernard Xiong
8de629c0b0
[shell] Add FINSH_CMD_SIZE option.
2015-05-18 18:12:17 +08:00
Bernard Xiong
450acd3454
Revert "Add FINSH_CMD_SIZE option."
...
This reverts commit 326a7d7496
.
2015-05-18 18:08:49 +08:00
Bernard Xiong
326a7d7496
Add FINSH_CMD_SIZE option.
2015-05-18 18:08:24 +08:00
Grissiom
3d584266e5
finsh: allow user to disable the FINSH_USING_HISTORY
2014-10-21 16:01:08 +08:00
Grissiom
841898abe2
[shell] define FINSH_PROMPT as finsh_get_prompt when FINSH_USING_MSH enabled
...
When MSH enabled, the prompt will change at the two shells. So we should
use dynamic prompt when FINSH_USING_MSH defined.
2014-04-08 15:12:44 +08:00
bernard
b924104129
Add FINSH_USING_MSH_ONLY option
2014-01-01 23:14:45 +08:00
Grissiom
1e01252824
finsh: refactor the control key handling
...
We split the history handling form the key handling. So we could handle
the direction key even if the history is disabled. As a "side effect", I
also remove the unnecessary "use_history" bit.
2013-10-18 22:36:51 +08:00
Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +08:00
Bernard Xiong
97eadb7d8e
implement a shell for module
2013-03-30 16:14:38 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
bernard.xiong@gmail.com
c84d99706f
fix some compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2543 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:12:14 +00:00
bernard.xiong@gmail.com
5e1f1268a1
Includes finsh.h header file.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2335 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 04:02:36 +00:00
bernard.xiong@gmail.com
b07bd9b030
Change the const prefix to right position.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2294 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 05:07:14 +00:00
bernard.xiong@gmail.com
3ec34b8f22
Added finsh_system_init function declaration on shell.h.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2070 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:03:00 +00:00
bernard.xiong
c2276d1719
Add finsh_get_prompt function declaration.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1444 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-02 04:40:52 +00:00
bernard.xiong@gmail.com
46914144c9
add current path in prompt.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1184 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 00:05:50 +00:00
bernard.xiong
6ae0b45820
fix compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1167 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-01 01:54:26 +00:00
bernard.xiong@gmail.com
7a80d831c9
update doxygen comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong@gmail.com
1e1b85b9c7
clean up finsh shell code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@734 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-25 23:54:45 +00:00