busybox: add glibc dependency for vi regex option
[openwrt/staging/mkresin.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 docs/Kconfig-language.txt.
5 #
6
7 menu "Editors"
8
9 config BUSYBOX_CONFIG_AWK
10 bool "awk (23 kb)"
11 default BUSYBOX_DEFAULT_AWK
12 help
13 Awk is used as a pattern scanning and processing language.
14
15 config BUSYBOX_CONFIG_FEATURE_AWK_LIBM
16 bool "Enable math functions (requires libm)"
17 default BUSYBOX_DEFAULT_FEATURE_AWK_LIBM
18 depends on BUSYBOX_CONFIG_AWK
19 help
20 Enable math functions of the Awk programming language.
21 NOTE: This requires libm to be present for linking.
22
23 config BUSYBOX_CONFIG_FEATURE_AWK_GNU_EXTENSIONS
24 bool "Enable a few GNU extensions"
25 default BUSYBOX_DEFAULT_FEATURE_AWK_GNU_EXTENSIONS
26 depends on BUSYBOX_CONFIG_AWK
27 help
28 Enable a few features from gawk:
29 * command line option -e AWK_PROGRAM
30 * simultaneous use of -f and -e on the command line.
31 This enables the use of awk library files.
32 Example: awk -f mylib.awk -e '{print myfunction($1);}' ...
33 config BUSYBOX_CONFIG_CMP
34 bool "cmp (4.9 kb)"
35 default BUSYBOX_DEFAULT_CMP
36 help
37 cmp is used to compare two files and returns the result
38 to standard output.
39 config BUSYBOX_CONFIG_DIFF
40 bool "diff (13 kb)"
41 default BUSYBOX_DEFAULT_DIFF
42 help
43 diff compares two files or directories and outputs the
44 differences between them in a form that can be given to
45 the patch command.
46
47 config BUSYBOX_CONFIG_FEATURE_DIFF_LONG_OPTIONS
48 bool "Enable long options"
49 default BUSYBOX_DEFAULT_FEATURE_DIFF_LONG_OPTIONS
50 depends on BUSYBOX_CONFIG_DIFF && BUSYBOX_CONFIG_LONG_OPTS
51
52 config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
53 bool "Enable directory support"
54 default BUSYBOX_DEFAULT_FEATURE_DIFF_DIR
55 depends on BUSYBOX_CONFIG_DIFF
56 help
57 This option enables support for directory and subdirectory
58 comparison.
59 config BUSYBOX_CONFIG_ED
60 bool "ed (21 kb)"
61 default BUSYBOX_DEFAULT_ED
62 help
63 The original 1970's Unix text editor, from the days of teletypes.
64 Small, simple, evil. Part of SUSv3. If you're not already using
65 this, you don't need it.
66 config BUSYBOX_CONFIG_PATCH
67 bool "patch (9.4 kb)"
68 default BUSYBOX_DEFAULT_PATCH
69 help
70 Apply a unified diff formatted patch.
71 config BUSYBOX_CONFIG_SED
72 bool "sed (12 kb)"
73 default BUSYBOX_DEFAULT_SED
74 help
75 sed is used to perform text transformations on a file
76 or input from a pipeline.
77 config BUSYBOX_CONFIG_VI
78 bool "vi (23 kb)"
79 default BUSYBOX_DEFAULT_VI
80 help
81 'vi' is a text editor. More specifically, it is the One True
82 text editor <grin>. It does, however, have a rather steep
83 learning curve. If you are not already comfortable with 'vi'
84 you may wish to use something else.
85
86 config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
87 int "Maximum screen width"
88 range 256 16384
89 default BUSYBOX_DEFAULT_FEATURE_VI_MAX_LEN
90 depends on BUSYBOX_CONFIG_VI
91 help
92 Contrary to what you may think, this is not eating much.
93 Make it smaller than 4k only if you are very limited on memory.
94
95 config BUSYBOX_CONFIG_FEATURE_VI_8BIT
96 bool "Allow to display 8-bit chars (otherwise shows dots)"
97 default BUSYBOX_DEFAULT_FEATURE_VI_8BIT
98 depends on BUSYBOX_CONFIG_VI
99 help
100 If your terminal can display characters with high bit set,
101 you may want to enable this. Note: vi is not Unicode-capable.
102 If your terminal combines several 8-bit bytes into one character
103 (as in Unicode mode), this will not work properly.
104
105 config BUSYBOX_CONFIG_FEATURE_VI_COLON
106 bool "Enable \":\" colon commands (no \"ex\" mode)"
107 default BUSYBOX_DEFAULT_FEATURE_VI_COLON
108 depends on BUSYBOX_CONFIG_VI
109 help
110 Enable a limited set of colon commands. This does not
111 provide an "ex" mode.
112
113 config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
114 bool "Enable yank/put commands and mark cmds"
115 default BUSYBOX_DEFAULT_FEATURE_VI_YANKMARK
116 depends on BUSYBOX_CONFIG_VI
117 help
118 This enables you to use yank and put, as well as mark.
119
120 config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
121 bool "Enable search and replace cmds"
122 default BUSYBOX_DEFAULT_FEATURE_VI_SEARCH
123 depends on BUSYBOX_CONFIG_VI
124 help
125 Select this if you wish to be able to do search and replace.
126
127 config BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH
128 bool "Enable regex in search and replace"
129 default BUSYBOX_DEFAULT_FEATURE_VI_REGEX_SEARCH
130 depends on BUSYBOX_CONFIG_FEATURE_VI_SEARCH
131 depends on USE_GLIBC
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