blob: fd840ae9a2d2b828a55a315e352c3c667b53d9e1 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Editors"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config AWK
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "awk"
10 default n
11 help
Eric Andersene5642112003-07-14 19:37:08 +000012 Awk is used as a pattern scanning and processing language. This is
13 the BusyBox implementation of that programming language.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015config FEATURE_AWK_MATH
Rob Landley2ec922e2006-04-13 23:22:16 +000016 bool "Enable math functions (requires libm)"
Eric Andersenc9f20d92002-12-05 08:41:41 +000017 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000018 depends on AWK
Eric Andersenc9f20d92002-12-05 08:41:41 +000019 help
Eric Andersene5642112003-07-14 19:37:08 +000020 Enable math functions of the Awk programming language.
21 NOTE: This will require libm to be present for linking.
Eric Andersenc9f20d92002-12-05 08:41:41 +000022
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023config ED
Rob Landley3b890392006-05-04 20:56:43 +000024 bool "ed"
25 default n
26 help
27 The original 1970's Unix text editor, from the days of teletypes.
28 Small, simple, evil. Part of SUSv3. If you're not already using
29 this, you don't need it.
30
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000031config PATCH
Glenn L McGrath655d8142003-06-22 15:32:41 +000032 bool "patch"
33 default n
34 help
Eric Andersen88c916b2003-10-22 09:58:56 +000035 Apply a unified diff formatted patch.
Glenn L McGrath655d8142003-06-22 15:32:41 +000036
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000037config SED
Eric Andersenc9f20d92002-12-05 08:41:41 +000038 bool "sed"
39 default n
40 help
Eric Andersen65e20a32003-07-05 07:52:35 +000041 sed is used to perform text transformations on a file
42 or input from a pipeline.
Eric Andersenc9f20d92002-12-05 08:41:41 +000043
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044config VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000045 bool "vi"
46 default n
47 help
Eric Andersen65e20a32003-07-05 07:52:35 +000048 'vi' is a text editor. More specifically, it is the One True
Eric Andersenc7bda1c2004-03-15 08:29:22 +000049 text editor <grin>. It does, however, have a rather steep
Eric Andersen65e20a32003-07-05 07:52:35 +000050 learning curve. If you are not already comfortable with 'vi'
51 you may wish to use something else.
Eric Andersenc9f20d92002-12-05 08:41:41 +000052
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000053config FEATURE_VI_COLON
Rob Landley2ec922e2006-04-13 23:22:16 +000054 bool "Enable \":\" colon commands (no \"ex\" mode)"
Eric Andersenc9f20d92002-12-05 08:41:41 +000055 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000056 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000057 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000058 Enable a limited set of colon commands for vi. This does not
59 provide an "ex" mode.
Eric Andersenc9f20d92002-12-05 08:41:41 +000060
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000061config FEATURE_VI_YANKMARK
Rob Landley2ec922e2006-04-13 23:22:16 +000062 bool "Enable yank/put commands and mark cmds"
Eric Andersenc9f20d92002-12-05 08:41:41 +000063 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000064 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000065 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000066 This will enable you to use yank and put, as well as mark in
67 busybox vi.
Eric Andersenc9f20d92002-12-05 08:41:41 +000068
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069config FEATURE_VI_SEARCH
Rob Landley2ec922e2006-04-13 23:22:16 +000070 bool "Enable search and replace cmds"
Eric Andersenc9f20d92002-12-05 08:41:41 +000071 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000072 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000073 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000074 Select this if you wish to be able to do search and replace in
75 busybox vi.
Eric Andersenc9f20d92002-12-05 08:41:41 +000076
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000077config FEATURE_VI_USE_SIGNALS
Rob Landley2ec922e2006-04-13 23:22:16 +000078 bool "Catch signals"
Eric Andersenc9f20d92002-12-05 08:41:41 +000079 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000080 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000081 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000082 Selecting this option will make busybox vi signal aware. This will
83 make busybox vi support SIGWINCH to deal with Window Changes, catch
84 Ctrl-Z and Ctrl-C and alarms.
Eric Andersenc9f20d92002-12-05 08:41:41 +000085
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000086config FEATURE_VI_DOT_CMD
Rob Landley2ec922e2006-04-13 23:22:16 +000087 bool "Remember previous cmd and \".\" cmd"
Eric Andersenc9f20d92002-12-05 08:41:41 +000088 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000089 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000090 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000091 Make busybox vi remember the last command and be able to repeat it.
Eric Andersenc9f20d92002-12-05 08:41:41 +000092
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000093config FEATURE_VI_READONLY
Rob Landley2ec922e2006-04-13 23:22:16 +000094 bool "Enable -R option and \"view\" mode"
Eric Andersenc9f20d92002-12-05 08:41:41 +000095 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000096 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +000097 help
Eric Andersene5642112003-07-14 19:37:08 +000098 Enable the read-only command line option, which allows the user to
99 open a file in read-only mode.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000100
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000101config FEATURE_VI_SETOPTS
Rob Landley2ec922e2006-04-13 23:22:16 +0000102 bool "Enable set-able options, ai ic showmatch"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000103 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000104 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +0000105 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000106 Enable the editor to set some (ai, ic, showmatch) options.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000107
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000108config FEATURE_VI_SET
Rob Landley2ec922e2006-04-13 23:22:16 +0000109 bool "Support for :set"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000110 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000111 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +0000112 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000113 Support for ":set".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000114
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000115config FEATURE_VI_WIN_RESIZE
Rob Landley2ec922e2006-04-13 23:22:16 +0000116 bool "Handle window resize"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000117 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000118 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +0000119 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000120 Make busybox vi behave nicely with terminals that get resized.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000121
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000122config FEATURE_VI_OPTIMIZE_CURSOR
Rob Landley2ec922e2006-04-13 23:22:16 +0000123 bool "Optimize cursor movement"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000124 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000125 depends on VI
Eric Andersenc9f20d92002-12-05 08:41:41 +0000126 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000127 This will make the cursor movement faster, but requires more memory
128 and it makes the applet a tiny bit larger.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000129
Denis Vlasenko249fabf2006-12-19 00:29:22 +0000130config FEATURE_ALLOW_EXEC
131 bool "Allow vi and awk to execute shell commands"
132 default y
133 depends on VI || AWK
134 help
135 Enables vi and awk features which allows user to execute
136 shell commands (using system() C call).
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137
Denis Vlasenko249fabf2006-12-19 00:29:22 +0000138endmenu