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).
This commit is contained in:
Denis Vlasenko
2006-12-20 02:46:48 +00:00
parent b95636c52f
commit 9a7cef930f
3 changed files with 208 additions and 214 deletions

View File

@@ -133,6 +133,11 @@ config LESS
'less' is a pager, meaning that it displays text files. It possesses
a wide array of features, and is an improvement over 'more'.
config FEATURE_LESS_MAXLINES
int "Max number of input lines less will try to eat"
default 9999999
depends on LESS
config FEATURE_LESS_BRACKETS
bool "Enable bracket searching"
default y