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