summaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-28 16:48:27 +0000
committerDenis Vlasenko2007-04-28 16:48:27 +0000
commite3f2f8989139f00e94473882366bd665d4fcc800 (patch)
treec837d9d68385cb55f96f428e0e02de16f1fb9031 /shell/Config.in
parentb81b3df1fa387fa5c6a3fe577969285858f494ce (diff)
downloadbusybox-e3f2f8989139f00e94473882366bd665d4fcc800.zip
busybox-e3f2f8989139f00e94473882366bd665d4fcc800.tar.gz
hush: make job control and interactiveness configurable, part 2
Diffstat (limited to 'shell/Config.in')
-rw-r--r--shell/Config.in18
1 files changed, 15 insertions, 3 deletions
diff --git a/shell/Config.in b/shell/Config.in
index 81289e4..f3726e3 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -181,9 +181,21 @@ config HUSH_INTERACTIVE
default y
depends on HUSH
help
- Enable interactive mode (Ctrl-Z, Ctrl-C, command editing)
- in the hush shell. Without this, hush reads and executes
- stdin just like a shell script from the file.
+ Enable interactive mode (prompt and command editing).
+ Without this, hush simply reads and executes commands
+ from stdin just like a shell script from the file.
+ No prompt, no PS1/PS2 magic shell variables.
+
+config HUSH_JOB
+ bool "Job control"
+ default n
+ depends on HUSH_INTERACTIVE
+ help
+ Enable job control: Ctrl-Z backgrounds, Ctrl-C interrupts current
+ command (not entire shell), fg/bg builtins work. Without this option,
+ "cmd &" still works by simply spawning a process and immediately
+ prompting for next command (or executing next command in a script),
+ but no separate process group is formed.
config LASH