Config.in 4.9 KB

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