diff options
Diffstat (limited to 'miscutils/Config.in')
-rw-r--r-- | miscutils/Config.in | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index d64d05345..9df1b0e85 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
@@ -19,6 +19,66 @@ config BBCONFIG | |||
19 | The bbconfig applet will print the config file with which | 19 | The bbconfig applet will print the config file with which |
20 | busybox was built. | 20 | busybox was built. |
21 | 21 | ||
22 | config CHAT | ||
23 | bool "chat" | ||
24 | default n | ||
25 | help | ||
26 | Simple chat utility. | ||
27 | |||
28 | config FEATURE_CHAT_NOFAIL | ||
29 | bool "Enable NOFAIL expect strings" | ||
30 | default y | ||
31 | help | ||
32 | When enabled expect strings which are started with a dash trigger | ||
33 | no-fail mode. That is when expectation is not met within timeout | ||
34 | the script is not terminated but sends next SEND string and waits | ||
35 | for next EXPECT string. This allows to compose far more flexible | ||
36 | scripts. | ||
37 | |||
38 | config FEATURE_CHAT_TTY_HIFI | ||
39 | bool "Force STDIN to be a TTY" | ||
40 | default n | ||
41 | help | ||
42 | Original chat always treats STDIN as a TTY device and sets for it | ||
43 | so-called raw mode. This option turns on such behaviour. | ||
44 | |||
45 | config FEATURE_CHAT_IMPLICIT_CR | ||
46 | bool "Enable implicit Carriage Return" | ||
47 | default y | ||
48 | help | ||
49 | When enabled make chat to terminate all SEND strings with a "\r" | ||
50 | unless "\c" is met anywhere in the string. | ||
51 | |||
52 | config FEATURE_CHAT_SWALLOW_OPTS | ||
53 | bool "Swallow options" | ||
54 | default n | ||
55 | help | ||
56 | Busybox chat require no options. To make it not fail when used | ||
57 | in place of original chat (which has a bunch of options) turn | ||
58 | this on. | ||
59 | |||
60 | config FEATURE_CHAT_SEND_ESCAPES | ||
61 | bool "Support weird SEND escapes" | ||
62 | default n | ||
63 | help | ||
64 | Original chat uses some escape sequences in SEND arguments which | ||
65 | are not sent to device but rather performs special actions. | ||
66 | E.g. "\K" means to send a break sequence to device. | ||
67 | "\d" delays execution for a second, "\p" -- for a 1/100 of second. | ||
68 | Before turning this option on think twice: do you really need them? | ||
69 | |||
70 | config FEATURE_CHAT_VAR_ABORT_LEN | ||
71 | bool "Support variable-length ABORT conditions" | ||
72 | default n | ||
73 | help | ||
74 | Original chat uses fixed 50-bytes length ABORT conditions. Say N here. | ||
75 | |||
76 | config FEATURE_CHAT_CLR_ABORT | ||
77 | bool "Support revoking of ABORT conditions" | ||
78 | default n | ||
79 | help | ||
80 | Support CLR_ABORT directive. | ||
81 | |||
22 | config CHRT | 82 | config CHRT |
23 | bool "chrt" | 83 | bool "chrt" |
24 | default n | 84 | default n |