aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /editors
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.gz
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
Diffstat (limited to 'editors')
-rw-r--r--editors/Config.in104
-rw-r--r--editors/config.in28
2 files changed, 104 insertions, 28 deletions
diff --git a/editors/Config.in b/editors/Config.in
new file mode 100644
index 000000000..4f2817598
--- /dev/null
+++ b/editors/Config.in
@@ -0,0 +1,104 @@
+#
+# For a description of the syntax of this configuration file,
+# see scripts/kbuild/config-language.txt.
+#
+
+menu "Editors"
+
+config CONFIG_AWK
+ bool "awk"
+ default n
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_AWK_MATH
+ bool " Enable math functions (requires libm)"
+ default y
+ depends on CONFIG_AWK
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_SED
+ bool "sed"
+ default n
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_VI
+ bool "vi"
+ default n
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_COLON
+ bool " Enable \":\" colon commands (no \"ex\" mode)"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_YANKMARK
+ bool " Enable yank/put commands and mark cmds"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_SEARCH
+ bool " Enable search and replace cmds"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_USE_SIGNALS
+ bool " Catch signals"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_DOT_CMD
+ bool " Remember previous cmd and \".\" cmd"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_READONLY
+ bool " Enable -R option and \"view\" mode"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_SETOPTS
+ bool " Enable set-able options, ai ic showmatch"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_SET
+ bool " Support for :set"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_WIN_RESIZE
+ bool " Handle window resize"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
+ bool " Optimize cursor movement"
+ default y
+ depends on CONFIG_VI
+ help
+ Please submit a patch to add help text for this item.
+
+endmenu
+
diff --git a/editors/config.in b/editors/config.in
deleted file mode 100644
index 54e1a90e9..000000000
--- a/editors/config.in
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# For a description of the syntax of this configuration file,
-# see scripts/kbuild/config-language.txt.
-#
-
-mainmenu_option next_comment
-comment 'Editors'
-
-bool 'awk' CONFIG_AWK
-if [ "$CONFIG_AWK" = "y" ]; then
- bool ' Enable math functions (requires libm)' CONFIG_FEATURE_AWK_MATH
-fi
-bool 'sed' CONFIG_SED
-bool 'vi' CONFIG_VI
-if [ "$CONFIG_VI" = "y" ]; then
- bool ' Enable ":" colon commands (no "ex" mode)' CONFIG_FEATURE_VI_COLON
- bool ' Enable yank/put commands and mark cmds' CONFIG_FEATURE_VI_YANKMARK
- bool ' Enable search and replace cmds' CONFIG_FEATURE_VI_SEARCH
- bool ' Catch signals' CONFIG_FEATURE_VI_USE_SIGNALS
- bool ' Remember previous cmd and "." cmd' CONFIG_FEATURE_VI_DOT_CMD
- bool ' Enable -R option and "view" mode' CONFIG_FEATURE_VI_READONLY
- bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPTS
- bool ' Support for :set' CONFIG_FEATURE_VI_SET
- bool ' Handle window resize' CONFIG_FEATURE_VI_WIN_RESIZE
- bool ' Optimize cursor movement' CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
-fi
-endmenu
-