3
0

Config.src 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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 SED
  54. bool "sed"
  55. default y
  56. help
  57. sed is used to perform text transformations on a file
  58. or input from a pipeline.
  59. config VI
  60. bool "vi"
  61. default y
  62. help
  63. 'vi' is a text editor. More specifically, it is the One True
  64. text editor <grin>. It does, however, have a rather steep
  65. learning curve. If you are not already comfortable with 'vi'
  66. you may wish to use something else.
  67. config FEATURE_VI_MAX_LEN
  68. int "Maximum screen width in vi"
  69. range 256 16384
  70. default 4096
  71. depends on VI
  72. help
  73. Contrary to what you may think, this is not eating much.
  74. Make it smaller than 4k only if you are very limited on memory.
  75. config FEATURE_VI_8BIT
  76. bool "Allow vi to display 8-bit chars (otherwise shows dots)"
  77. default n
  78. depends on VI
  79. help
  80. If your terminal can display characters with high bit set,
  81. you may want to enable this. Note: vi is not Unicode-capable.
  82. If your terminal combines several 8-bit bytes into one character
  83. (as in Unicode mode), this will not work properly.
  84. config FEATURE_VI_COLON
  85. bool "Enable \":\" colon commands (no \"ex\" mode)"
  86. default y
  87. depends on VI
  88. help
  89. Enable a limited set of colon commands for vi. This does not
  90. provide an "ex" mode.
  91. config FEATURE_VI_YANKMARK
  92. bool "Enable yank/put commands and mark cmds"
  93. default y
  94. depends on VI
  95. help
  96. This will enable you to use yank and put, as well as mark in
  97. busybox vi.
  98. config FEATURE_VI_SEARCH
  99. bool "Enable search and replace cmds"
  100. default y
  101. depends on VI
  102. help
  103. Select this if you wish to be able to do search and replace in
  104. busybox vi.
  105. config FEATURE_VI_USE_SIGNALS
  106. bool "Catch signals"
  107. default y
  108. depends on VI
  109. help
  110. Selecting this option will make busybox vi signal aware. This will
  111. make busybox vi support SIGWINCH to deal with Window Changes, catch
  112. Ctrl-Z and Ctrl-C and alarms.
  113. config FEATURE_VI_DOT_CMD
  114. bool "Remember previous cmd and \".\" cmd"
  115. default y
  116. depends on VI
  117. help
  118. Make busybox vi remember the last command and be able to repeat it.
  119. config FEATURE_VI_READONLY
  120. bool "Enable -R option and \"view\" mode"
  121. default y
  122. depends on VI
  123. help
  124. Enable the read-only command line option, which allows the user to
  125. open a file in read-only mode.
  126. config FEATURE_VI_SETOPTS
  127. bool "Enable set-able options, ai ic showmatch"
  128. default y
  129. depends on VI
  130. help
  131. Enable the editor to set some (ai, ic, showmatch) options.
  132. config FEATURE_VI_SET
  133. bool "Support for :set"
  134. default y
  135. depends on VI
  136. help
  137. Support for ":set".
  138. config FEATURE_VI_WIN_RESIZE
  139. bool "Handle window resize"
  140. default y
  141. depends on VI
  142. help
  143. Make busybox vi behave nicely with terminals that get resized.
  144. config FEATURE_VI_ASK_TERMINAL
  145. bool "Use 'tell me cursor position' ESC sequence to measure window"
  146. default y
  147. depends on VI
  148. help
  149. If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
  150. this option makes vi perform a last-ditch effort to find it:
  151. vi positions cursor to 999,999 and asks terminal to report real
  152. cursor position using "ESC [ 6 n" escape sequence, then reads stdin.
  153. This is not clean but helps a lot on serial lines and such.
  154. config FEATURE_VI_OPTIMIZE_CURSOR
  155. bool "Optimize cursor movement"
  156. default y
  157. depends on VI
  158. help
  159. This will make the cursor movement faster, but requires more memory
  160. and it makes the applet a tiny bit larger.
  161. config FEATURE_ALLOW_EXEC
  162. bool "Allow vi and awk to execute shell commands"
  163. default y
  164. depends on VI || AWK
  165. help
  166. Enables vi and awk features which allows user to execute
  167. shell commands (using system() C call).
  168. endmenu