summaryrefslogtreecommitdiff
path: root/shell/Config.src
diff options
context:
space:
mode:
authorDenys Vlasenko2011-03-31 13:16:52 +0200
committerDenys Vlasenko2011-03-31 13:16:52 +0200
commit2c4de5b045a79db73052d5b865474a00c9a87e99 (patch)
tree12a5c2c7a0685ab1674e6b07959688a3470359fd /shell/Config.src
parenta439fa93f64e6eb34f0633d00d203b4267d58521 (diff)
downloadbusybox-2c4de5b045a79db73052d5b865474a00c9a87e99.zip
busybox-2c4de5b045a79db73052d5b865474a00c9a87e99.tar.gz
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 'shell/Config.src')
-rw-r--r--shell/Config.src10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/Config.src b/shell/Config.src
index e96c216..b31e62d 100644
--- a/shell/Config.src
+++ b/shell/Config.src
@@ -136,4 +136,14 @@ config FEATURE_SH_NOFORK
This feature is relatively new. Use with care. Report bugs
to project mailing list.
+config FEATURE_SH_HISTFILESIZE
+ bool "Use $HISTFILESIZE"
+ default y
+ depends on HUSH || ASH
+ help
+ This option makes busybox shells to use $HISTFILESIZE variable
+ to set shell history size. Note that its max value is capped
+ by "History size" setting in library tuning section.
+
+
endmenu