Update documentation, mostly related to the command line editor

This commit is contained in:
Gregory Nutt 2014-02-03 10:56:52 -06:00
parent 55ea1ef68e
commit 281332cedf
2 changed files with 14 additions and 1 deletions

View File

@ -1039,6 +1039,19 @@ NSH-Specific Configuration Settings
The behavior of NSH can be modified with the following settings in
the configs/<board-name>/defconfig file:
* CONFIG_NSH_READLINE
Selects the minimal implementation of readline(). This minimal
implementation provides on backspace for command line editing.
* CONFIG_NSH_CLE
Selects the more extensive, EMACS-like command line editor.
Select this option only if (1) you don't mind a modest increase
in the FLASH footprint, and (2) you work with a terminal that
support VT100 editing commands.
Selecting this option will add probably 1.5-2KB to the FLASH
footprint.
* CONFIG_NSH_BUILTIN_APPS
Support external registered, "builtin" applications that can be
executed from the NSH command line (see apps/README.txt for

View File

@ -142,7 +142,7 @@ enum cle_key_e
{
KEY_BEGINLINE = CTRL('A'), /* Move cursor to start of current line */
KEY_LEFT = CTRL('B'), /* Move left one character */
KEY_DEL = CTRL('D'), /* Delete a single character at the cursor position*/
KEY_DEL = CTRL('D'), /* Delete a single character at the cursor position */
KEY_ENDLINE = CTRL('E'), /* Move cursor to end of current line */
KEY_RIGHT = CTRL('F'), /* Move right one character */
KEY_DELLEFT = CTRL('H'), /* Delete character, left (backspace) */