Commit Graph

200 Commits

Author SHA1 Message Date
Bernard Xiong b9255c20d2 [finsh] Remove chdir feature in msh 2018-07-26 17:09:39 +08:00
armink 4c92650fde [components][finsh] Fix shell re-initialization check code to supported C89. 2018-07-17 12:52:02 +08:00
Bernard Xiong 39998e4d89
Merge pull request #1602 from aozima/re_initial_dev
add re-initial check.
2018-07-04 07:15:45 +08:00
Bernard Xiong 33fb280140
Merge pull request #1601 from aozima/shell_dev
update shell prompt.
2018-07-04 07:15:03 +08:00
Bernard Xiong eb821ae031
Merge pull request #1598 from heyuanjie87/lwp
[msh]执行小程序
2018-07-02 21:03:58 +08:00
aozima efada8768e [shell] set prompt mode is default enable. 2018-07-02 19:46:37 +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
heyuanjie 409e7fca0a [msh]执行小程序 2018-07-02 13:47:47 +08:00
aozima e49a29f2dc [shell] add re-initial check. 2018-07-02 09:56:12 +08:00
MurphyZhao 6856a8b5e6 [finsh] update netstat
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-07-02 09:32:52 +08:00
Bernard Xiong 564df04da1 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-06-10 18:01:15 +08:00
Bernard Xiong 682da9b249 [Kernel] Remove object container in module feature. 2018-06-10 17:56:02 +08:00
tangyuxin 6bb00aa88b [components][finsh]msh最大参数个数可配置 2018-06-07 11:55:54 +08:00
aozima e5f6996507 [lwip] update netstat: add list_udps. 2018-05-25 22:30:14 +08:00
armink 72ec60aaa3 [components][finsh] Finsh thread using heap when RT_USING_HEAP is defined. 2018-04-23 13:28:44 +08:00
liang yongxiang cc81b47be2 [components] fixed signed/unsigned mismatch warning 2018-04-09 12:05:51 +08:00
moebius.ever 22bcdd4bdb [finsh] change comment "Disable the command echo mode or not in default" to "Disable the echo mode in default" 2018-03-23 17:20:17 +08:00
moebius.ever 61946325ee [finsh] add FINSH_ECHO_DISABLE_DEFAULT and remove FINSH_ECHO_MODE_DEFAULT, to control the finsh default echo mode 2018-03-16 16:26:22 +08:00
moebius.ever 48ecbd3999 [finsh] add FINSH_ECHO_MODE_DEFAULT, to config the default echo mode of finsh 2018-03-15 12:13:40 +08:00
moebius.ever 336c946b84 [finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not and fix the bsp compile error 2018-03-15 10:50:00 +08:00
moebius.ever 5444c90ecf [finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not 2018-03-15 10:12:17 +08:00
armink 76474b3e9d [Components][Finsh] Fix list object name align issue. 2018-03-13 13:27:37 +08:00
Bernard Xiong 7f1db36f39 [finsh] fix the compiling warning for [-Wmisleading-indentation] 2018-03-04 12:16:52 +08:00
Bernard Xiong f9a7ba050a [finsh] convert tab to space and split export API to finsh_api.h 2018-03-01 21:01:20 +08:00
armink 013e5bd411 [Components][Finsh] Add shell getchar received error process. 2018-02-23 15:24:27 +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 872975b0ab [DFS] add df cmd in msh and provide better display.
re-write for #1138
2017-12-31 10:46:24 +08:00
Bernard Xiong a3d96ed555 Use rt_object_get_information to get object chain 2017-12-12 07:38:02 +08:00
Bernard Xiong 7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +08:00
armink 82b7ecda06 [Finsh] Fix an auto complete history bug when current line is contained in last cmd. 2017-11-01 10:25:17 +08:00
armink d3ac388846 [rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h . 2017-10-19 09:28:17 +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 8a38307e2c [libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard 3c0fbf0c7e [finsh] Fix the C99 issue. 2017-10-17 09:45:17 +08:00
bernard 444915d1ea [finsh] Add RT_USING_POSIX_STDIN options. 2017-10-13 11:50:18 +08:00
armink c123451585 [Finsh] Stop push new history when current cmd is same as last cmd. 2017-10-13 10:21:40 +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 c36a628ff4 [Finsh] Fix finsh password auth not valid when RT_DEBUG is not definition. 2017-08-30 20:42:36 +08:00
Aubr.Cool e4fea38726 [Components] correct msh argc too many error 2017-07-19 15:34:15 +08:00
bernard 6515dc238c [finsh] Add checking the result of chdir. 2017-06-15 14:37:56 +08:00
bernard c53389e46f [finsh] Add lwip 2.0.0 support. 2017-01-31 13:17:34 +08:00
bernard d692001fd5 [tools] Add KConfig files. 2017-01-31 11:54:12 +08:00
armink 72e4efb46e [finsh]Improve the set password. 2016-11-26 16:45:54 +08:00
armink 8ff7529039 [finsh] Add password authentication. Increased input security. 2016-11-26 15:23:12 +08:00
gbcwbz 5941d73604 Convert tab into spaces 2016-09-07 23:45:39 +08:00
gbcwbz 517e909c3d [finsh]Align title and content in list_* cmd 2016-09-07 23:24:12 +08:00
Bernard Xiong 108ba3b371 [finsh] change display format for list_thread. 2016-07-13 09:37:51 +08:00
Bernard Xiong 45c7f03035 [finsh] Fix object name issue in list_* cmd. 2016-06-13 13:29:18 +08:00