Commit Graph

32 Commits

Author SHA1 Message Date
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
chenchaoqun@rt-thread.com 931cdb1f6f [finsh/shell] compatible definition for cube package 2018-11-07 14:31:32 +08:00
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
Bernard Xiong ba5c1bea44 [dlmodule] Add cache ops in dlmodule. 2018-09-01 11:00:42 +08:00
Bernard Xiong efe4523132 [Kernel] move module tolibc/libdl. 2018-08-30 20:27:45 +08:00
Bernard Xiong b9255c20d2 [finsh] Remove chdir feature in msh 2018-07-26 17:09:39 +08:00
heyuanjie 409e7fca0a [msh]执行小程序 2018-07-02 13:47:47 +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
liang yongxiang cc81b47be2 [components] fixed signed/unsigned mismatch warning 2018-04-09 12:05:51 +08:00
Bernard Xiong 7f1db36f39 [finsh] fix the compiling warning for [-Wmisleading-indentation] 2018-03-04 12:16:52 +08:00
Aubr.Cool e4fea38726 [Components] correct msh argc too many error 2017-07-19 15:34:15 +08:00
Bernard Xiong f4248a95c3 [Finsh] Add script feature for msh. 2015-10-11 15:38:08 +08:00
Bernard Xiong 340a013f53 [finsh] export system symbol 2015-09-02 11:24:41 +08:00
Grissiom 23cc390474 msh: check path is non-null in msh_auto_complete_path 2014-10-14 16:07:19 +08:00
bernard a8b0fe3f36 [shell] Fix compiling issue when DFS is not enable 2014-09-11 12:47:25 +08:00
Grissiom a95370aa56 msh: remove usless ptr set
The ptr is set in the following code. So remove the first one.
2014-04-12 16:57:14 +08:00
bernard 8bd3e6f6dc [Kernel] Change command line to const parameter and add system() function. 2014-04-02 14:05:15 +08:00
Grissiom 0979328fb1 [msh] don't complain on empty command
Just branch out and no complain on command length == 0;
2014-03-29 11:33:20 +08:00
Grissiom c44f32e513 [msh] cd to path when possible
When DFS_USING_WORKDIR is enabled, msh will try to chdir if the command
is not found. For example, if there is folder named "SD", and there is
no `SD` command and `SD.mo` module, typing "SD" in msh will cd to the
folder.

In more detail, the execution order right now is:

1. built-in command
2. module
3. cd to path

If you have a folder named "ps", you have to run `cd ps` to change the
working dir.
2014-03-27 16:41:26 +08:00
Grissiom f9659283c0 [msh] try to complete module path
Msh can execute module directly. So try to auto-complete the path when
user press TAB. There is a chance that the path is a module.
2014-03-27 15:09:53 +08:00
bernard 32a6f5b730 [Finsh] remove the .mo display when command is not found. 2014-02-15 10:28:38 +08:00
bernard ae891e2011 [Finsh] fix strncmp issue in command search 2014-01-16 22:22:23 +08:00
roamboy 1c8693c87e Update msh.c 2014-01-13 15:57:13 +08:00
roamboy 1df4c1b962 Update msh.c 2014-01-13 15:56:20 +08:00
roamboy 849130da2c Update msh.c
fix msh_exec(char* cmd, rt_size_t length) bug
2014-01-13 15:52:23 +08:00
bernard 31446eab4c [Kernel] application module can support arguments 2014-01-11 16:33:31 +08:00
bernard 1f8a0668d2 [Finsh] Add features to execute module. 2014-01-03 08:01:24 +08:00
bernard b924104129 Add FINSH_USING_MSH_ONLY option 2014-01-01 23:14:45 +08:00
bernard a5ba2a24f7 add file and path name auto completion for module shell 2014-01-01 21:45:09 +08:00
Bernard Xiong 97eadb7d8e implement a shell for module 2013-03-30 16:14:38 +08:00