blob: cdb26800e2cd9d38d20fa5b494438874684bae8f [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
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020013 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000014 help
Eric Andersene5642112003-07-14 19:37:08 +000015 This program is used to change to another terminal.
16 Example: chvt 4 (change to terminal /dev/tty4)
Eric Andersenc9f20d92002-12-05 08:41:41 +000017
Grigory Batalovad7a5d42010-05-23 23:22:10 +020018config FGCONSOLE
19 bool "fgconsole"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020020 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020021 depends on PLATFORM_LINUX
Grigory Batalovad7a5d42010-05-23 23:22:10 +020022 help
23 This program prints active (foreground) console number.
24
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000025config CLEAR
Eric Andersenc9f20d92002-12-05 08:41:41 +000026 bool "clear"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020027 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000028 help
Eric Andersene5642112003-07-14 19:37:08 +000029 This program clears the terminal screen.
Eric Andersenc9f20d92002-12-05 08:41:41 +000030
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000031config DEALLOCVT
Eric Andersenc9f20d92002-12-05 08:41:41 +000032 bool "deallocvt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020033 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020034 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000035 help
Eric Andersene5642112003-07-14 19:37:08 +000036 This program deallocates unused virtual consoles.
Eric Andersenc9f20d92002-12-05 08:41:41 +000037
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000038config DUMPKMAP
Eric Andersenc9f20d92002-12-05 08:41:41 +000039 bool "dumpkmap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020040 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020041 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000042 help
Eric Andersene5642112003-07-14 19:37:08 +000043 This program dumps the kernel's keyboard translation table to
44 stdout, in binary format. You can then use loadkmap to load it.
Eric Andersenc9f20d92002-12-05 08:41:41 +000045
Denis Vlasenkoaa7a8882007-10-20 00:17:34 +000046config KBD_MODE
47 bool "kbd_mode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020048 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020049 depends on PLATFORM_LINUX
Denis Vlasenkoaa7a8882007-10-20 00:17:34 +000050 help
51 This program reports and sets keyboard mode.
52
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000053config LOADFONT
Eric Andersenc9f20d92002-12-05 08:41:41 +000054 bool "loadfont"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020055 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020056 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000057 help
Eric Andersene5642112003-07-14 19:37:08 +000058 This program loads a console font from standard input.
Eric Andersenc9f20d92002-12-05 08:41:41 +000059
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000060config LOADKMAP
Eric Andersenc9f20d92002-12-05 08:41:41 +000061 bool "loadkmap"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020062 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020063 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000064 help
Eric Andersene5642112003-07-14 19:37:08 +000065 This program loads a keyboard translation table from
66 standard input.
Eric Andersenc9f20d92002-12-05 08:41:41 +000067
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000068config OPENVT
Eric Andersenc9f20d92002-12-05 08:41:41 +000069 bool "openvt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020070 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020071 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000072 help
Eric Andersene5642112003-07-14 19:37:08 +000073 This program is used to start a command on an unused
74 virtual terminal.
Eric Andersenc9f20d92002-12-05 08:41:41 +000075
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000076config RESET
Eric Andersenc9f20d92002-12-05 08:41:41 +000077 bool "reset"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020078 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000079 help
Eric Andersene5642112003-07-14 19:37:08 +000080 This program is used to reset the terminal screen, if it
81 gets messed up.
Eric Andersenc9f20d92002-12-05 08:41:41 +000082
Bernhard Reutner-Fischere63a0de2006-10-25 15:07:56 +000083config RESIZE
84 bool "resize"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020085 default y
Bernhard Reutner-Fischere63a0de2006-10-25 15:07:56 +000086 help
87 This program is used to (re)set the width and height of your current
88 terminal.
89
90config FEATURE_RESIZE_PRINT
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000091 bool "Print environment variables"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020092 default y
Bernhard Reutner-Fischere63a0de2006-10-25 15:07:56 +000093 depends on RESIZE
94 help
95 Prints the newly set size (number of columns and rows) of
96 the terminal.
97 E.g.:
98 COLUMNS=80;LINES=44;export COLUMNS LINES;
99
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000100config SETCONSOLE
Mike Frysingera630cb12005-09-24 23:15:53 +0000101 bool "setconsole"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200102 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200103 depends on PLATFORM_LINUX
Mike Frysingera630cb12005-09-24 23:15:53 +0000104 help
105 This program redirects the system console to another device,
106 like the current tty while logged in via telnet.
107
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000108config FEATURE_SETCONSOLE_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000109 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200110 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200111 depends on SETCONSOLE && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000112 help
113 Support long options for the setconsole applet.
114
Denis Vlasenkoc8d02aa2008-08-17 14:12:26 +0000115config SETFONT
116 bool "setfont"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200117 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200118 depends on PLATFORM_LINUX
Denis Vlasenkoc8d02aa2008-08-17 14:12:26 +0000119 help
120 Allows to load console screen map. Useful for i18n.
121
Denis Vlasenko53f219e2008-09-16 19:35:42 +0000122config FEATURE_SETFONT_TEXTUAL_MAP
123 bool "Support reading textual screen maps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200124 default y
Denis Vlasenko53f219e2008-09-16 19:35:42 +0000125 depends on SETFONT
126 help
127 Support reading textual screen maps.
128
129config DEFAULT_SETFONT_DIR
130 string "Default directory for console-tools files"
131 default ""
132 depends on SETFONT
133 help
134 Directory to use if setfont's params are simple filenames
135 (not /path/to/file or ./file). Default is "" (no default directory).
136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config SETKEYCODES
Eric Andersenc9f20d92002-12-05 08:41:41 +0000138 bool "setkeycodes"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200139 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200140 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000141 help
Eric Andersene5642112003-07-14 19:37:08 +0000142 This program loads entries into the kernel's scancode-to-keycode
143 map, allowing unusual keyboards to generate usable keycodes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000144
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000145config SETLOGCONS
Rob Landley87848d92006-03-27 23:23:43 +0000146 bool "setlogcons"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200147 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200148 depends on PLATFORM_LINUX
Rob Landley87848d92006-03-27 23:23:43 +0000149 help
150 This program redirects the output console of kernel messages.
151
Denis Vlasenkod7cc2e62008-08-17 14:17:48 +0000152config SHOWKEY
153 bool "showkey"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200154 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200155 depends on PLATFORM_LINUX
Denis Vlasenkod7cc2e62008-08-17 14:17:48 +0000156 help
Denis Vlasenko625ed8e2008-08-19 22:26:05 +0000157 Shows keys pressed.
Denis Vlasenkod7cc2e62008-08-17 14:17:48 +0000158
Harald Becker8ce1dc02010-02-21 13:10:26 +0100159comment "Common options for loadfont and setfont"
160 depends on LOADFONT || SETFONT
161
162config FEATURE_LOADFONT_PSF2
163 bool "Support for PSF2 console fonts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200164 default y
Harald Becker8ce1dc02010-02-21 13:10:26 +0100165 depends on LOADFONT || SETFONT
166 help
167 Support PSF2 console fonts.
168
169config FEATURE_LOADFONT_RAW
170 bool "Support for old (raw) console fonts"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200171 default y
Harald Becker8ce1dc02010-02-21 13:10:26 +0100172 depends on LOADFONT || SETFONT
173 help
174 Support old (raw) console fonts.
175
Eric Andersenc9f20d92002-12-05 08:41:41 +0000176endmenu