Config.in 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see scripts/kbuild/config-language.txt.
  5. #
  6. menu "Editors"
  7. config BUSYBOX_PATCH
  8. bool "patch"
  9. depends on !BUSYBOX_DISABLE_PATCH
  10. default n
  11. help
  12. Apply a unified diff formatted patch.
  13. config BUSYBOX_VI
  14. bool "vi"
  15. default y
  16. help
  17. 'vi' is a text editor. More specifically, it is the One True
  18. text editor <grin>. It does, however, have a rather steep
  19. learning curve. If you are not already comfortable with 'vi'
  20. you may wish to use something else.
  21. config BUSYBOX_FEATURE_VI_MAX_LEN
  22. int "Maximum screen width in vi"
  23. range 256 16384
  24. default 4096
  25. depends on BUSYBOX_VI
  26. help
  27. Contrary to what you may think, this is not eating much.
  28. Make it smaller than 4k only if you are very limited on memory.
  29. config BUSYBOX_FEATURE_VI_8BIT
  30. bool "Allow vi to display 8-bit chars (otherwise shows dots)"
  31. default n
  32. depends on BUSYBOX_VI
  33. help
  34. If your terminal can display characters with high bit set,
  35. you may want to enable this. Note: vi is not Unicode-capable.
  36. If your terminal combines several 8-bit bytes into one character
  37. (as in Unicode mode), this will not work properly.
  38. config BUSYBOX_FEATURE_VI_COLON
  39. bool "Enable \":\" colon commands (no \"ex\" mode)"
  40. default y
  41. depends on BUSYBOX_VI
  42. help
  43. Enable a limited set of colon commands for vi. This does not
  44. provide an "ex" mode.
  45. config BUSYBOX_FEATURE_VI_YANKMARK
  46. bool "Enable yank/put commands and mark cmds"
  47. default y
  48. depends on BUSYBOX_VI
  49. help
  50. This will enable you to use yank and put, as well as mark in
  51. busybox vi.
  52. config BUSYBOX_FEATURE_VI_SEARCH
  53. bool "Enable search and replace cmds"
  54. default y
  55. depends on BUSYBOX_VI
  56. help
  57. Select this if you wish to be able to do search and replace in
  58. busybox vi.
  59. config BUSYBOX_FEATURE_VI_REGEX_SEARCH
  60. bool "Enable regex in search and replace"
  61. default n # Uses GNU regex, which may be unavailable. FIXME
  62. depends on BUSYBOX_FEATURE_VI_SEARCH
  63. help
  64. Use extended regex search.
  65. config BUSYBOX_FEATURE_VI_USE_SIGNALS
  66. bool "Catch signals"
  67. default y
  68. depends on BUSYBOX_VI
  69. help
  70. Selecting this option will make busybox vi signal aware. This will
  71. make busybox vi support SIGWINCH to deal with Window Changes, catch
  72. Ctrl-Z and Ctrl-C and alarms.
  73. config BUSYBOX_FEATURE_VI_DOT_CMD
  74. bool "Remember previous cmd and \".\" cmd"
  75. default y
  76. depends on BUSYBOX_VI
  77. help
  78. Make busybox vi remember the last command and be able to repeat it.
  79. config BUSYBOX_FEATURE_VI_READONLY
  80. bool "Enable -R option and \"view\" mode"
  81. default y
  82. depends on BUSYBOX_VI
  83. help
  84. Enable the read-only command line option, which allows the user to
  85. open a file in read-only mode.
  86. config BUSYBOX_FEATURE_VI_SETOPTS
  87. bool "Enable set-able options, ai ic showmatch"
  88. default y
  89. depends on BUSYBOX_VI
  90. help
  91. Enable the editor to set some (ai, ic, showmatch) options.
  92. config BUSYBOX_FEATURE_VI_SET
  93. bool "Support for :set"
  94. default y
  95. depends on BUSYBOX_VI
  96. help
  97. Support for ":set".
  98. config BUSYBOX_FEATURE_VI_WIN_RESIZE
  99. bool "Handle window resize"
  100. default y
  101. depends on BUSYBOX_VI
  102. help
  103. Make busybox vi behave nicely with terminals that get resized.
  104. config BUSYBOX_FEATURE_VI_ASK_TERMINAL
  105. bool "Use 'tell me cursor position' ESC sequence to measure window"
  106. default y
  107. depends on BUSYBOX_VI
  108. help
  109. If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
  110. this option makes vi perform a last-ditch effort to find it:
  111. position cursor to 999,999 and ask terminal to report real
  112. cursor position using "ESC [ 6 n" escape sequence, then read stdin.
  113. This is not clean but helps a lot on serial lines and such.
  114. config BUSYBOX_FEATURE_VI_UNDO
  115. bool "Support undo command 'u'"
  116. default y
  117. depends on BUSYBOX_VI
  118. help
  119. Support the 'u' command to undo insertion, deletion, and replacement
  120. of text.
  121. config BUSYBOX_FEATURE_VI_UNDO_QUEUE
  122. bool "Enable undo operation queuing"
  123. default y
  124. depends on BUSYBOX_FEATURE_VI_UNDO
  125. help
  126. The vi undo functions can use an intermediate queue to greatly lower
  127. malloc() calls and overhead. When the maximum size of this queue is
  128. reached, the contents of the queue are committed to the undo stack.
  129. This increases the size of the undo code and allows some undo
  130. operations (especially un-typing/backspacing) to be far more useful.
  131. config BUSYBOX_FEATURE_VI_UNDO_QUEUE_MAX
  132. int "Maximum undo character queue size"
  133. default 256
  134. range 32 65536
  135. depends on BUSYBOX_FEATURE_VI_UNDO_QUEUE
  136. help
  137. This option sets the number of bytes used at runtime for the queue.
  138. Smaller values will create more undo objects and reduce the amount
  139. of typed or backspaced characters that are grouped into one undo
  140. operation; larger values increase the potential size of each undo
  141. and will generally malloc() larger objects and less frequently.
  142. Unless you want more (or less) frequent "undo points" while typing,
  143. you should probably leave this unchanged.
  144. config BUSYBOX_AWK
  145. bool "awk"
  146. default n
  147. help
  148. Awk is used as a pattern scanning and processing language. This is
  149. the BusyBox implementation of that programming language.
  150. config BUSYBOX_FEATURE_AWK_LIBM
  151. bool "Enable math functions (requires libm)"
  152. default n
  153. depends on BUSYBOX_AWK
  154. help
  155. Enable math functions of the Awk programming language.
  156. NOTE: This will require libm to be present for linking.
  157. config BUSYBOX_FEATURE_AWK_GNU_EXTENSIONS
  158. bool "Enable a few GNU extensions"
  159. default n
  160. depends on BUSYBOX_AWK
  161. help
  162. Enable a few features from gawk:
  163. * command line option -e AWK_PROGRAM
  164. * simultaneous use of -f and -e on the command line.
  165. This enables the use of awk library files.
  166. Ex: awk -f mylib.awk -e '{print myfunction($1);}' ...
  167. config BUSYBOX_CMP
  168. bool "cmp"
  169. default n
  170. help
  171. cmp is used to compare two files and returns the result
  172. to standard output.
  173. config BUSYBOX_DIFF
  174. bool "diff"
  175. depends on !BUSYBOX_DISABLE_DIFF
  176. default n
  177. help
  178. diff compares two files or directories and outputs the
  179. differences between them in a form that can be given to
  180. the patch command.
  181. config BUSYBOX_FEATURE_DIFF_LONG_OPTIONS
  182. bool "Enable long options"
  183. default n
  184. depends on BUSYBOX_DIFF && BUSYBOX_LONG_OPTS
  185. help
  186. Enable use of long options.
  187. config BUSYBOX_FEATURE_DIFF_DIR
  188. bool "Enable directory support"
  189. default n
  190. depends on BUSYBOX_DIFF
  191. help
  192. This option enables support for directory and subdirectory
  193. comparison.
  194. config BUSYBOX_ED
  195. bool "ed"
  196. depends on !BUSYBOX_DISABLE_ED
  197. default n
  198. help
  199. The original 1970's Unix text editor, from the days of teletypes.
  200. Small, simple, evil. Part of SUSv3. If you're not already using
  201. this, you don't need it.
  202. config BUSYBOX_SED
  203. bool "sed"
  204. depends on !BUSYBOX_DISABLE_SED
  205. default n
  206. help
  207. sed is used to perform text transformations on a file
  208. or input from a pipeline.
  209. config BUSYBOX_FEATURE_ALLOW_EXEC
  210. bool "Allow vi and awk to execute shell commands"
  211. default n
  212. depends on BUSYBOX_VI || BUSYBOX_AWK
  213. help
  214. Enables vi and awk features which allows user to execute
  215. shell commands (using system() C call).
  216. endmenu