X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fbusybox%2Fconfig%2Feditors%2FConfig.in;fp=package%2Fbusybox%2Fconfig%2Feditors%2FConfig.in;h=0f0a18c9534819bd016d76b891a2209d77856069;hb=ac2d02c3e08c4c3d62859bffb4dd3bb891b3d5c6;hp=6d1f6f2bc4298f511f9e3340616dfde6b747739f;hpb=e90b272ea7df4d2c356ad1331cd9529e06331448;p=openwrt-10.03%2F.git diff --git a/package/busybox/config/editors/Config.in b/package/busybox/config/editors/Config.in index 6d1f6f2bc..0f0a18c95 100644 --- a/package/busybox/config/editors/Config.in +++ b/package/busybox/config/editors/Config.in @@ -97,14 +97,23 @@ config BUSYBOX_CONFIG_VI you may wish to use something else. config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN - int "Maximum line length in vi" + int "Maximum screen width in vi" range 256 16384 default 1024 depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_VI_8BIT + bool "Allow vi to display 8-bit chars (otherwise shows dots)" + default n + depends on BUSYBOX_CONFIG_VI + help + If your terminal can display characters with high bit set, + you may want to enable this. Note: vi is not Unicode-capable. + If your terminal combines several 8-bit bytes into one character + (as in Unicode mode), this will not work properly. config BUSYBOX_CONFIG_FEATURE_VI_COLON bool "Enable \":\" colon commands (no \"ex\" mode)"