Patch from Terje Kvernes adding quite a lot of missing documentation
[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           Please submit a patch to add help text for this item.
84
85 config CONFIG_ASH_MAIL
86         bool "  Check for new mail on interactive shells"
87         default y
88         depends on CONFIG_ASH
89         help
90           Enable "check for new mail" in the ash shell.
91
92 config CONFIG_ASH_OPTIMIZE_FOR_SIZE
93         bool "  Optimize for size instead of speed"
94         default y
95         depends on CONFIG_ASH
96         help
97           Compile ash for reduced size at price of speed.
98
99 if CONFIG_FEATURE_SH_IS_HUSH
100         config CONFIG_HUSH
101         default y
102
103         comment "hush (forced enabled as default shell)"
104 endif
105         
106 if !CONFIG_FEATURE_SH_IS_HUSH
107 config CONFIG_HUSH
108         bool "hush"
109         default n
110         help
111           Make sh a link to hush.
112 endif
113
114 if CONFIG_FEATURE_SH_IS_LASH
115         config CONFIG_LASH
116         default y
117
118         comment "lash (forced enabled as default shell)"
119 endif
120
121 if !CONFIG_FEATURE_SH_IS_LASH
122 config CONFIG_LASH
123         bool "lash"
124         default n
125         help
126           Make sh a link to lash.
127 endif
128
129 if CONFIG_FEATURE_SH_IS_MSH
130         config CONFIG_MSH
131         default y
132
133         comment "msh (forced enabled as default shell)"
134 endif
135
136 if !CONFIG_FEATURE_SH_IS_MSH
137 config CONFIG_MSH
138         bool "msh"
139         default n
140         help
141           Make sh a link to msh.
142 endif
143
144
145 comment "Bourne Shell Options"
146         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
147
148 config CONFIG_FEATURE_COMMAND_EDITING
149         bool "command line editing"
150         default n
151         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
152         help
153           Enable command editing in shell.
154
155 config CONFIG_FEATURE_COMMAND_SAVEHISTORY
156         bool "  history saving"
157         default n
158         depends on CONFIG_ASH
159         help
160           Enable history saving in ash shell.
161
162 config CONFIG_FEATURE_COMMAND_TAB_COMPLETION
163         bool "tab completion"
164         default n
165         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
166         help
167           Enable tab completion in shell.
168
169 config CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION
170         bool "username completion"
171         default n
172         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
173         help
174           Enable username completion in shell.
175
176 config CONFIG_FEATURE_COMMAND_HISTORY
177         int "history size"
178         default 15
179         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
180         help
181           Specify command history size in shell.
182
183 config CONFIG_FEATURE_SH_STANDALONE_SHELL
184         bool "Standalone shell"
185         default n
186         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
187         help
188           Have all the busybox commands built into the shell, creating
189           a standalone shell.
190
191 config CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
192         bool "Standalone shell -- applets always win"
193         default n
194         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
195         help
196           Use a command builtin to the shell over one with the same name,
197           that may be on the system.
198
199 config CONFIG_FEATURE_SH_FANCY_PROMPT
200         bool "Fancy shell prompts"
201         default n
202         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
203         help
204           Setting this option allows for prompts to use things like \w and
205           \$ and also using escape codes.
206
207 config CONFIG_FEATURE_SH_EXTRA_QUIET
208         bool "Hide message on interactive shell startup"
209         default n
210         depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH
211         help
212           Remove the busybox introduction when starting a shell.
213
214 endmenu
215