Move start_stop_daemon to debianutils.
[oweals/busybox.git] / shell / 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 "Another Bourne-like Shell"
7
8 choice
9         prompt "Choose your default shell"
10         default "none"
11         help
12           Choose a shell. The ash shell is the most bash compatible
13           and full featured.
14
15 config CONFIG_FEATURE_SH_IS_ASH
16         bool "ash"
17
18 config CONFIG_FEATURE_SH_IS_HUSH
19         bool "hush"
20
21 config CONFIG_FEATURE_SH_IS_LASH
22         bool "lash"
23
24 config CONFIG_FEATURE_SH_IS_MSH
25         bool "msh"
26
27 config CONFIG_FEATURE_SH_IS_NONE
28         bool "none"
29
30 endchoice
31
32 if CONFIG_FEATURE_SH_IS_ASH
33         config CONFIG_ASH
34         default y
35
36         comment "ash (forced enabled as default shell)"
37 endif
38         
39 if !CONFIG_FEATURE_SH_IS_ASH
40 config CONFIG_ASH
41         bool "ash"
42         default y
43         help
44           Make sh a link to ash.
45 endif
46
47 comment "Ash Shell Options"
48         depends on CONFIG_ASH
49
50 config CONFIG_ASH_JOB_CONTROL
51         bool "  Enable Job control"
52         default y
53         depends on CONFIG_ASH
54         help
55           Enable job control in the ash shell.
56
57 config CONFIG_ASH_ALIAS
58         bool "  Enable alias support"
59         default y
60         depends on CONFIG_ASH
61         help
62           Enable alias support in the ash shell.
63
64 config CONFIG_ASH_MATH_SUPPORT
65         bool "  Enable Posix math support"
66         default y
67         depends on CONFIG_ASH
68         help
69           Enable math support in the ash shell.
70
71 config CONFIG_ASH_GETOPTS
72         bool "  Enable getopt builtin to parse positional parameters"
73         default n
74         depends on CONFIG_ASH
75         help
76           Enable builtin getopt in the ash shell.
77
78 config CONFIG_ASH_CMDCMD
79         bool "  Enable cmdcmd to override shell builtins"
80         default n
81         depends on CONFIG_ASH
82         help
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.
86
87 config CONFIG_ASH_MAIL
88         bool "  Check for new mail on interactive shells"
89         default y
90         depends on CONFIG_ASH
91         help
92           Enable "check for new mail" in the ash shell.
93
94 config CONFIG_ASH_OPTIMIZE_FOR_SIZE
95         bool "  Optimize for size instead of speed"
96         default y
97         depends on CONFIG_ASH
98         help
99           Compile ash for reduced size at price of speed.
100
101 if CONFIG_FEATURE_SH_IS_HUSH
102         config CONFIG_HUSH
103         default y
104
105         comment "hush (forced enabled as default shell)"
106 endif
107         
108 if !CONFIG_FEATURE_SH_IS_HUSH
109 config CONFIG_HUSH
110         bool "hush"
111         default n
112         help
113           Make sh a link to hush.
114 endif
115
116 if CONFIG_FEATURE_SH_IS_LASH
117         config CONFIG_LASH
118         default y
119
120         comment "lash (forced enabled as default shell)"
121 endif
122
123 if !CONFIG_FEATURE_SH_IS_LASH
124 config CONFIG_LASH
125         bool "lash"
126         default n
127         help
128           Make sh a link to lash.
129 endif
130
131 if CONFIG_FEATURE_SH_IS_MSH
132         config CONFIG_MSH
133         default y
134
135         comment "msh (forced enabled as default shell)"
136 endif
137
138 if !CONFIG_FEATURE_SH_IS_MSH
139 config CONFIG_MSH
140         bool "msh"
141         default n
142         help
143           Make sh a link to msh.
144 endif
145
146
147 comment "Bourne Shell Options"
148         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
149
150 config 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
155           Enable command editing in shell.
156
157 config CONFIG_FEATURE_COMMAND_SAVEHISTORY
158         bool "  history saving"
159         default n
160         depends on CONFIG_ASH
161         help
162           Enable history saving in ash shell.
163
164 config 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
169           Enable tab completion in shell.
170
171 config 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
176           Enable username completion in shell.
177
178 config CONFIG_FEATURE_COMMAND_HISTORY
179         int "history size"
180         default 15
181         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
182         help
183           Specify command history size in shell.
184
185 config 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
190           Have all the busybox commands built into the shell, creating
191           a standalone shell.
192
193 config 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
198           Use a command builtin to the shell over one with the same name,
199           that may be on the system.
200
201 config 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
206           Setting this option allows for prompts to use things like \w and
207           \$ and also using escape codes.
208
209 config 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
214           Remove the busybox introduction when starting a shell.
215
216 endmenu
217