X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9ac93adcf7ed767ae6d53cc43804515c14a27fad..e3d97e60d82760a934bb65b3f67df992c434e4a6:/package/busybox/config/editors/Config.in?ds=inline diff --git a/package/busybox/config/editors/Config.in b/package/busybox/config/editors/Config.in index 6175df72f..894626f3c 100644 --- a/package/busybox/config/editors/Config.in +++ b/package/busybox/config/editors/Config.in @@ -5,6 +5,12 @@ menu "Editors" +config BUSYBOX_CONFIG_PATCH + bool "patch" + default n + help + Apply a unified diff formatted patch. + config BUSYBOX_CONFIG_AWK bool "awk" default y @@ -22,14 +28,14 @@ config BUSYBOX_CONFIG_FEATURE_AWK_LIBM config BUSYBOX_CONFIG_CMP bool "cmp" - default n + default y help cmp is used to compare two files and returns the result to standard output. config BUSYBOX_CONFIG_DIFF bool "diff" - default y + default n help diff compares two files or directories and outputs the differences between them in a form that can be given to @@ -58,12 +64,6 @@ config BUSYBOX_CONFIG_ED Small, simple, evil. Part of SUSv3. If you're not already using this, you don't need it. -config BUSYBOX_CONFIG_PATCH - bool "patch" - default n - help - Apply a unified diff formatted patch. - config BUSYBOX_CONFIG_SED bool "sed" default y @@ -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