aboutsummaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-09-07 16:56:02 +0000
committerPaul Fox <pgf@brightstareng.com>2005-09-07 16:56:02 +0000
commit02eb934b0f7120cfb783536d6b27f7e092fb991b (patch)
tree1e877e7458d4d84d4e26ebcf92435021c23872d1 /shell/Config.in
parenta70aa86e25bd7969e846aff64206458b56b66c2c (diff)
downloadbusybox-w32-02eb934b0f7120cfb783536d6b27f7e092fb991b.tar.gz
busybox-w32-02eb934b0f7120cfb783536d6b27f7e092fb991b.tar.bz2
busybox-w32-02eb934b0f7120cfb783536d6b27f7e092fb991b.zip
committing:
Summary 0000242: ash: read -t broken this also implements -n and -s options to read. (they're configured together because most of their code is in common, and separating them seemed silly.
Diffstat (limited to 'shell/Config.in')
-rw-r--r--shell/Config.in20
1 files changed, 13 insertions, 7 deletions
diff --git a/shell/Config.in b/shell/Config.in
index f9fb8488f..eb4616672 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -53,16 +53,22 @@ config CONFIG_ASH_JOB_CONTROL
53 help 53 help
54 Enable job control in the ash shell. 54 Enable job control in the ash shell.
55 55
56config CONFIG_ASH_TIMEOUT 56config CONFIG_ASH_READ_NCHARS
57 bool " Enable read timeout support." 57 bool " Enable 'read -n N' and 'read -s' support"
58 default n 58 default n
59 depends on CONFIG_ASH_JOB_CONTROL 59 depends on CONFIG_ASH
60 help 60 help
61 This option provides read -t <seconds> support. 61 'read -n N' will return a value after N characters have been read.
62 'read -s' will read without echoing the user's input.
62 63
63 read builtin which allows the function to pass control back 64config CONFIG_ASH_READ_TIMEOUT
64 if no character input is read from the terminal within a set 65 bool " Enable 'read -t S' support."
65 number of seconds. 66 default n
67 depends on CONFIG_ASH
68 help
69 'read -t S' will return a value after S seconds have passed.
70 This implementation will allow fractional seconds, expressed
71 as a decimal fraction, e.g. 'read -t 2.5 foo'.
66 72
67config CONFIG_ASH_ALIAS 73config CONFIG_ASH_ALIAS
68 bool " Enable alias support" 74 bool " Enable alias support"