blob: 14c316c08ea9124592918e52f63fc82ead7ff854 [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
8config CONFIG_AWK
9 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
15config CONFIG_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
18 depends on CONFIG_AWK
19 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
Rob Landley3b890392006-05-04 20:56:43 +000023config CONFIG_ED
24 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
Glenn L McGrath655d8142003-06-22 15:32:41 +000031config CONFIG_PATCH
32 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
Eric Andersenc9f20d92002-12-05 08:41:41 +000037config CONFIG_SED
38 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
Eric Andersenc9f20d92002-12-05 08:41:41 +000044config CONFIG_VI
45 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
53config CONFIG_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
56 depends on CONFIG_VI
57 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
61config CONFIG_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
64 depends on CONFIG_VI
65 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
69config CONFIG_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
72 depends on CONFIG_VI
73 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
77config CONFIG_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
80 depends on CONFIG_VI
81 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
86config CONFIG_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
89 depends on CONFIG_VI
90 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
93config CONFIG_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
96 depends on CONFIG_VI
97 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
101config CONFIG_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
104 depends on CONFIG_VI
105 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
108config CONFIG_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
111 depends on CONFIG_VI
112 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000113 Support for ":set".
Eric Andersenc9f20d92002-12-05 08:41:41 +0000114
115config CONFIG_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
118 depends on CONFIG_VI
119 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
122config CONFIG_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
125 depends on CONFIG_VI
126 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
130endmenu
131