busybox: update to 1.19.2 (thanks to Peter Wagner)
[openwrt/openwrt.git] / package / 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_PATCH
10 bool "patch"
11 default n
12 help
13 Apply a unified diff formatted patch.
14 config BUSYBOX_CONFIG_VI
15 bool "vi"
16 default y
17 help
18 'vi' is a text editor. More specifically, it is the One True
19 text editor <grin>. It does, however, have a rather steep
20 learning curve. If you are not already comfortable with 'vi'
21 you may wish to use something else.
22
23 config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
24 int "Maximum screen width in vi"
25 range 256 16384
26 default 1024
27 depends on BUSYBOX_CONFIG_VI
28 help
29 Contrary to what you may think, this is not eating much.
30 Make it smaller than 4k only if you are very limited on memory.
31
32 config BUSYBOX_CONFIG_FEATURE_VI_8BIT
33 bool "Allow vi to display 8-bit chars (otherwise shows dots)"
34 default n
35 depends on BUSYBOX_CONFIG_VI
36 help
37 If your terminal can display characters with high bit set,
38 you may want to enable this. Note: vi is not Unicode-capable.
39 If your terminal combines several 8-bit bytes into one character
40 (as in Unicode mode), this will not work properly.
41
42 config BUSYBOX_CONFIG_FEATURE_VI_COLON
43 bool "Enable \":\" colon commands (no \"ex\" mode)"
44 default y
45 depends on BUSYBOX_CONFIG_VI
46 help
47 Enable a limited set of colon commands for vi. This does not
48 provide an "ex" mode.
49
50 config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
51 bool "Enable yank/put commands and mark cmds"
52 default y
53 depends on BUSYBOX_CONFIG_VI
54 help
55 This will enable you to use yank and put, as well as mark in
56 busybox vi.
57
58 config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
59 bool "Enable search and replace cmds"
60 default y
61 depends on BUSYBOX_CONFIG_VI
62 help
63 Select this if you wish to be able to do search and replace in
64 busybox vi.
65
66 config BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH
67 bool "Enable regex in search and replace"
68 default n # Uses GNU regex, which may be unavailable. FIXME
69 depends on BUSYBOX_CONFIG_FEATURE_VI_SEARCH
70 help
71 Use extended regex search.
72
73 config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS
74 bool "Catch signals"
75 default y
76 depends on BUSYBOX_CONFIG_VI
77 help
78 Selecting this option will make busybox vi signal aware. This will
79 make busybox vi support SIGWINCH to deal with Window Changes, catch
80 Ctrl-Z and Ctrl-C and alarms.
81
82 config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD
83 bool "Remember previous cmd and \".\" cmd"
84 default y
85 depends on BUSYBOX_CONFIG_VI
86 help
87 Make busybox vi remember the last command and be able to repeat it.
88
89 config BUSYBOX_CONFIG_FEATURE_VI_READONLY
90 bool "Enable -R option and \"view\" mode"
91 default y
92 depends on BUSYBOX_CONFIG_VI
93 help
94 Enable the read-only command line option, which allows the user to
95 open a file in read-only mode.
96
97 config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS
98 bool "Enable set-able options, ai ic showmatch"
99 default y
100 depends on BUSYBOX_CONFIG_VI
101 help
102 Enable the editor to set some (ai, ic, showmatch) options.
103
104 config BUSYBOX_CONFIG_FEATURE_VI_SET
105 bool "Support for :set"
106 default y
107 depends on BUSYBOX_CONFIG_VI
108 help
109 Support for ":set".
110
111 config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
112 bool "Handle window resize"
113 default y
114 depends on BUSYBOX_CONFIG_VI
115 help
116 Make busybox vi behave nicely with terminals that get resized.
117
118 config BUSYBOX_CONFIG_FEATURE_VI_ASK_TERMINAL
119 bool "Use 'tell me cursor position' ESC sequence to measure window"
120 default y
121 depends on BUSYBOX_CONFIG_VI
122 help
123 If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
124 this option makes vi perform a last-ditch effort to find it:
125 position cursor to 999,999 and ask terminal to report real
126 cursor position using "ESC [ 6 n" escape sequence, then read stdin.
127
128 This is not clean but helps a lot on serial lines and such.
129
130 config BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
131 bool "Optimize cursor movement"
132 default y
133 depends on BUSYBOX_CONFIG_VI
134 help
135 This will make the cursor movement faster, but requires more memory
136 and it makes the applet a tiny bit larger.
137
138 config BUSYBOX_CONFIG_AWK
139 bool "awk"
140 default y
141 help
142 Awk is used as a pattern scanning and processing language. This is
143 the BusyBox implementation of that programming language.
144
145 config BUSYBOX_CONFIG_FEATURE_AWK_LIBM
146 bool "Enable math functions (requires libm)"
147 default y
148 depends on BUSYBOX_CONFIG_AWK
149 help
150 Enable math functions of the Awk programming language.
151 NOTE: This will require libm to be present for linking.
152
153 config BUSYBOX_CONFIG_CMP
154 bool "cmp"
155 default y
156 help
157 cmp is used to compare two files and returns the result
158 to standard output.
159
160 config BUSYBOX_CONFIG_DIFF
161 bool "diff"
162 default n
163 help
164 diff compares two files or directories and outputs the
165 differences between them in a form that can be given to
166 the patch command.
167
168 config BUSYBOX_CONFIG_FEATURE_DIFF_LONG_OPTIONS
169 bool "Enable long options"
170 default n
171 depends on BUSYBOX_CONFIG_DIFF && BUSYBOX_CONFIG_LONG_OPTS
172 help
173 Enable use of long options.
174
175 config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
176 bool "Enable directory support"
177 default n
178 depends on BUSYBOX_CONFIG_DIFF
179 help
180 This option enables support for directory and subdirectory
181 comparison.
182
183 config BUSYBOX_CONFIG_ED
184 bool "ed"
185 default n
186 help
187 The original 1970's Unix text editor, from the days of teletypes.
188 Small, simple, evil. Part of SUSv3. If you're not already using
189 this, you don't need it.
190
191 config BUSYBOX_CONFIG_SED
192 bool "sed"
193 default y
194 help
195 sed is used to perform text transformations on a file
196 or input from a pipeline.
197
198 config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
199 bool "Allow vi and awk to execute shell commands"
200 default y
201 depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
202 help
203 Enables vi and awk features which allows user to execute
204 shell commands (using system() C call).
205
206 endmenu