6d1f6f2bc4298f511f9e3340616dfde6b747739f
[openwrt-10.03/.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 line length in vi"
101         range 256 16384
102         default 1024
103         depends on BUSYBOX_CONFIG_VI
104         help
105           vi uses on-stack buffers for intermediate line buffers.
106           You may want to decrease this parameter if your target machine
107           benefits from smaller stack usage.
108
109 config BUSYBOX_CONFIG_FEATURE_VI_COLON
110         bool "Enable \":\" colon commands (no \"ex\" mode)"
111         default y
112         depends on BUSYBOX_CONFIG_VI
113         help
114           Enable a limited set of colon commands for vi.  This does not
115           provide an "ex" mode.
116
117 config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
118         bool "Enable yank/put commands and mark cmds"
119         default y
120         depends on BUSYBOX_CONFIG_VI
121         help
122           This will enable you to use yank and put, as well as mark in
123           busybox vi.
124
125 config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
126         bool "Enable search and replace cmds"
127         default y
128         depends on BUSYBOX_CONFIG_VI
129         help
130           Select this if you wish to be able to do search and replace in
131           busybox vi.
132
133 config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS
134         bool "Catch signals"
135         default y
136         depends on BUSYBOX_CONFIG_VI
137         help
138           Selecting this option will make busybox vi signal aware.  This will
139           make busybox vi support SIGWINCH to deal with Window Changes, catch
140           Ctrl-Z and Ctrl-C and alarms.
141
142 config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD
143         bool "Remember previous cmd and \".\" cmd"
144         default y
145         depends on BUSYBOX_CONFIG_VI
146         help
147           Make busybox vi remember the last command and be able to repeat it.
148
149 config BUSYBOX_CONFIG_FEATURE_VI_READONLY
150         bool "Enable -R option and \"view\" mode"
151         default y
152         depends on BUSYBOX_CONFIG_VI
153         help
154           Enable the read-only command line option, which allows the user to
155           open a file in read-only mode.
156
157 config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS
158         bool "Enable set-able options, ai ic showmatch"
159         default y
160         depends on BUSYBOX_CONFIG_VI
161         help
162           Enable the editor to set some (ai, ic, showmatch) options.
163
164 config BUSYBOX_CONFIG_FEATURE_VI_SET
165         bool "Support for :set"
166         default y
167         depends on BUSYBOX_CONFIG_VI
168         help
169           Support for ":set".
170
171 config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
172         bool "Handle window resize"
173         default y
174         depends on BUSYBOX_CONFIG_VI
175         help
176           Make busybox vi behave nicely with terminals that get resized.
177
178 config BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
179         bool "Optimize cursor movement"
180         default y
181         depends on BUSYBOX_CONFIG_VI
182         help
183           This will make the cursor movement faster, but requires more memory
184           and it makes the applet a tiny bit larger.
185
186 config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
187         bool "Allow vi and awk to execute shell commands"
188         default y
189         depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
190         help
191           Enables vi and awk features which allows user to execute
192           shell commands (using system() C call).
193
194 endmenu