diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-20 02:46:48 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-20 02:46:48 +0000 |
commit | 9a7cef930f7e299c0e5d9d1ddeb3f95db6749eb7 (patch) | |
tree | b8f6595e61380091ba42740cf1ad8bb684e55336 /miscutils/Config.in | |
parent | b95636c52fbb058a39548bcbc4e86456ebbd7b7b (diff) | |
download | busybox-w32-9a7cef930f7e299c0e5d9d1ddeb3f95db6749eb7.tar.gz busybox-w32-9a7cef930f7e299c0e5d9d1ddeb3f95db6749eb7.tar.bz2 busybox-w32-9a7cef930f7e299c0e5d9d1ddeb3f95db6749eb7.zip |
less: somewhat buggy applet, but nice. Muchly reduced
xstrdup'ing and memory consumption. Made linewrap saner.
regex matching code was awful - still buggy, but not as
leaky as before. Made buffer size configurable. Killed
several static and on-stack buffers. Hopefully eliminated
staircase effect on Ctrl-C (unable to reproduce).
Diffstat (limited to 'miscutils/Config.in')
-rw-r--r-- | miscutils/Config.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index 90e2b6fb1..01d1fa0a5 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
@@ -133,6 +133,11 @@ config LESS | |||
133 | 'less' is a pager, meaning that it displays text files. It possesses | 133 | 'less' is a pager, meaning that it displays text files. It possesses |
134 | a wide array of features, and is an improvement over 'more'. | 134 | a wide array of features, and is an improvement over 'more'. |
135 | 135 | ||
136 | config FEATURE_LESS_MAXLINES | ||
137 | int "Max number of input lines less will try to eat" | ||
138 | default 9999999 | ||
139 | depends on LESS | ||
140 | |||
136 | config FEATURE_LESS_BRACKETS | 141 | config FEATURE_LESS_BRACKETS |
137 | bool "Enable bracket searching" | 142 | bool "Enable bracket searching" |
138 | default y | 143 | default y |