Commit Graph

169 Commits

Author SHA1 Message Date
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
Bernard Xiong 4d93c31cce Revert "[finsh] Beautify all list object information command."
This reverts commit cd3b0cfff5.
2016-06-13 11:08:23 +08:00
armink cd3b0cfff5 [finsh] Beautify all list object information command. 2016-06-04 11:03:30 +08:00
armink cbbe5a6edd [finsh] Beautify the list_thread command. 2016-06-02 17:06:41 +08:00
armink 1bd8d0f75e [finsh] Beautify the list_thread command. 2016-06-02 14:29:44 +08:00
Bernard Xiong 838141e89f [finsh] Add echo command for msh. 2016-04-18 13:53:32 +08:00
Bernard Xiong f0fc48922b [finsh] use the macro definition instead of the const number in the code 2016-03-01 10:56:46 +08:00
hezlog a1745986e9 Update finsh_token.c
修正finsh不能正确处理"\""和"\x1A"转义;
2016-01-19 12:16:30 +08:00
Bernard Xiong d2aee25391 Merge pull request #593 from SchumyHao/master
finsh: change no echo mode. cpp: remove RT_USE_LIBC depends
2015-12-02 23:28:05 +08:00
SchumyHao f1e92c63f2 finsh: check echo_mode before print '\n' when excute msh command
Signed-off-by: SchumyHao <bob-hjl@126.com>
2015-11-13 00:56:50 +08:00
www220@tom.com 86f1d4f19b msh中增加了dns的配置函数 2015-11-04 09:37:38 +08:00
www220@tom.com c7af45b759 msh中的mkfs命令再携带类型是,解析出错 2015-10-12 15:55:52 +08:00
Bernard Xiong c2b5cd1e85 [Finsh] fix the '\r' issue in linux telnet. 2015-10-12 10:52:14 +08:00
Bernard Xiong f4248a95c3 [Finsh] Add script feature for msh. 2015-10-11 15:38:08 +08:00
Bernard Xiong 3dc91bf8ab [finsh] Code cleanup. 2015-09-24 20:58:40 +08:00
Bernard Xiong 353f511cb0 [finsh] fix the '\0' issue when use shell in linux telnet 2015-09-24 03:06:26 +00:00
Bernard Xiong 7dfac0f78e rename .name section to .rodata.name section 2015-09-15 12:11:07 +00:00
heyuanjie87 8f9bda579a 定义Timer设备类 2015-09-06 15:18:15 +08:00
heyuanjie87 c84887d021 加入定时器设备 2015-09-02 22:00:24 +08:00
Bernard Xiong cb51bdb245 [finsh] fix compiling warning. 2015-09-02 14:05:38 +08:00
Bernard Xiong 1079727afb [finsh] Add .name section for exported cmd and variables. 2015-09-02 12:07:58 +08:00
Bernard Xiong 340a013f53 [finsh] export system symbol 2015-09-02 11:24:41 +08:00
Bernard Xiong bcb9ab1317 [finsh] Add mkfs command to msh 2015-08-28 15:13:04 +08:00
ardafu 667c03db97 [FINSH] Add macro MSH_CMD_EXPORT_ALIAS 2015-07-31 11:07:54 +08:00
ardafu 084a8dcd0c [finsh] Clear buffer before switching to new shell device 2015-05-22 16:35:01 +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
Bernard Xiong 37aa44d4f2 Fix compiling warning. 2015-04-24 11:48:25 +08:00
Grissiom 54f8b19e12 SConscript: fix the `--keep` parameter for Keil
The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it
right.
2015-04-14 18:22:46 +08:00
bernard 5b1270455d Fix the echo issue in the shell. 2015-03-20 12:44:58 +08:00
bernard 924264b277 Remove list_mod_detail command from msh. 2015-03-20 12:44:02 +08:00