8973c3667b013480d3539e097263052ad6a797aa
[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_AWK
9         bool "awk"
10         default y
11         help
12           Awk is used as a pattern scanning and processing language.  This is
13           the BusyBox implementation of that programming language.
14
15 config BUSYBOX_CONFIG_AWX
16         bool "Enable awx (awk web extension)"
17         default y
18         depends on BUSYBOX_CONFIG_AWK
19         help
20           awx - awk web extension
21
22 config BUSYBOX_CONFIG_FEATURE_AWK_MATH
23         bool "Enable math functions (requires libm)"
24         default y
25         depends on BUSYBOX_CONFIG_AWK
26         help
27           Enable math functions of the Awk programming language.
28           NOTE: This will require libm to be present for linking.
29
30 config BUSYBOX_CONFIG_ED
31         bool "ed"
32         default n
33         help
34           The original 1970's Unix text editor, from the days of teletypes.
35           Small, simple, evil.  Part of SUSv3.  If you're not already using
36           this, you don't need it.
37
38 config BUSYBOX_CONFIG_PATCH
39         bool "patch"
40         default n
41         help
42           Apply a unified diff formatted patch.
43
44 config BUSYBOX_CONFIG_SED
45         bool "sed"
46         default y
47         help
48           sed is used to perform text transformations on a file
49           or input from a pipeline.
50
51 config BUSYBOX_CONFIG_VI
52         bool "vi"
53         default y
54         help
55           'vi' is a text editor.  More specifically, it is the One True
56           text editor <grin>.  It does, however, have a rather steep
57           learning curve.  If you are not already comfortable with 'vi'
58           you may wish to use something else.
59
60 config BUSYBOX_CONFIG_FEATURE_VI_COLON
61         bool "Enable \":\" colon commands (no \"ex\" mode)"
62         default y
63         depends on BUSYBOX_CONFIG_VI
64         help
65           Enable a limited set of colon commands for vi.  This does not
66           provide an "ex" mode.
67
68 config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
69         bool "Enable yank/put commands and mark cmds"
70         default y
71         depends on BUSYBOX_CONFIG_VI
72         help
73           This will enable you to use yank and put, as well as mark in
74           busybox vi.
75
76 config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
77         bool "Enable search and replace cmds"
78         default y
79         depends on BUSYBOX_CONFIG_VI
80         help
81           Select this if you wish to be able to do search and replace in
82           busybox vi.
83
84 config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS
85         bool "Catch signals"
86         default y
87         depends on BUSYBOX_CONFIG_VI
88         help
89           Selecting this option will make busybox vi signal aware.  This will
90           make busybox vi support SIGWINCH to deal with Window Changes, catch
91           Ctrl-Z and Ctrl-C and alarms.
92
93 config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD
94         bool "Remember previous cmd and \".\" cmd"
95         default y
96         depends on BUSYBOX_CONFIG_VI
97         help
98           Make busybox vi remember the last command and be able to repeat it.
99
100 config BUSYBOX_CONFIG_FEATURE_VI_READONLY
101         bool "Enable -R option and \"view\" mode"
102         default y
103         depends on BUSYBOX_CONFIG_VI
104         help
105           Enable the read-only command line option, which allows the user to
106           open a file in read-only mode.
107
108 config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS
109         bool "Enable set-able options, ai ic showmatch"
110         default y
111         depends on BUSYBOX_CONFIG_VI
112         help
113           Enable the editor to set some (ai, ic, showmatch) options.
114
115 config BUSYBOX_CONFIG_FEATURE_VI_SET
116         bool "Support for :set"
117         default y
118         depends on BUSYBOX_CONFIG_VI
119         help
120           Support for ":set".
121
122 config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
123         bool "Handle window resize"
124         default y
125         depends on BUSYBOX_CONFIG_VI
126         help
127           Make busybox vi behave nicely with terminals that get resized.
128
129 config BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
130         bool "Optimize cursor movement"
131         default y
132         depends on BUSYBOX_CONFIG_VI
133         help
134           This will make the cursor movement faster, but requires more memory
135           and it makes the applet a tiny bit larger.
136
137 config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
138         bool "Allow vi and awk to execute shell commands"
139         default y
140         depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
141         help
142           Enables vi and awk features which allows user to execute
143           shell commands (using system() C call).
144
145 endmenu