90f9f0086e3b6704aeefe03b0d1aea277bac601f
[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         help
53           Enable use of long options.
54
55 config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
56         bool "Enable directory support"
57         default BUSYBOX_DEFAULT_FEATURE_DIFF_DIR
58         depends on BUSYBOX_CONFIG_DIFF
59         help
60           This option enables support for directory and subdirectory
61           comparison.
62 config BUSYBOX_CONFIG_ED
63         bool "ed"
64         default BUSYBOX_DEFAULT_ED
65         help
66           The original 1970's Unix text editor, from the days of teletypes.
67           Small, simple, evil. Part of SUSv3. If you're not already using
68           this, you don't need it.
69 config BUSYBOX_CONFIG_PATCH
70         bool "patch"
71         default BUSYBOX_DEFAULT_PATCH
72         help
73           Apply a unified diff formatted patch.
74 config BUSYBOX_CONFIG_SED
75         bool "sed"
76         default BUSYBOX_DEFAULT_SED
77         help
78           sed is used to perform text transformations on a file
79           or input from a pipeline.
80 config BUSYBOX_CONFIG_VI
81         bool "vi"
82         default BUSYBOX_DEFAULT_VI
83         help
84           'vi' is a text editor. More specifically, it is the One True
85           text editor <grin>. It does, however, have a rather steep
86           learning curve. If you are not already comfortable with 'vi'
87           you may wish to use something else.
88
89 config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
90         int "Maximum screen width in vi"
91         range 256 16384
92         default BUSYBOX_DEFAULT_FEATURE_VI_MAX_LEN
93         depends on BUSYBOX_CONFIG_VI
94         help
95           Contrary to what you may think, this is not eating much.
96           Make it smaller than 4k only if you are very limited on memory.
97
98 config BUSYBOX_CONFIG_FEATURE_VI_8BIT
99         bool "Allow vi to display 8-bit chars (otherwise shows dots)"
100         default BUSYBOX_DEFAULT_FEATURE_VI_8BIT
101         depends on BUSYBOX_CONFIG_VI
102         help
103           If your terminal can display characters with high bit set,
104           you may want to enable this. Note: vi is not Unicode-capable.
105           If your terminal combines several 8-bit bytes into one character
106           (as in Unicode mode), this will not work properly.
107
108 config BUSYBOX_CONFIG_FEATURE_VI_COLON
109         bool "Enable \":\" colon commands (no \"ex\" mode)"
110         default BUSYBOX_DEFAULT_FEATURE_VI_COLON
111         depends on BUSYBOX_CONFIG_VI
112         help
113           Enable a limited set of colon commands for vi. This does not
114           provide an "ex" mode.
115
116 config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
117         bool "Enable yank/put commands and mark cmds"
118         default BUSYBOX_DEFAULT_FEATURE_VI_YANKMARK
119         depends on BUSYBOX_CONFIG_VI
120         help
121           This will enable you to use yank and put, as well as mark in
122           busybox vi.
123
124 config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
125         bool "Enable search and replace cmds"
126         default BUSYBOX_DEFAULT_FEATURE_VI_SEARCH
127         depends on BUSYBOX_CONFIG_VI
128         help
129           Select this if you wish to be able to do search and replace in
130           busybox vi.
131
132 config BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH
133         bool "Enable regex in search and replace"
134         default BUSYBOX_DEFAULT_FEATURE_VI_REGEX_SEARCH   # Uses GNU regex, which may be unavailable. FIXME
135         depends on BUSYBOX_CONFIG_FEATURE_VI_SEARCH
136         help
137           Use extended regex search.
138
139 config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS
140         bool "Catch signals"
141         default BUSYBOX_DEFAULT_FEATURE_VI_USE_SIGNALS
142         depends on BUSYBOX_CONFIG_VI
143         help
144           Selecting this option will make busybox vi signal aware. This will
145           make busybox vi support SIGWINCH to deal with Window Changes, catch
146           Ctrl-Z and Ctrl-C and alarms.
147
148 config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD
149         bool "Remember previous cmd and \".\" cmd"
150         default BUSYBOX_DEFAULT_FEATURE_VI_DOT_CMD
151         depends on BUSYBOX_CONFIG_VI
152         help
153           Make busybox vi remember the last command and be able to repeat it.
154
155 config BUSYBOX_CONFIG_FEATURE_VI_READONLY
156         bool "Enable -R option and \"view\" mode"
157         default BUSYBOX_DEFAULT_FEATURE_VI_READONLY
158         depends on BUSYBOX_CONFIG_VI
159         help
160           Enable the read-only command line option, which allows the user to
161           open a file in read-only mode.
162
163 config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS
164         bool "Enable set-able options, ai ic showmatch"
165         default BUSYBOX_DEFAULT_FEATURE_VI_SETOPTS
166         depends on BUSYBOX_CONFIG_VI
167         help
168           Enable the editor to set some (ai, ic, showmatch) options.
169
170 config BUSYBOX_CONFIG_FEATURE_VI_SET
171         bool "Support for :set"
172         default BUSYBOX_DEFAULT_FEATURE_VI_SET
173         depends on BUSYBOX_CONFIG_VI
174         help
175           Support for ":set".
176
177 config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
178         bool "Handle window resize"
179         default BUSYBOX_DEFAULT_FEATURE_VI_WIN_RESIZE
180         depends on BUSYBOX_CONFIG_VI
181         help
182           Make busybox vi behave nicely with terminals that get resized.
183
184 config BUSYBOX_CONFIG_FEATURE_VI_ASK_TERMINAL
185         bool "Use 'tell me cursor position' ESC sequence to measure window"
186         default BUSYBOX_DEFAULT_FEATURE_VI_ASK_TERMINAL
187         depends on BUSYBOX_CONFIG_VI
188         help
189           If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
190           this option makes vi perform a last-ditch effort to find it:
191           position cursor to 999,999 and ask terminal to report real
192           cursor position using "ESC [ 6 n" escape sequence, then read stdin.
193
194           This is not clean but helps a lot on serial lines and such.
195
196 config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
197         bool "Allow vi and awk to execute shell commands"
198         default BUSYBOX_DEFAULT_FEATURE_ALLOW_EXEC
199         depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
200         help
201           Enables vi and awk features which allows user to execute
202           shell commands (using system() C call).
203
204 endmenu