vi: change MAX_LINELEN meaning: now it is the biggest supported

screen wigth. Introduce MAX_TABSTOP and MAX_INPUT_LEN. Fix redraw
of very long lines and cursor movement past NULs.
This commit is contained in:
Denis Vlasenko 2007-12-22 15:40:13 +00:00
parent ee87ebf381
commit 88adfcd178
2 changed files with 310 additions and 318 deletions

View File

@ -90,14 +90,13 @@ config VI
you may wish to use something else.
config FEATURE_VI_MAX_LEN
int "Maximum line length in vi"
int "Maximum screen width in vi"
range 256 16384
default 1024
default 4096
depends on VI
help
vi uses on-stack buffers for intermediate line buffers.
You may want to decrease this parameter if your target machine
benefits from smaller stack usage.
Contrary to what you may think, this is not eating much.
Make it smaller than 4k only if you are very limited on memory.
config FEATURE_VI_COLON
bool "Enable \":\" colon commands (no \"ex\" mode)"

File diff suppressed because it is too large Load Diff