aboutsummaryrefslogtreecommitdiff
path: root/shell/Config.src
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Config.src')
-rw-r--r--shell/Config.src106
1 files changed, 0 insertions, 106 deletions
diff --git a/shell/Config.src b/shell/Config.src
index 800911966..f415a5fa6 100644
--- a/shell/Config.src
+++ b/shell/Config.src
@@ -110,112 +110,6 @@ config ASH_EXPAND_PRMT
110 This option recreates the prompt string from the environment 110 This option recreates the prompt string from the environment
111 variable each time it is displayed. 111 variable each time it is displayed.
112 112
113config HUSH
114 bool "hush"
115 default y
116 help
117 hush is a small shell (22k). It handles the normal flow control
118 constructs such as if/then/elif/else/fi, for/in/do/done, while loops,
119 case/esac. Redirections, here documents, $((arithmetic))
120 and functions are supported.
121
122 It will compile and work on no-mmu systems.
123
124 It does not handle select, aliases, brace expansion,
125 tilde expansion, &>file and >&file redirection of stdout+stderr.
126
127config HUSH_BASH_COMPAT
128 bool "bash-compatible extensions"
129 default y
130 depends on HUSH
131 help
132 Enable bash-compatible extensions.
133
134config HUSH_HELP
135 bool "help builtin"
136 default y
137 depends on HUSH
138 help
139 Enable help builtin in hush. Code size + ~1 kbyte.
140
141config HUSH_INTERACTIVE
142 bool "Interactive mode"
143 default y
144 depends on HUSH
145 help
146 Enable interactive mode (prompt and command editing).
147 Without this, hush simply reads and executes commands
148 from stdin just like a shell script from a file.
149 No prompt, no PS1/PS2 magic shell variables.
150
151config HUSH_JOB
152 bool "Job control"
153 default y
154 depends on HUSH_INTERACTIVE
155 help
156 Enable job control: Ctrl-Z backgrounds, Ctrl-C interrupts current
157 command (not entire shell), fg/bg builtins work. Without this option,
158 "cmd &" still works by simply spawning a process and immediately
159 prompting for next command (or executing next command in a script),
160 but no separate process group is formed.
161
162config HUSH_TICK
163 bool "Process substitution"
164 default y
165 depends on HUSH
166 help
167 Enable process substitution `command` and $(command) in hush.
168
169config HUSH_IF
170 bool "Support if/then/elif/else/fi"
171 default y
172 depends on HUSH
173 help
174 Enable if/then/elif/else/fi in hush.
175
176config HUSH_LOOPS
177 bool "Support for, while and until loops"
178 default y
179 depends on HUSH
180 help
181 Enable for, while and until loops in hush.
182
183config HUSH_CASE
184 bool "Support case ... esac statement"
185 default y
186 depends on HUSH
187 help
188 Enable case ... esac statement in hush. +400 bytes.
189
190config HUSH_FUNCTIONS
191 bool "Support funcname() { commands; } syntax"
192 default y
193 depends on HUSH
194 help
195 Enable support for shell functions in hush. +800 bytes.
196
197config HUSH_LOCAL
198 bool "Support local builtin"
199 default y
200 depends on HUSH_FUNCTIONS
201 help
202 Enable support for local variables in functions.
203
204config HUSH_EXPORT_N
205 bool "Support export '-n' option"
206 default y
207 depends on HUSH
208 help
209 Enable support for export '-n' option in hush. It is a bash extension.
210
211config HUSH_RANDOM_SUPPORT
212 bool "Pseudorandom generator and $RANDOM variable"
213 default y
214 depends on HUSH
215 help
216 Enable pseudorandom generator and dynamic variable "$RANDOM".
217 Each read of "$RANDOM" will generate a new pseudorandom value.
218
219 113
220choice 114choice
221 prompt "Choose which shell is aliased to 'sh' name" 115 prompt "Choose which shell is aliased to 'sh' name"