summaryrefslogtreecommitdiff
path: root/package/busybox/config/editors/Config.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-13 09:57:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-13 09:57:21 +0200
commit6e5edc83271beb9ac4017bdf74b540da2ebe4594 (patch)
tree0a4a7ded2460ebedd40f88ff2414f90c44b275da /package/busybox/config/editors/Config.in
parentfec1fd5598765d02691cb4c2b3ea3f1938be7824 (diff)
parent851a4486f663ddb8acffd4dd870d4121290b35d5 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/busybox/config/editors/Config.in')
-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 52594b0ef..1a86ce9bd 100644
--- a/package/busybox/config/editors/Config.in
+++ b/package/busybox/config/editors/Config.in
@@ -171,6 +171,18 @@ config BUSYBOX_FEATURE_VI_WIN_RESIZE
help
Make busybox vi behave nicely with terminals that get resized.
+config BUSYBOX_FEATURE_VI_ASK_TERMINAL
+ bool "Use 'tell me cursor position' ESC sequence to measure window"
+ default y
+ depends on BUSYBOX_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_FEATURE_VI_OPTIMIZE_CURSOR
bool "Optimize cursor movement"
default y