busybox: update to 1.27.2
[openwrt/openwrt.git] / package / utils / busybox / config / editors / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Editors"
8
9 config BUSYBOX_CONFIG_AWK
10 bool "awk"
11 default BUSYBOX_DEFAULT_AWK
12 help
13 Awk is used as a pattern scanning and processing language. This is
14 the BusyBox implementation of that programming language.
15
16 config BUSYBOX_CONFIG_FEATURE_AWK_LIBM
17 bool "Enable math functions (requires libm)"
18 default BUSYBOX_DEFAULT_FEATURE_AWK_LIBM
19 depends on BUSYBOX_CONFIG_AWK
20 help
21 Enable math functions of the Awk programming language.
22 NOTE: This will require libm to be present for linking.
23
24 config BUSYBOX_CONFIG_FEATURE_AWK_GNU_EXTENSIONS
25 bool "Enable a few GNU extensions"
26 default BUSYBOX_DEFAULT_FEATURE_AWK_GNU_EXTENSIONS
27 depends on BUSYBOX_CONFIG_AWK
28 help
29 Enable a few features from gawk:
30 * command line option -e AWK_PROGRAM
31 * simultaneous use of -f and -e on the command line.
32 This enables the use of awk library files.
33 Ex: awk -f mylib.awk -e '{print myfunction($1);}' ...
34 config BUSYBOX_CONFIG_CMP
35 bool "cmp"
36 default BUSYBOX_DEFAULT_CMP
37 help
38 cmp is used to compare two files and returns the result
39 to standard output.
40 config BUSYBOX_CONFIG_DIFF
41 bool "diff"
42 default BUSYBOX_DEFAULT_DIFF
43 help
44 diff compares two files or directories and outputs the
45 differences between them in a form that can be given to
46 the patch command.
47
48 config BUSYBOX_CONFIG_FEATURE_DIFF_LONG_OPTIONS
49 bool "Enable long options"
50 default BUSYBOX_DEFAULT_FEATURE_DIFF_LONG_OPTIONS
51 depends on BUSYBOX_CONFIG_DIFF && BUSYBOX_CONFIG_LONG_OPTS
52
53 config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
54 bool "Enable directory support"
55 default BUSYBOX_DEFAULT_FEATURE_DIFF_DIR
56 depends on BUSYBOX_CONFIG_DIFF
57 help
58 This option enables support for directory and subdirectory
59 comparison.
60 config BUSYBOX_CONFIG_ED
61 bool "ed"
62 default BUSYBOX_DEFAULT_ED
63 help
64 The original 1970's Unix text editor, from the days of teletypes.
65 Small, simple, evil. Part of SUSv3. If you're not already using
66 this, you don't need it.
67 config BUSYBOX_CONFIG_PATCH
68 bool "patch"
69 default BUSYBOX_DEFAULT_PATCH
70 help
71 Apply a unified diff formatted patch.
72 config BUSYBOX_CONFIG_SED
73 bool "sed"
74 default BUSYBOX_DEFAULT_SED
75 help
76 sed is used to perform text transformations on a file
77 or input from a pipeline.
78 config BUSYBOX_CONFIG_VI
79 bool "vi"
80 default BUSYBOX_DEFAULT_VI
81 help
82 'vi' is a text editor. More specifically, it is the One True
83 text editor <grin>. It does, however, have a rather steep
84 learning curve. If you are not already comfortable with 'vi'
85 you may wish to use something else.
86
87 config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
88 int "Maximum screen width"
89 range 256 16384
90 default BUSYBOX_DEFAULT_FEATURE_VI_MAX_LEN
91 depends on BUSYBOX_CONFIG_VI
92 help
93 Contrary to what you may think, this is not eating much.
94 Make it smaller than 4k only if you are very limited on memory.
95
96 config BUSYBOX_CONFIG_FEATURE_VI_8BIT
97 bool "Allow to display 8-bit chars (otherwise shows dots)"
98 default BUSYBOX_DEFAULT_FEATURE_VI_8BIT
99 depends on BUSYBOX_CONFIG_VI
100 help
101 If your terminal can display characters with high bit set,
102 you may want to enable this. Note: vi is not Unicode-capable.
103 If your terminal combines several 8-bit bytes into one character
104 (as in Unicode mode), this will not work properly.
105
106 config BUSYBOX_CONFIG_FEATURE_VI_COLON
107 bool "Enable \":\" colon commands (no \"ex\" mode)"
108 default BUSYBOX_DEFAULT_FEATURE_VI_COLON
109 depends on BUSYBOX_CONFIG_VI
110 help
111 Enable a limited set of colon commands. This does not
112 provide an "ex" mode.
113
114 config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
115 bool "Enable yank/put commands and mark cmds"
116 default BUSYBOX_DEFAULT_FEATURE_VI_YANKMARK
117 depends on BUSYBOX_CONFIG_VI
118 help
119 This will enable you to use yank and put, as well as mark.
120
121 config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
122 bool "Enable search and replace cmds"
123 default BUSYBOX_DEFAULT_FEATURE_VI_SEARCH
124 depends on BUSYBOX_CONFIG_VI
125 help
126 Select this if you wish to be able to do search and replace.
127
128 config BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH
129 bool "Enable regex in search and replace"
130 default BUSYBOX_DEFAULT_FEATURE_VI_REGEX_SEARCH # Uses GNU regex, which may be unavailable. FIXME
131 depends on BUSYBOX_CONFIG_FEATURE_VI_SEARCH
132 help
133 Use extended regex search.
134
135 config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS
136 bool "Catch signals"
137 default BUSYBOX_DEFAULT_FEATURE_VI_USE_SIGNALS
138 depends on BUSYBOX_CONFIG_VI
139 help
140 Selecting this option will make vi signal aware. This will support
141 SIGWINCH to deal with Window Changes, catch ^Z and ^C and alarms.
142
143 config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD
144 bool "Remember previous cmd and \".\" cmd"
145 default BUSYBOX_DEFAULT_FEATURE_VI_DOT_CMD
146 depends on BUSYBOX_CONFIG_VI
147 help
148 Make vi remember the last command and be able to repeat it.
149
150 config BUSYBOX_CONFIG_FEATURE_VI_READONLY
151 bool "Enable -R option and \"view\" mode"
152 default BUSYBOX_DEFAULT_FEATURE_VI_READONLY
153 depends on BUSYBOX_CONFIG_VI
154 help
155 Enable the read-only command line option, which allows the user to
156 open a file in read-only mode.
157
158 config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS
159 bool "Enable settable options, ai ic showmatch"
160 default BUSYBOX_DEFAULT_FEATURE_VI_SETOPTS
161 depends on BUSYBOX_CONFIG_VI
162 help
163 Enable the editor to set some (ai, ic, showmatch) options.
164
165 config BUSYBOX_CONFIG_FEATURE_VI_SET
166 bool "Support :set"
167 default BUSYBOX_DEFAULT_FEATURE_VI_SET
168 depends on BUSYBOX_CONFIG_VI
169
170 config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
171 bool "Handle window resize"
172 default BUSYBOX_DEFAULT_FEATURE_VI_WIN_RESIZE
173 depends on BUSYBOX_CONFIG_VI
174 help
175 Behave nicely with terminals that get resized.
176
177 config BUSYBOX_CONFIG_FEATURE_VI_ASK_TERMINAL
178 bool "Use 'tell me cursor position' ESC sequence to measure window"
179 default BUSYBOX_DEFAULT_FEATURE_VI_ASK_TERMINAL
180 depends on BUSYBOX_CONFIG_VI
181 help
182 If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
183 this option makes vi perform a last-ditch effort to find it:
184 position cursor to 999,999 and ask terminal to report real
185 cursor position using "ESC [ 6 n" escape sequence, then read stdin.
186 This is not clean but helps a lot on serial lines and such.
187
188 config BUSYBOX_CONFIG_FEATURE_VI_UNDO
189 bool "Support undo command \"u\""
190 default BUSYBOX_DEFAULT_FEATURE_VI_UNDO
191 depends on BUSYBOX_CONFIG_VI
192 help
193 Support the 'u' command to undo insertion, deletion, and replacement
194 of text.
195
196 config BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE
197 bool "Enable undo operation queuing"
198 default BUSYBOX_DEFAULT_FEATURE_VI_UNDO_QUEUE
199 depends on BUSYBOX_CONFIG_FEATURE_VI_UNDO
200 help
201 The vi undo functions can use an intermediate queue to greatly lower
202 malloc() calls and overhead. When the maximum size of this queue is
203 reached, the contents of the queue are committed to the undo stack.
204 This increases the size of the undo code and allows some undo
205 operations (especially un-typing/backspacing) to be far more useful.
206
207 config BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE_MAX
208 int "Maximum undo character queue size"
209 default BUSYBOX_DEFAULT_FEATURE_VI_UNDO_QUEUE_MAX
210 range 32 65536
211 depends on BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE
212 help
213 This option sets the number of bytes used at runtime for the queue.
214 Smaller values will create more undo objects and reduce the amount
215 of typed or backspaced characters that are grouped into one undo
216 operation; larger values increase the potential size of each undo
217 and will generally malloc() larger objects and less frequently.
218 Unless you want more (or less) frequent "undo points" while typing,
219 you should probably leave this unchanged.
220
221 config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
222 bool "Allow vi and awk to execute shell commands"
223 default BUSYBOX_DEFAULT_FEATURE_ALLOW_EXEC
224 depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
225 help
226 Enables vi and awk features which allow user to execute
227 shell commands (using system() C call).
228
229 endmenu