diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-31 13:16:52 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-31 13:16:52 +0200 |
commit | 2c4de5b045a79db73052d5b865474a00c9a87e99 (patch) | |
tree | 12a5c2c7a0685ab1674e6b07959688a3470359fd /libbb/Config.src | |
parent | a439fa93f64e6eb34f0633d00d203b4267d58521 (diff) | |
download | busybox-w32-2c4de5b045a79db73052d5b865474a00c9a87e99.tar.gz busybox-w32-2c4de5b045a79db73052d5b865474a00c9a87e99.tar.bz2 busybox-w32-2c4de5b045a79db73052d5b865474a00c9a87e99.zip |
ash,hush: optional support for $HISTFILESIZE.
Based on patch from Alexey Fomenko (ext-alexey.fomenko AT nokia.com)
function old new delta
size_from_HISTFILESIZE - 44 +44
hush_main 998 1025 +27
ash_main 1348 1374 +26
read_line_input 3361 3372 +11
new_line_input_t 17 24 +7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Config.src')
-rw-r--r-- | libbb/Config.src | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/Config.src b/libbb/Config.src index a25af23b4..0ea8f43ab 100644 --- a/libbb/Config.src +++ b/libbb/Config.src | |||
@@ -80,11 +80,12 @@ config FEATURE_EDITING_VI | |||
80 | 80 | ||
81 | config FEATURE_EDITING_HISTORY | 81 | config FEATURE_EDITING_HISTORY |
82 | int "History size" | 82 | int "History size" |
83 | range 0 99999 | 83 | # Don't allow way too big values here, code uses fixed "char *history[N]" struct member |
84 | range 0 9999 | ||
84 | default 255 | 85 | default 255 |
85 | depends on FEATURE_EDITING | 86 | depends on FEATURE_EDITING |
86 | help | 87 | help |
87 | Specify command history size. | 88 | Specify command history size (0 - disable). |
88 | 89 | ||
89 | config FEATURE_EDITING_SAVEHISTORY | 90 | config FEATURE_EDITING_SAVEHISTORY |
90 | bool "History saving" | 91 | bool "History saving" |