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