aboutsummaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-05 10:17:08 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-05 10:17:08 +0000
commit7d219aab70e6951ab82c27c202cac05016696723 (patch)
tree4c0679bfa391f71aee9b51505a5d3dc8f60a0cf7 /shell/Config.in
parent8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (diff)
downloadbusybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.gz
busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.bz2
busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.zip
build system overhaul
Diffstat (limited to 'shell/Config.in')
-rw-r--r--shell/Config.in148
1 files changed, 74 insertions, 74 deletions
diff --git a/shell/Config.in b/shell/Config.in
index cfe081f2c..0e25bedcb 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -7,36 +7,36 @@ menu "Shells"
7 7
8choice 8choice
9 prompt "Choose your default shell" 9 prompt "Choose your default shell"
10 default CONFIG_FEATURE_SH_IS_NONE 10 default FEATURE_SH_IS_NONE
11 help 11 help
12 Choose a shell. The ash shell is the most bash compatible 12 Choose a shell. The ash shell is the most bash compatible
13 and full featured one. 13 and full featured one.
14 14
15config CONFIG_FEATURE_SH_IS_ASH 15config FEATURE_SH_IS_ASH
16 select CONFIG_ASH 16 select ASH
17 bool "ash" 17 bool "ash"
18 18
19config CONFIG_FEATURE_SH_IS_HUSH 19config FEATURE_SH_IS_HUSH
20 select CONFIG_HUSH 20 select HUSH
21 bool "hush" 21 bool "hush"
22 22
23config CONFIG_FEATURE_SH_IS_LASH 23config FEATURE_SH_IS_LASH
24 select CONFIG_LASH 24 select LASH
25 bool "lash" 25 bool "lash"
26 26
27config CONFIG_FEATURE_SH_IS_MSH 27config FEATURE_SH_IS_MSH
28 select CONFIG_MSH 28 select MSH
29 bool "msh" 29 bool "msh"
30 30
31config CONFIG_FEATURE_SH_IS_NONE 31config FEATURE_SH_IS_NONE
32 bool "none" 32 bool "none"
33 33
34endchoice 34endchoice
35 35
36config CONFIG_ASH 36config ASH
37 bool "ash" 37 bool "ash"
38 default n 38 default n
39 select CONFIG_TEST 39 select TEST
40 help 40 help
41 Tha 'ash' shell adds about 60k in the default configuration and is 41 Tha 'ash' shell adds about 60k in the default configuration and is
42 the most complete and most pedantically correct shell included with 42 the most complete and most pedantically correct shell included with
@@ -45,105 +45,105 @@ config CONFIG_ASH
45 (written by Kenneth Almquist) from NetBSD. 45 (written by Kenneth Almquist) from NetBSD.
46 46
47comment "Ash Shell Options" 47comment "Ash Shell Options"
48 depends on CONFIG_ASH 48 depends on ASH
49 49
50config CONFIG_ASH_JOB_CONTROL 50config ASH_JOB_CONTROL
51 bool "Job control" 51 bool "Job control"
52 default y 52 default y
53 depends on CONFIG_ASH 53 depends on ASH
54 help 54 help
55 Enable job control in the ash shell. 55 Enable job control in the ash shell.
56 56
57config CONFIG_ASH_READ_NCHARS 57config ASH_READ_NCHARS
58 bool "'read -n N' and 'read -s' support" 58 bool "'read -n N' and 'read -s' support"
59 default n 59 default n
60 depends on CONFIG_ASH 60 depends on ASH
61 help 61 help
62 'read -n N' will return a value after N characters have been read. 62 'read -n N' will return a value after N characters have been read.
63 'read -s' will read without echoing the user's input. 63 'read -s' will read without echoing the user's input.
64 64
65config CONFIG_ASH_READ_TIMEOUT 65config ASH_READ_TIMEOUT
66 bool "'read -t S' support." 66 bool "'read -t S' support."
67 default n 67 default n
68 depends on CONFIG_ASH 68 depends on ASH
69 help 69 help
70 'read -t S' will return a value after S seconds have passed. 70 'read -t S' will return a value after S seconds have passed.
71 This implementation will allow fractional seconds, expressed 71 This implementation will allow fractional seconds, expressed
72 as a decimal fraction, e.g. 'read -t 2.5 foo'. 72 as a decimal fraction, e.g. 'read -t 2.5 foo'.
73 73
74config CONFIG_ASH_ALIAS 74config ASH_ALIAS
75 bool "alias support" 75 bool "alias support"
76 default y 76 default y
77 depends on CONFIG_ASH 77 depends on ASH
78 help 78 help
79 Enable alias support in the ash shell. 79 Enable alias support in the ash shell.
80 80
81config CONFIG_ASH_MATH_SUPPORT 81config ASH_MATH_SUPPORT
82 bool "Posix math support" 82 bool "Posix math support"
83 default y 83 default y
84 depends on CONFIG_ASH 84 depends on ASH
85 help 85 help
86 Enable math support in the ash shell. 86 Enable math support in the ash shell.
87 87
88config CONFIG_ASH_MATH_SUPPORT_64 88config ASH_MATH_SUPPORT_64
89 bool "Extend Posix math support to 64 bit" 89 bool "Extend Posix math support to 64 bit"
90 default n 90 default n
91 depends on CONFIG_ASH_MATH_SUPPORT 91 depends on ASH_MATH_SUPPORT
92 help 92 help
93 Enable 64-bit math support in the ash shell. This will make 93 Enable 64-bit math support in the ash shell. This will make
94 the shell slightly larger, but will allow computation with very 94 the shell slightly larger, but will allow computation with very
95 large numbers. 95 large numbers.
96 96
97config CONFIG_ASH_GETOPTS 97config ASH_GETOPTS
98 bool "Builtin getopt to parse positional parameters" 98 bool "Builtin getopt to parse positional parameters"
99 default n 99 default n
100 depends on CONFIG_ASH 100 depends on ASH
101 help 101 help
102 Enable getopts builtin in the ash shell. 102 Enable getopts builtin in the ash shell.
103 103
104config CONFIG_ASH_BUILTIN_ECHO 104config ASH_BUILTIN_ECHO
105 bool "Builtin version of 'echo'" 105 bool "Builtin version of 'echo'"
106 default y 106 default y
107 select CONFIG_ECHO 107 select ECHO
108 depends on CONFIG_ASH 108 depends on ASH
109 help 109 help
110 Enable support for echo, built in to ash. 110 Enable support for echo, built in to ash.
111 111
112config CONFIG_ASH_BUILTIN_TEST 112config ASH_BUILTIN_TEST
113 bool "Builtin version of 'test'" 113 bool "Builtin version of 'test'"
114 default y 114 default y
115 select CONFIG_TEST 115 select TEST
116 depends on CONFIG_ASH 116 depends on ASH
117 help 117 help
118 Enable support for test, built in to ash. 118 Enable support for test, built in to ash.
119 119
120config CONFIG_ASH_CMDCMD 120config ASH_CMDCMD
121 bool "'command' command to override shell builtins" 121 bool "'command' command to override shell builtins"
122 default n 122 default n
123 depends on CONFIG_ASH 123 depends on ASH
124 help 124 help
125 Enable support for the ash 'command' builtin, which allows 125 Enable support for the ash 'command' builtin, which allows
126 you to run the specified command with the specified arguments, 126 you to run the specified command with the specified arguments,
127 even when there is an ash builtin command with the same name. 127 even when there is an ash builtin command with the same name.
128 128
129config CONFIG_ASH_MAIL 129config ASH_MAIL
130 bool "Check for new mail on interactive shells" 130 bool "Check for new mail on interactive shells"
131 default y 131 default y
132 depends on CONFIG_ASH 132 depends on ASH
133 help 133 help
134 Enable "check for new mail" in the ash shell. 134 Enable "check for new mail" in the ash shell.
135 135
136config CONFIG_ASH_OPTIMIZE_FOR_SIZE 136config ASH_OPTIMIZE_FOR_SIZE
137 bool "Optimize for size instead of speed" 137 bool "Optimize for size instead of speed"
138 default y 138 default y
139 depends on CONFIG_ASH 139 depends on ASH
140 help 140 help
141 Compile ash for reduced size at the price of speed. 141 Compile ash for reduced size at the price of speed.
142 142
143config CONFIG_ASH_RANDOM_SUPPORT 143config ASH_RANDOM_SUPPORT
144 bool "Pseudorandom generator and variable $RANDOM" 144 bool "Pseudorandom generator and variable $RANDOM"
145 default n 145 default n
146 depends on CONFIG_ASH 146 depends on ASH
147 help 147 help
148 Enable pseudorandom generator and dynamic variable "$RANDOM". 148 Enable pseudorandom generator and dynamic variable "$RANDOM".
149 Each read of "$RANDOM" will generate a new pseudorandom value. 149 Each read of "$RANDOM" will generate a new pseudorandom value.
@@ -151,21 +151,21 @@ config CONFIG_ASH_RANDOM_SUPPORT
151 After "unset RANDOM" then generator will switch off and this 151 After "unset RANDOM" then generator will switch off and this
152 variable will no longer have special treatment. 152 variable will no longer have special treatment.
153 153
154config CONFIG_ASH_EXPAND_PRMT 154config ASH_EXPAND_PRMT
155 bool "Expand prompt string" 155 bool "Expand prompt string"
156 default n 156 default n
157 depends on CONFIG_ASH 157 depends on ASH
158 help 158 help
159 "PS#" may be contain volatile content, such as backquote commands. 159 "PS#" may be contain volatile content, such as backquote commands.
160 This option recreates the prompt string from the environment 160 This option recreates the prompt string from the environment
161 variable each time it is displayed. 161 variable each time it is displayed.
162 162
163config CONFIG_HUSH 163config HUSH
164 bool "hush" 164 bool "hush"
165 default n 165 default n
166 select CONFIG_TRUE 166 select TRUE
167 select CONFIG_FALSE 167 select FALSE
168 select CONFIG_TEST 168 select TEST
169 help 169 help
170 hush is a very small shell (just 18k) and it has fairly complete 170 hush is a very small shell (just 18k) and it has fairly complete
171 Bourne shell grammar. It even handles all the normal flow control 171 Bourne shell grammar. It even handles all the normal flow control
@@ -177,12 +177,12 @@ config CONFIG_HUSH
177 expansion, &> and >& redirection of stdout+stderr, etc. 177 expansion, &> and >& redirection of stdout+stderr, etc.
178 178
179 179
180config CONFIG_LASH 180config LASH
181 bool "lash" 181 bool "lash"
182 default n 182 default n
183 select CONFIG_TRUE 183 select TRUE
184 select CONFIG_FALSE 184 select FALSE
185 select CONFIG_TEST 185 select TEST
186 help 186 help
187 lash is the very smallest shell (adds just 10k) and it is quite 187 lash is the very smallest shell (adds just 10k) and it is quite
188 usable as a command prompt, but it is not suitable for any but the 188 usable as a command prompt, but it is not suitable for any but the
@@ -192,12 +192,12 @@ config CONFIG_LASH
192 command editing makes it a very nice lightweight command prompt. 192 command editing makes it a very nice lightweight command prompt.
193 193
194 194
195config CONFIG_MSH 195config MSH
196 bool "msh" 196 bool "msh"
197 default n 197 default n
198 select CONFIG_TRUE 198 select TRUE
199 select CONFIG_FALSE 199 select FALSE
200 select CONFIG_TEST 200 select TEST
201 help 201 help
202 The minix shell (adds just 30k) is quite complete and handles things 202 The minix shell (adds just 30k) is quite complete and handles things
203 like for/do/done, case/esac and all the things you expect a Bourne 203 like for/do/done, case/esac and all the things you expect a Bourne
@@ -207,19 +207,19 @@ config CONFIG_MSH
207 It also uses only vfork, so it can be used on uClinux systems. 207 It also uses only vfork, so it can be used on uClinux systems.
208 208
209comment "Bourne Shell Options" 209comment "Bourne Shell Options"
210 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH 210 depends on MSH || LASH || HUSH || ASH
211 211
212config CONFIG_FEATURE_SH_EXTRA_QUIET 212config FEATURE_SH_EXTRA_QUIET
213 bool "Hide message on interactive shell startup" 213 bool "Hide message on interactive shell startup"
214 default n 214 default n
215 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH 215 depends on MSH || LASH || HUSH || ASH
216 help 216 help
217 Remove the busybox introduction when starting a shell. 217 Remove the busybox introduction when starting a shell.
218 218
219config CONFIG_FEATURE_SH_STANDALONE_SHELL 219config FEATURE_SH_STANDALONE_SHELL
220 bool "Standalone shell" 220 bool "Standalone shell"
221 default n 221 default n
222 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH 222 depends on MSH || LASH || HUSH || ASH
223 help 223 help
224 This option causes the selected busybox shell to use busybox applets 224 This option causes the selected busybox shell to use busybox applets
225 in preference to executables in the PATH whenever possible. For 225 in preference to executables in the PATH whenever possible. For
@@ -240,53 +240,53 @@ config CONFIG_FEATURE_SH_STANDALONE_SHELL
240 that exact location with that exact name, this option will not work at 240 that exact location with that exact name, this option will not work at
241 all. 241 all.
242 242
243config CONFIG_FEATURE_COMMAND_EDITING 243config FEATURE_COMMAND_EDITING
244 bool "Command line editing" 244 bool "Command line editing"
245 default n 245 default n
246 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH 246 depends on MSH || LASH || HUSH || ASH
247 help 247 help
248 Enable command editing in shell. 248 Enable command editing in shell.
249 249
250config CONFIG_FEATURE_COMMAND_EDITING_VI 250config FEATURE_COMMAND_EDITING_VI
251 bool "vi-style line editing commands" 251 bool "vi-style line editing commands"
252 default n 252 default n
253 depends on CONFIG_FEATURE_COMMAND_EDITING 253 depends on FEATURE_COMMAND_EDITING
254 help 254 help
255 Enable vi-style line editing in the shell. This mode can be 255 Enable vi-style line editing in the shell. This mode can be
256 turned on and off with "set -o vi" and "set +o vi". 256 turned on and off with "set -o vi" and "set +o vi".
257 257
258config CONFIG_FEATURE_COMMAND_HISTORY 258config FEATURE_COMMAND_HISTORY
259 int "History size" 259 int "History size"
260 default 15 260 default 15
261 depends on CONFIG_FEATURE_COMMAND_EDITING 261 depends on FEATURE_COMMAND_EDITING
262 help 262 help
263 Specify command history size in shell. 263 Specify command history size in shell.
264 264
265config CONFIG_FEATURE_COMMAND_SAVEHISTORY 265config FEATURE_COMMAND_SAVEHISTORY
266 bool "History saving" 266 bool "History saving"
267 default n 267 default n
268 depends on CONFIG_ASH && CONFIG_FEATURE_COMMAND_EDITING 268 depends on ASH && FEATURE_COMMAND_EDITING
269 help 269 help
270 Enable history saving in ash shell. 270 Enable history saving in ash shell.
271 271
272config CONFIG_FEATURE_COMMAND_TAB_COMPLETION 272config FEATURE_COMMAND_TAB_COMPLETION
273 bool "Tab completion" 273 bool "Tab completion"
274 default n 274 default n
275 depends on CONFIG_FEATURE_COMMAND_EDITING 275 depends on FEATURE_COMMAND_EDITING
276 help 276 help
277 Enable tab completion in shell. 277 Enable tab completion in shell.
278 278
279config CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION 279config FEATURE_COMMAND_USERNAME_COMPLETION
280 bool "Username completion" 280 bool "Username completion"
281 default n 281 default n
282 depends on CONFIG_FEATURE_COMMAND_TAB_COMPLETION 282 depends on FEATURE_COMMAND_TAB_COMPLETION
283 help 283 help
284 Enable username completion in shell. 284 Enable username completion in shell.
285 285
286config CONFIG_FEATURE_SH_FANCY_PROMPT 286config FEATURE_SH_FANCY_PROMPT
287 bool "Fancy shell prompts" 287 bool "Fancy shell prompts"
288 default n 288 default n
289 depends on CONFIG_FEATURE_COMMAND_EDITING 289 depends on FEATURE_COMMAND_EDITING
290 help 290 help
291 Setting this option allows for prompts to use things like \w and 291 Setting this option allows for prompts to use things like \w and
292 \$ and also using escape codes. 292 \$ and also using escape codes.