lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Console Utilities" |
| 7 | |
| 8 | INSERT |
| 9 | |
| 10 | config CHVT |
| 11 | bool "chvt" |
| 12 | default y |
| 13 | select PLATFORM_LINUX |
| 14 | help |
| 15 | This program is used to change to another terminal. |
| 16 | Example: chvt 4 (change to terminal /dev/tty4) |
| 17 | |
| 18 | config FGCONSOLE |
| 19 | bool "fgconsole" |
| 20 | default y |
| 21 | select PLATFORM_LINUX |
| 22 | help |
| 23 | This program prints active (foreground) console number. |
| 24 | |
| 25 | config CLEAR |
| 26 | bool "clear" |
| 27 | default y |
| 28 | help |
| 29 | This program clears the terminal screen. |
| 30 | |
| 31 | config DEALLOCVT |
| 32 | bool "deallocvt" |
| 33 | default y |
| 34 | select PLATFORM_LINUX |
| 35 | help |
| 36 | This program deallocates unused virtual consoles. |
| 37 | |
| 38 | config DUMPKMAP |
| 39 | bool "dumpkmap" |
| 40 | default y |
| 41 | select PLATFORM_LINUX |
| 42 | help |
| 43 | This program dumps the kernel's keyboard translation table to |
| 44 | stdout, in binary format. You can then use loadkmap to load it. |
| 45 | |
| 46 | config KBD_MODE |
| 47 | bool "kbd_mode" |
| 48 | default y |
| 49 | select PLATFORM_LINUX |
| 50 | help |
| 51 | This program reports and sets keyboard mode. |
| 52 | |
| 53 | config LOADFONT |
| 54 | bool "loadfont" |
| 55 | default y |
| 56 | select PLATFORM_LINUX |
| 57 | help |
| 58 | This program loads a console font from standard input. |
| 59 | |
| 60 | config LOADKMAP |
| 61 | bool "loadkmap" |
| 62 | default y |
| 63 | select PLATFORM_LINUX |
| 64 | help |
| 65 | This program loads a keyboard translation table from |
| 66 | standard input. |
| 67 | |
| 68 | config OPENVT |
| 69 | bool "openvt" |
| 70 | default y |
| 71 | select PLATFORM_LINUX |
| 72 | help |
| 73 | This program is used to start a command on an unused |
| 74 | virtual terminal. |
| 75 | |
| 76 | config RESET |
| 77 | bool "reset" |
| 78 | default y |
| 79 | help |
| 80 | This program is used to reset the terminal screen, if it |
| 81 | gets messed up. |
| 82 | |
| 83 | config RESIZE |
| 84 | bool "resize" |
| 85 | default y |
| 86 | help |
| 87 | This program is used to (re)set the width and height of your current |
| 88 | terminal. |
| 89 | |
| 90 | config FEATURE_RESIZE_PRINT |
| 91 | bool "Print environment variables" |
| 92 | default y |
| 93 | 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 | |
| 100 | config SETCONSOLE |
| 101 | bool "setconsole" |
| 102 | default y |
| 103 | select PLATFORM_LINUX |
| 104 | help |
| 105 | This program redirects the system console to another device, |
| 106 | like the current tty while logged in via telnet. |
| 107 | |
| 108 | config FEATURE_SETCONSOLE_LONG_OPTIONS |
| 109 | bool "Enable long options" |
| 110 | default y |
| 111 | depends on SETCONSOLE && LONG_OPTS |
| 112 | help |
| 113 | Support long options for the setconsole applet. |
| 114 | |
| 115 | config SETFONT |
| 116 | bool "setfont" |
| 117 | default y |
| 118 | select PLATFORM_LINUX |
| 119 | help |
| 120 | Allows to load console screen map. Useful for i18n. |
| 121 | |
| 122 | config FEATURE_SETFONT_TEXTUAL_MAP |
| 123 | bool "Support reading textual screen maps" |
| 124 | default y |
| 125 | depends on SETFONT |
| 126 | help |
| 127 | Support reading textual screen maps. |
| 128 | |
| 129 | config 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 | |
| 137 | config SETKEYCODES |
| 138 | bool "setkeycodes" |
| 139 | default y |
| 140 | select PLATFORM_LINUX |
| 141 | help |
| 142 | This program loads entries into the kernel's scancode-to-keycode |
| 143 | map, allowing unusual keyboards to generate usable keycodes. |
| 144 | |
| 145 | config SETLOGCONS |
| 146 | bool "setlogcons" |
| 147 | default y |
| 148 | select PLATFORM_LINUX |
| 149 | help |
| 150 | This program redirects the output console of kernel messages. |
| 151 | |
| 152 | config SHOWKEY |
| 153 | bool "showkey" |
| 154 | default y |
| 155 | select PLATFORM_LINUX |
| 156 | help |
| 157 | Shows keys pressed. |
| 158 | |
| 159 | comment "Common options for loadfont and setfont" |
| 160 | depends on LOADFONT || SETFONT |
| 161 | |
| 162 | config FEATURE_LOADFONT_PSF2 |
| 163 | bool "Support for PSF2 console fonts" |
| 164 | default y |
| 165 | depends on LOADFONT || SETFONT |
| 166 | help |
| 167 | Support PSF2 console fonts. |
| 168 | |
| 169 | config FEATURE_LOADFONT_RAW |
| 170 | bool "Support for old (raw) console fonts" |
| 171 | default y |
| 172 | depends on LOADFONT || SETFONT |
| 173 | help |
| 174 | Support old (raw) console fonts. |
| 175 | |
| 176 | endmenu |