blob: c1e9099441da2a562a5d8fc8fbc8a53e01073952 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
Glenn L McGrathfdbbb042002-12-09 11:10:40 +00006menu "Another Bourne-like Shell"
Eric Andersenc9f20d92002-12-05 08:41:41 +00007
8choice
9 prompt "Choose your default shell"
Eric Andersena6b90512002-12-06 21:49:59 +000010 default "none"
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 help
Eric Andersene5642112003-07-14 19:37:08 +000012 Choose a shell. The ash shell is the most bash compatible
13 and full featured.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
15config CONFIG_FEATURE_SH_IS_ASH
16 bool "ash"
17
18config CONFIG_FEATURE_SH_IS_HUSH
19 bool "hush"
20
21config CONFIG_FEATURE_SH_IS_LASH
22 bool "lash"
23
24config CONFIG_FEATURE_SH_IS_MSH
25 bool "msh"
26
Eric Andersena6b90512002-12-06 21:49:59 +000027config CONFIG_FEATURE_SH_IS_NONE
28 bool "none"
29
Eric Andersenc9f20d92002-12-05 08:41:41 +000030endchoice
31
32if CONFIG_FEATURE_SH_IS_ASH
33 config CONFIG_ASH
34 default y
35
36 comment "ash (forced enabled as default shell)"
37endif
38
39if !CONFIG_FEATURE_SH_IS_ASH
40config CONFIG_ASH
41 bool "ash"
42 default y
43 help
Eric Andersene5642112003-07-14 19:37:08 +000044 Make sh a link to ash.
Eric Andersenc9f20d92002-12-05 08:41:41 +000045endif
46
47comment "Ash Shell Options"
48 depends on CONFIG_ASH
49
50config CONFIG_ASH_JOB_CONTROL
51 bool " Enable Job control"
52 default y
53 depends on CONFIG_ASH
54 help
Eric Andersene5642112003-07-14 19:37:08 +000055 Enable job control in the ash shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +000056
57config CONFIG_ASH_ALIAS
58 bool " Enable alias support"
59 default y
60 depends on CONFIG_ASH
61 help
Eric Andersene5642112003-07-14 19:37:08 +000062 Enable alias support in the ash shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +000063
64config CONFIG_ASH_MATH_SUPPORT
65 bool " Enable Posix math support"
66 default y
67 depends on CONFIG_ASH
68 help
Eric Andersene5642112003-07-14 19:37:08 +000069 Enable math support in the ash shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +000070
71config CONFIG_ASH_GETOPTS
72 bool " Enable getopt builtin to parse positional parameters"
73 default n
74 depends on CONFIG_ASH
75 help
Eric Andersene5642112003-07-14 19:37:08 +000076 Enable builtin getopt in the ash shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +000077
78config CONFIG_ASH_CMDCMD
79 bool " Enable cmdcmd to override shell builtins"
80 default n
81 depends on CONFIG_ASH
82 help
Eric Andersen3857a182003-07-22 10:14:32 +000083 Enable support for the ash 'command' builtin, which allows
84 you to run the specified command with the specified arguments,
85 even when there is an ash builtin command with the same name.
Eric Andersenc9f20d92002-12-05 08:41:41 +000086
87config CONFIG_ASH_MAIL
88 bool " Check for new mail on interactive shells"
89 default y
90 depends on CONFIG_ASH
91 help
Eric Andersene5642112003-07-14 19:37:08 +000092 Enable "check for new mail" in the ash shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +000093
94config CONFIG_ASH_OPTIMIZE_FOR_SIZE
95 bool " Optimize for size instead of speed"
96 default y
97 depends on CONFIG_ASH
98 help
Eric Andersene5642112003-07-14 19:37:08 +000099 Compile ash for reduced size at price of speed.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000100
101if CONFIG_FEATURE_SH_IS_HUSH
102 config CONFIG_HUSH
103 default y
104
105 comment "hush (forced enabled as default shell)"
106endif
107
108if !CONFIG_FEATURE_SH_IS_HUSH
109config CONFIG_HUSH
110 bool "hush"
111 default n
112 help
Eric Andersene5642112003-07-14 19:37:08 +0000113 Make sh a link to hush.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000114endif
115
116if CONFIG_FEATURE_SH_IS_LASH
117 config CONFIG_LASH
118 default y
119
120 comment "lash (forced enabled as default shell)"
121endif
122
123if !CONFIG_FEATURE_SH_IS_LASH
124config CONFIG_LASH
125 bool "lash"
126 default n
127 help
Eric Andersene5642112003-07-14 19:37:08 +0000128 Make sh a link to lash.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000129endif
130
131if CONFIG_FEATURE_SH_IS_MSH
132 config CONFIG_MSH
133 default y
134
135 comment "msh (forced enabled as default shell)"
136endif
137
138if !CONFIG_FEATURE_SH_IS_MSH
139config CONFIG_MSH
140 bool "msh"
141 default n
142 help
Eric Andersene5642112003-07-14 19:37:08 +0000143 Make sh a link to msh.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000144endif
145
146
147comment "Bourne Shell Options"
148 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
149
150config CONFIG_FEATURE_COMMAND_EDITING
151 bool "command line editing"
152 default n
153 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
154 help
Eric Andersene5642112003-07-14 19:37:08 +0000155 Enable command editing in shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000156
Glenn L McGrathfdbbb042002-12-09 11:10:40 +0000157config CONFIG_FEATURE_COMMAND_SAVEHISTORY
158 bool " history saving"
159 default n
160 depends on CONFIG_ASH
161 help
Eric Andersene5642112003-07-14 19:37:08 +0000162 Enable history saving in ash shell.
Glenn L McGrathfdbbb042002-12-09 11:10:40 +0000163
Eric Andersenc9f20d92002-12-05 08:41:41 +0000164config CONFIG_FEATURE_COMMAND_TAB_COMPLETION
165 bool "tab completion"
166 default n
167 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
168 help
Eric Andersene5642112003-07-14 19:37:08 +0000169 Enable tab completion in shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000170
171config CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION
172 bool "username completion"
173 default n
174 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
175 help
Eric Andersene5642112003-07-14 19:37:08 +0000176 Enable username completion in shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000177
178config CONFIG_FEATURE_COMMAND_HISTORY
179 int "history size"
180 default 15
181 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
182 help
Eric Andersene5642112003-07-14 19:37:08 +0000183 Specify command history size in shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000184
185config CONFIG_FEATURE_SH_STANDALONE_SHELL
186 bool "Standalone shell"
187 default n
188 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
189 help
Eric Andersene5642112003-07-14 19:37:08 +0000190 Have all the busybox commands built into the shell, creating
191 a standalone shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000192
193config CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
194 bool "Standalone shell -- applets always win"
195 default n
196 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
197 help
Eric Andersene5642112003-07-14 19:37:08 +0000198 Use a command builtin to the shell over one with the same name,
199 that may be on the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000200
201config CONFIG_FEATURE_SH_FANCY_PROMPT
202 bool "Fancy shell prompts"
203 default n
204 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
205 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000206 Setting this option allows for prompts to use things like \w and
207 \$ and also using escape codes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000208
209config CONFIG_FEATURE_SH_EXTRA_QUIET
210 bool "Hide message on interactive shell startup"
211 default n
212 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
213 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000214 Remove the busybox introduction when starting a shell.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000215
216endmenu
217