summaryrefslogtreecommitdiff
path: root/apps/system/cle/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-02 10:25:53 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-02 10:25:53 -0600
commitc9b74c175ad4502245cace41464aba69f8a1eaec (patch)
tree7e2b4789194c6b3e6865e24aee5bac6a7c0fe484 /apps/system/cle/Kconfig
parente364cc0f190f65ca37a08fbba3daa577d23cf51b (diff)
downloadnuttx-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/system/cle/Kconfig')
-rw-r--r--apps/system/cle/Kconfig37
1 files changed, 37 insertions, 0 deletions
diff --git a/apps/system/cle/Kconfig b/apps/system/cle/Kconfig
new file mode 100644
index 000000000..d846a0cf8
--- /dev/null
+++ b/apps/system/cle/Kconfig
@@ -0,0 +1,37 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+config SYSTEM_CLE
+ bool "Tiny VI work-alike command line editor"
+ default n
+ ---help---
+ Enable support for NuttX tiny EMACS-like command line editor.
+
+ Omitted features:
+ - No keypad cursor control support
+ - No word oriented operations.
+
+ Assumptions and Limitations:
+ - A VT100 host terminal is assumed.
+ - A fixed width character set (like Courier) is assumed
+
+ Memory Usage: Looks like 1.5-2KB
+
+if SYSTEM_CLE
+
+config SYSTEM_CLE_DEBUGLEVEL
+ int "Debug level"
+ default 0
+ range 0 2
+ ---help---
+ 0=Debug off; 1=Print errors on console; 2=Print debug information
+ on the console.
+
+ Debug output is generated with syslog. The editor works on
+ /dev/console. In order to get both a usable display and also
+ readable debug output, syslog'ing should sent to some device other
+ than /dev/console (which is the default).
+
+endif # SYSTEM_CLE