Config.src 4.9 KB

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