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