blob: 6e3191ada0aa887962452053beb84e8bf97c392d [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Console Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010config CHVT
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 bool "chvt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000013 help
Eric Andersene5642112003-07-14 19:37:08 +000014 This program is used to change to another terminal.
15 Example: chvt 4 (change to terminal /dev/tty4)
Eric Andersenc9f20d92002-12-05 08:41:41 +000016
Grigory Batalovad7a5d42010-05-23 23:22:10 +020017config FGCONSOLE
18 bool "fgconsole"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020019 default y
Grigory Batalovad7a5d42010-05-23 23:22:10 +020020 help
21 This program prints active (foreground) console number.
22
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023config CLEAR
Eric Andersenc9f20d92002-12-05 08:41:41 +000024 bool "clear"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020025 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000026 help
Eric Andersene5642112003-07-14 19:37:08 +000027 This program clears the terminal screen.
Eric Andersenc9f20d92002-12-05 08:41:41 +000028
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000029config DEALLOCVT
Eric Andersenc9f20d92002-12-05 08:41:41 +000030 bool "deallocvt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020031 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000032 help
Eric Andersene5642112003-07-14 19:37:08 +000033 This program deallocates unused virtual consoles.
Eric Andersenc9f20d92002-12-05 08:41:41 +000034
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035config DUMPKMAP
Eric Andersenc9f20d92002-12-05 08:41:41 +000036 bool "dumpkmap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020037 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000038 help
Eric Andersene5642112003-07-14 19:37:08 +000039 This program dumps the kernel's keyboard translation table to
40 stdout, in binary format. You can then use loadkmap to load it.
Eric Andersenc9f20d92002-12-05 08:41:41 +000041
Denis Vlasenkoaa7a8882007-10-20 00:17:34 +000042config KBD_MODE
43 bool "kbd_mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020044 default y
Denis Vlasenkoaa7a8882007-10-20 00:17:34 +000045 help
46 This program reports and sets keyboard mode.
47
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000048config LOADFONT
Eric Andersenc9f20d92002-12-05 08:41:41 +000049 bool "loadfont"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020050 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000051 help
Eric Andersene5642112003-07-14 19:37:08 +000052 This program loads a console font from standard input.
Eric Andersenc9f20d92002-12-05 08:41:41 +000053
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000054config LOADKMAP
Eric Andersenc9f20d92002-12-05 08:41:41 +000055 bool "loadkmap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020056 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000057 help
Eric Andersene5642112003-07-14 19:37:08 +000058 This program loads a keyboard translation table from
59 standard input.
Eric Andersenc9f20d92002-12-05 08:41:41 +000060
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000061config OPENVT
Eric Andersenc9f20d92002-12-05 08:41:41 +000062 bool "openvt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020063 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000064 help
Eric Andersene5642112003-07-14 19:37:08 +000065 This program is used to start a command on an unused
66 virtual terminal.
Eric Andersenc9f20d92002-12-05 08:41:41 +000067
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000068config RESET
Eric Andersenc9f20d92002-12-05 08:41:41 +000069 bool "reset"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020070 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000071 help
Eric Andersene5642112003-07-14 19:37:08 +000072 This program is used to reset the terminal screen, if it
73 gets messed up.
Eric Andersenc9f20d92002-12-05 08:41:41 +000074
Bernhard Reutner-Fischere63a0de2006-10-25 15:07:56 +000075config RESIZE
76 bool "resize"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020077 default y
Bernhard Reutner-Fischere63a0de2006-10-25 15:07:56 +000078 help
79 This program is used to (re)set the width and height of your current
80 terminal.
81
82config FEATURE_RESIZE_PRINT
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000083 bool "Print environment variables"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020084 default y
Bernhard Reutner-Fischere63a0de2006-10-25 15:07:56 +000085 depends on RESIZE
86 help
87 Prints the newly set size (number of columns and rows) of
88 the terminal.
89 E.g.:
90 COLUMNS=80;LINES=44;export COLUMNS LINES;
91
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000092config SETCONSOLE
Mike Frysingera630cb12005-09-24 23:15:53 +000093 bool "setconsole"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020094 default y
Mike Frysingera630cb12005-09-24 23:15:53 +000095 help
96 This program redirects the system console to another device,
97 like the current tty while logged in via telnet.
98
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000099config FEATURE_SETCONSOLE_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000100 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200101 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200102 depends on SETCONSOLE && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000103 help
104 Support long options for the setconsole applet.
105
Denis Vlasenkoc8d02aa2008-08-17 14:12:26 +0000106config SETFONT
107 bool "setfont"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200108 default y
Denis Vlasenkoc8d02aa2008-08-17 14:12:26 +0000109 help
110 Allows to load console screen map. Useful for i18n.
111
Denis Vlasenko53f219e2008-09-16 19:35:42 +0000112config FEATURE_SETFONT_TEXTUAL_MAP
113 bool "Support reading textual screen maps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200114 default y
Denis Vlasenko53f219e2008-09-16 19:35:42 +0000115 depends on SETFONT
116 help
117 Support reading textual screen maps.
118
119config DEFAULT_SETFONT_DIR
120 string "Default directory for console-tools files"
121 default ""
122 depends on SETFONT
123 help
124 Directory to use if setfont's params are simple filenames
125 (not /path/to/file or ./file). Default is "" (no default directory).
126
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000127config SETKEYCODES
Eric Andersenc9f20d92002-12-05 08:41:41 +0000128 bool "setkeycodes"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200129 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000130 help
Eric Andersene5642112003-07-14 19:37:08 +0000131 This program loads entries into the kernel's scancode-to-keycode
132 map, allowing unusual keyboards to generate usable keycodes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000134config SETLOGCONS
Rob Landley87848d92006-03-27 23:23:43 +0000135 bool "setlogcons"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200136 default y
Rob Landley87848d92006-03-27 23:23:43 +0000137 help
138 This program redirects the output console of kernel messages.
139
Denis Vlasenkod7cc2e62008-08-17 14:17:48 +0000140config SHOWKEY
141 bool "showkey"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200142 default y
Denis Vlasenkod7cc2e62008-08-17 14:17:48 +0000143 help
Denis Vlasenko625ed8e2008-08-19 22:26:05 +0000144 Shows keys pressed.
Denis Vlasenkod7cc2e62008-08-17 14:17:48 +0000145
Harald Becker8ce1dc02010-02-21 13:10:26 +0100146comment "Common options for loadfont and setfont"
147 depends on LOADFONT || SETFONT
148
149config FEATURE_LOADFONT_PSF2
150 bool "Support for PSF2 console fonts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200151 default y
Harald Becker8ce1dc02010-02-21 13:10:26 +0100152 depends on LOADFONT || SETFONT
153 help
154 Support PSF2 console fonts.
155
156config FEATURE_LOADFONT_RAW
157 bool "Support for old (raw) console fonts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200158 default y
Harald Becker8ce1dc02010-02-21 13:10:26 +0100159 depends on LOADFONT || SETFONT
160 help
161 Support old (raw) console fonts.
162
Eric Andersenc9f20d92002-12-05 08:41:41 +0000163endmenu