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>
This commit is contained in:
@@ -80,11 +80,12 @@ config FEATURE_EDITING_VI
|
||||
|
||||
config FEATURE_EDITING_HISTORY
|
||||
int "History size"
|
||||
range 0 99999
|
||||
# Don't allow way too big values here, code uses fixed "char *history[N]" struct member
|
||||
range 0 9999
|
||||
default 255
|
||||
depends on FEATURE_EDITING
|
||||
help
|
||||
Specify command history size.
|
||||
Specify command history size (0 - disable).
|
||||
|
||||
config FEATURE_EDITING_SAVEHISTORY
|
||||
bool "History saving"
|
||||
|
||||
Reference in New Issue
Block a user