1# 2# For a description of the syntax of this configuration file, 3# see scripts/kbuild/config-language.txt. 4# 5 6menu "Editors" 7 8INSERT 9 10config AWK 11 bool "awk" 12 default y 13 help 14 Awk is used as a pattern scanning and processing language. This is 15 the BusyBox implementation of that programming language. 16 17config FEATURE_AWK_LIBM 18 bool "Enable math functions (requires libm)" 19 default y 20 depends on AWK 21 help 22 Enable math functions of the Awk programming language. 23 NOTE: This will require libm to be present for linking. 24 25config CMP 26 bool "cmp" 27 default y 28 help 29 cmp is used to compare two files and returns the result 30 to standard output. 31 32config DIFF 33 bool "diff" 34 default y 35 help 36 diff compares two files or directories and outputs the 37 differences between them in a form that can be given to 38 the patch command. 39 40config FEATURE_DIFF_LONG_OPTIONS 41 bool "Enable long options" 42 default y 43 depends on DIFF && LONG_OPTS 44 help 45 Enable use of long options. 46 47config FEATURE_DIFF_DIR 48 bool "Enable directory support" 49 default y 50 depends on DIFF 51 help 52 This option enables support for directory and subdirectory 53 comparison. 54 55config ED 56 bool "ed" 57 default y 58 help 59 The original 1970's Unix text editor, from the days of teletypes. 60 Small, simple, evil. Part of SUSv3. If you're not already using 61 this, you don't need it. 62 63config PATCH 64 bool "patch" 65 default y 66 help 67 Apply a unified diff formatted patch. 68 69config SED 70 bool "sed" 71 default y 72 help 73 sed is used to perform text transformations on a file 74 or input from a pipeline. 75 76config VI 77 bool "vi" 78 default y 79 help 80 'vi' is a text editor. More specifically, it is the One True 81 text editor <grin>. It does, however, have a rather steep 82 learning curve. If you are not already comfortable with 'vi' 83 you may wish to use something else. 84 85config FEATURE_VI_MAX_LEN 86 int "Maximum screen width in vi" 87 range 256 16384 88 default 4096 89 depends on VI 90 help 91 Contrary to what you may think, this is not eating much. 92 Make it smaller than 4k only if you are very limited on memory. 93 94config FEATURE_VI_8BIT 95 bool "Allow vi to display 8-bit chars (otherwise shows dots)" 96 default n 97 depends on VI 98 help 99 If your terminal can display characters with high bit set, 100 you may want to enable this. Note: vi is not Unicode-capable. 101 If your terminal combines several 8-bit bytes into one character 102 (as in Unicode mode), this will not work properly. 103 104config FEATURE_VI_COLON 105 bool "Enable \":\" colon commands (no \"ex\" mode)" 106 default y 107 depends on VI 108 help 109 Enable a limited set of colon commands for vi. This does not 110 provide an "ex" mode. 111 112config FEATURE_VI_YANKMARK 113 bool "Enable yank/put commands and mark cmds" 114 default y 115 depends on VI 116 help 117 This will enable you to use yank and put, as well as mark in 118 busybox vi. 119 120config FEATURE_VI_SEARCH 121 bool "Enable search and replace cmds" 122 default y 123 depends on VI 124 help 125 Select this if you wish to be able to do search and replace in 126 busybox vi. 127 128config FEATURE_VI_USE_SIGNALS 129 bool "Catch signals" 130 default y 131 depends on VI 132 help 133 Selecting this option will make busybox vi signal aware. This will 134 make busybox vi support SIGWINCH to deal with Window Changes, catch 135 Ctrl-Z and Ctrl-C and alarms. 136 137config FEATURE_VI_DOT_CMD 138 bool "Remember previous cmd and \".\" cmd" 139 default y 140 depends on VI 141 help 142 Make busybox vi remember the last command and be able to repeat it. 143 144config FEATURE_VI_READONLY 145 bool "Enable -R option and \"view\" mode" 146 default y 147 depends on VI 148 help 149 Enable the read-only command line option, which allows the user to 150 open a file in read-only mode. 151 152config FEATURE_VI_SETOPTS 153 bool "Enable set-able options, ai ic showmatch" 154 default y 155 depends on VI 156 help 157 Enable the editor to set some (ai, ic, showmatch) options. 158 159config FEATURE_VI_SET 160 bool "Support for :set" 161 default y 162 depends on VI 163 help 164 Support for ":set". 165 166config FEATURE_VI_WIN_RESIZE 167 bool "Handle window resize" 168 default y 169 depends on VI 170 help 171 Make busybox vi behave nicely with terminals that get resized. 172 173config FEATURE_VI_ASK_TERMINAL 174 bool "Use 'tell me cursor position' ESC sequence to measure window" 175 default y 176 depends on VI 177 help 178 If terminal size can't be retrieved and $LINES/$COLUMNS are not set, 179 this option makes vi perform a last-ditch effort to find it: 180 vi positions cursor to 999,999 and asks terminal to report real 181 cursor position using "ESC [ 6 n" escape sequence, then reads stdin. 182 183 This is not clean but helps a lot on serial lines and such. 184 185config FEATURE_VI_OPTIMIZE_CURSOR 186 bool "Optimize cursor movement" 187 default y 188 depends on VI 189 help 190 This will make the cursor movement faster, but requires more memory 191 and it makes the applet a tiny bit larger. 192 193config FEATURE_ALLOW_EXEC 194 bool "Allow vi and awk to execute shell commands" 195 default y 196 depends on VI || AWK 197 help 198 Enables vi and awk features which allows user to execute 199 shell commands (using system() C call). 200 201endmenu 202