diff options
author | Chris Johns <chrisj@rtems.org> | 2014-10-24 16:06:54 -0700 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-10-24 16:06:54 -0700 |
commit | 42c77e998215fc013f42625a633c3868cd48d172 (patch) | |
tree | 3828ee6bd0559aa3cba84d56b30ab410b725cff0 /cpukit/libmisc/shell/shellconfig.h | |
parent | ilibcsupport: Add realpath call. (diff) | |
download | rtems-42c77e998215fc013f42625a633c3868cd48d172.tar.bz2 |
shell: Add an editor to the shell.
This is a small (21K on sparc) editor that provides some powerful
features useful when a file needs editing on an embedded
board. No need to copy files off, edit, copy back.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r-- | cpukit/libmisc/shell/shellconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index eacfac28f9..377695287c 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -39,6 +39,7 @@ extern rtems_shell_cmd_t rtems_shell_MMOVE_Command; extern rtems_shell_cmd_t rtems_shell_JOEL_Command; extern rtems_shell_cmd_t rtems_shell_DATE_Command; extern rtems_shell_cmd_t rtems_shell_ECHO_Command; +extern rtems_shell_cmd_t rtems_shell_EDIT_Command; extern rtems_shell_cmd_t rtems_shell_SLEEP_Command; extern rtems_shell_cmd_t rtems_shell_ID_Command; extern rtems_shell_cmd_t rtems_shell_TTY_Command; @@ -175,6 +176,11 @@ extern rtems_shell_alias_t *rtems_shell_Initial_aliases[]; &rtems_shell_ECHO_Command, #endif #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ + !defined(CONFIGURE_SHELL_NO_COMMAND_EDIT)) || \ + defined(CONFIGURE_SHELL_COMMAND_EDIT) + &rtems_shell_EDIT_Command, + #endif + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ !defined(CONFIGURE_SHELL_NO_COMMAND_SLEEP)) || \ defined(CONFIGURE_SHELL_COMMAND_SLEEP) &rtems_shell_SLEEP_Command, |