diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-02 10:25:53 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-02 10:25:53 -0600 |
commit | c9b74c175ad4502245cace41464aba69f8a1eaec (patch) | |
tree | 7e2b4789194c6b3e6865e24aee5bac6a7c0fe484 /apps/nshlib/Kconfig | |
parent | e364cc0f190f65ca37a08fbba3daa577d23cf51b (diff) | |
download | nuttx-c9b74c175ad4502245cace41464aba69f8a1eaec.tar.gz nuttx-c9b74c175ad4502245cace41464aba69f8a1eaec.tar.bz2 nuttx-c9b74c175ad4502245cace41464aba69f8a1eaec.zip |
Add an EMACS-like command line editor that can be used wit NSH
Diffstat (limited to 'apps/nshlib/Kconfig')
-rw-r--r-- | apps/nshlib/Kconfig | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig index 7fb6a52b3..8a9d1e900 100644 --- a/apps/nshlib/Kconfig +++ b/apps/nshlib/Kconfig @@ -6,13 +6,37 @@ config NSH_LIBRARY bool "NSH Library" default n - select SYSTEM_READLINE ---help--- - Build the NSH support library. This is used, for example, by examples/nsh - in order to implement the full NuttShell (NSH). + Build the NSH support library. This is used, for example, by + examples/nsh in order to implement the full NuttShell (NSH). if NSH_LIBRARY +choice + prompt "Command Line Editor" + default NSH_READLINE + +config NSH_READLINE + bool "Minimal readline()" + select SYSTEM_READLINE + ---help--- + Selects the minimal implementation of readline(). This minimal + implementation provides on backspace for command line editing. + +config NSH_CLE + bool "Command Line Editor" + select SYSTEM_CLE + ---help--- + 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. + +endchoice + config NSH_BUILTIN_APPS bool "Enable built-in applications" default n |