summaryrefslogtreecommitdiff
path: root/package/busybox/config/editors
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-08-15 20:28:05 +0000
committerNicolas Thill <nico@openwrt.org>2010-08-15 20:28:05 +0000
commit2c57634be3dfb83d76cc63e6fddb486fc725ecb7 (patch)
tree610afdd6036831458db468e283b1710083c3aa6d /package/busybox/config/editors
parent26f323dcf5afee0a88f1545aba04556aec6b9ae1 (diff)
downloadmtk-20170518-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.zip
mtk-20170518-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.tar.gz
mtk-20170518-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.tar.bz2
package/busybox: add missing bits from 1.17.1 update (mostly config stuff), rename upstream patches so they're applied first
SVN-Revision: 22665
Diffstat (limited to 'package/busybox/config/editors')
-rw-r--r--package/busybox/config/editors/Config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/config/editors/Config.in b/package/busybox/config/editors/Config.in
index 6175df7..eeadfab 100644
--- a/package/busybox/config/editors/Config.in
+++ b/package/busybox/config/editors/Config.in
@@ -168,6 +168,18 @@ config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
help
Make busybox vi behave nicely with terminals that get resized.
+config BUSYBOX_CONFIG_FEATURE_VI_ASK_TERMINAL
+ bool "Use 'tell me cursor position' ESC sequence to measure window"
+ default y
+ depends on BUSYBOX_CONFIG_VI
+ help
+ If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
+ this option makes vi perform a last-ditch effort to find it:
+ vi positions cursor to 999,999 and asks terminal to report real
+ cursor position using "ESC [ 6 n" escape sequence, then reads stdin.
+
+ This is not clean but helps a lot on serial lines and such.
+
config BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
bool "Optimize cursor movement"
default y