2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Another Bourne-like Shell"
9 prompt "Choose your default shell"
12 Choose a shell. The ash shell is the most bash compatible
15 config CONFIG_FEATURE_SH_IS_ASH
18 config CONFIG_FEATURE_SH_IS_HUSH
21 config CONFIG_FEATURE_SH_IS_LASH
24 config CONFIG_FEATURE_SH_IS_MSH
27 config CONFIG_FEATURE_SH_IS_NONE
32 if CONFIG_FEATURE_SH_IS_ASH
36 comment "ash (forced enabled as default shell)"
39 if !CONFIG_FEATURE_SH_IS_ASH
44 Make sh a link to ash.
47 comment "Ash Shell Options"
50 config CONFIG_ASH_JOB_CONTROL
51 bool " Enable Job control"
55 Enable job control in the ash shell.
57 config CONFIG_ASH_ALIAS
58 bool " Enable alias support"
62 Enable alias support in the ash shell.
64 config CONFIG_ASH_MATH_SUPPORT
65 bool " Enable Posix math support"
69 Enable math support in the ash shell.
71 config CONFIG_ASH_GETOPTS
72 bool " Enable getopt builtin to parse positional parameters"
76 Enable builtin getopt in the ash shell.
78 config CONFIG_ASH_CMDCMD
79 bool " Enable cmdcmd to override shell builtins"
83 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.
87 config CONFIG_ASH_MAIL
88 bool " Check for new mail on interactive shells"
92 Enable "check for new mail" in the ash shell.
94 config CONFIG_ASH_OPTIMIZE_FOR_SIZE
95 bool " Optimize for size instead of speed"
99 Compile ash for reduced size at price of speed.
101 if CONFIG_FEATURE_SH_IS_HUSH
105 comment "hush (forced enabled as default shell)"
108 if !CONFIG_FEATURE_SH_IS_HUSH
113 Make sh a link to hush.
116 if CONFIG_FEATURE_SH_IS_LASH
120 comment "lash (forced enabled as default shell)"
123 if !CONFIG_FEATURE_SH_IS_LASH
128 Make sh a link to lash.
131 if CONFIG_FEATURE_SH_IS_MSH
135 comment "msh (forced enabled as default shell)"
138 if !CONFIG_FEATURE_SH_IS_MSH
143 Make sh a link to msh.
147 comment "Bourne Shell Options"
148 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
150 config CONFIG_FEATURE_COMMAND_EDITING
151 bool "command line editing"
153 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
155 Enable command editing in shell.
157 config CONFIG_FEATURE_COMMAND_SAVEHISTORY
158 bool " history saving"
160 depends on CONFIG_ASH
162 Enable history saving in ash shell.
164 config CONFIG_FEATURE_COMMAND_TAB_COMPLETION
165 bool "tab completion"
167 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
169 Enable tab completion in shell.
171 config CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION
172 bool "username completion"
174 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
176 Enable username completion in shell.
178 config CONFIG_FEATURE_COMMAND_HISTORY
181 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
183 Specify command history size in shell.
185 config CONFIG_FEATURE_SH_STANDALONE_SHELL
186 bool "Standalone shell"
188 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
190 Have all the busybox commands built into the shell, creating
193 config CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
194 bool "Standalone shell -- applets always win"
196 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
198 Use a command builtin to the shell over one with the same name,
199 that may be on the system.
201 config CONFIG_FEATURE_SH_FANCY_PROMPT
202 bool "Fancy shell prompts"
204 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
206 Setting this option allows for prompts to use things like \w and
207 \$ and also using escape codes.
209 config CONFIG_FEATURE_SH_EXTRA_QUIET
210 bool "Hide message on interactive shell startup"
212 depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
214 Remove the busybox introduction when starting a shell.