Changeset c6cb3aa for chapter06/kbd.xml
- Timestamp:
- 05/17/2004 09:55:01 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6f461cb
- Parents:
- 01b2724c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/kbd.xml
r01b2724c rc6cb3aa 46 46 Chapter 7 and renamed to "Configuring Linux console" --> 47 47 48 <sect2 id="contents-kbd"><title>Contents of Kbd</title> 49 50 <para><emphasis>Installed programs</emphasis>: chvt, deallocvt, dumpkeys, 48 <sect2 id="contents-kbd" role="content"><title>Contents of Kbd</title> 49 50 <segmentedlist> 51 <segtitle>Installed programs</segtitle> 52 <seglistitem><seg>chvt, deallocvt, dumpkeys, 51 53 fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap, 52 54 mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to 53 55 psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons, 54 56 setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank, 55 showconsolefont, showkey, unicode_start and unicode_stop</para> 56 57 </sect2> 58 59 60 <sect2><title>Short descriptions</title> 61 57 showconsolefont, showkey, unicode_start and unicode_stop</seg></seglistitem> 58 </segmentedlist> 59 60 <variablelist><title>Short descriptions</title> 61 62 <varlistentry> 63 <term id="chvt"><command>chvt</command></term> 64 <listitem> 62 65 <indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm> 63 <para id="chvt"><command>chvt</command> changes the foreground virtual terminal.</para> 64 66 <para>changes the foreground virtual terminal.</para> 67 </listitem> 68 </varlistentry> 69 70 <varlistentry> 71 <term id="deallocvt"><command>deallocvt</command></term> 72 <listitem> 65 73 <indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm> 66 <para id="deallocvt"><command>deallocvt</command> deallocates unused virtual terminals.</para> 67 74 <para>deallocates unused virtual terminals.</para> 75 </listitem> 76 </varlistentry> 77 78 <varlistentry> 79 <term id="dumpkeys"><command>dumpkeys</command></term> 80 <listitem> 68 81 <indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm> 69 <para id="dumpkeys"><command>dumpkeys</command> dumps the keyboard translation tables.</para> 70 82 <para>dumps the keyboard translation tables.</para> 83 </listitem> 84 </varlistentry> 85 86 <varlistentry> 87 <term id="fgconsole"><command>fgconsole</command></term> 88 <listitem> 71 89 <indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm> 72 <para id="fgconsole"><command>fgconsole</command> prints the number of the active virtual terminal.</para> 73 90 <para>prints the number of the active virtual terminal.</para> 91 </listitem> 92 </varlistentry> 93 94 <varlistentry> 95 <term id="getkeycodes"><command>getkeycodes</command></term> 96 <listitem> 74 97 <indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm> 75 <para id="getkeycodes"><command>getkeycodes</command> prints the kernel scancode-to-keycode 76 mapping table.</para> 77 98 <para>prints the kernel scancode-to-keycode mapping table.</para> 99 </listitem> 100 </varlistentry> 101 102 <varlistentry> 103 <term id="getunimap"><command>getunimap</command></term> 104 <listitem> 78 105 <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm> 79 <para id="getunimap"><command>getunimap</command> prints the currently used unimap.</para> 80 106 <para>prints the currently used unimap.</para> 107 </listitem> 108 </varlistentry> 109 110 <varlistentry> 111 <term id="kbd_mode"><command>kbd_mode</command></term> 112 <listitem> 81 113 <indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm> 82 <para id="kbd_mode"><command>kbd_mode</command> reports or sets the keyboard mode.</para> 83 114 <para>reports or sets the keyboard mode.</para> 115 </listitem> 116 </varlistentry> 117 118 <varlistentry> 119 <term id="kbdrate"><command>kbdrate</command></term> 120 <listitem> 84 121 <indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm> 85 <para id="kbdrate"><command>kbdrate</command> sets the keyboard repeat and delay rates.</para> 86 122 <para>sets the keyboard repeat and delay rates.</para> 123 </listitem> 124 </varlistentry> 125 126 <varlistentry> 127 <term id="loadkeys"><command>loadkeys</command></term> 128 <listitem> 87 129 <indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm> 88 <para id="loadkeys"><command>loadkeys</command> loads the keyboard translation tables.</para> 89 130 <para>loads the keyboard translation tables.</para> 131 </listitem> 132 </varlistentry> 133 134 <varlistentry> 135 <term id="loadunimap"><command>loadunimap</command></term> 136 <listitem> 90 137 <indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm> 91 <para id="loadunimap"><command>loadunimap</command> loads the kernel unicode-to-font mapping table.</para> 92 138 <para>loads the kernel unicode-to-font mapping table.</para> 139 </listitem> 140 </varlistentry> 141 142 <varlistentry> 143 <term id="mapscrn"><command>mapscrn</command></term> 144 <listitem> 93 145 <indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm> 94 <para id="mapscrn"><command>mapscrn</command>is an obsolete program that used to load146 <para>is an obsolete program that used to load 95 147 a user-defined output character mapping table into the console driver. This is 96 148 now done by setfont.</para> 97 149 </listitem> 150 </varlistentry> 151 152 <varlistentry> 153 <term id="openvt"><command>openvt</command></term> 154 <listitem> 98 155 <indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm> 99 <para id="openvt"><command>openvt</command> starts a program on a new virtual terminal (VT).</para> 100 156 <para>starts a program on a new virtual terminal (VT).</para> 157 </listitem> 158 </varlistentry> 159 160 <varlistentry> 161 <term id="psf"><command>psf*</command></term> 162 <listitem> 101 163 <indexterm zone="ch-system-kbd psf"><primary sortas="b-psf*">psf*</primary></indexterm> 102 <para id="psf"><command>psf*</command> are a set of tools for handling Unicode 103 character tables for console fonts.</para> 104 164 <para>are a set of tools for handling Unicode character tables for console fonts.</para> 165 </listitem> 166 </varlistentry> 167 168 <varlistentry> 169 <term id="resizecons"><command>resizecons</command></term> 170 <listitem> 105 171 <indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm> 106 <para id="resizecons"><command>resizecons</command> changes the kernel idea of the console size.</para> 107 172 <para>changes the kernel idea of the console size.</para> 173 </listitem> 174 </varlistentry> 175 176 <varlistentry> 177 <term id="setfont"><command>setfont</command></term> 178 <listitem> 108 179 <indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm> 109 <para id="setfont"><command>setfont</command> lets you change the EGA/VGA fonts on the console.</para> 110 180 <para>lets you change the EGA/VGA fonts on the console.</para> 181 </listitem> 182 </varlistentry> 183 184 <varlistentry> 185 <term id="setkeycodes"><command>setkeycodes</command></term> 186 <listitem> 111 187 <indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm> 112 <para id="setkeycodes"><command>setkeycodes</command>loads kernel scancode-to-keycode188 <para>loads kernel scancode-to-keycode 113 189 mapping table entries, useful if you have some unusual keys on your keyboard.</para> 114 190 </listitem> 191 </varlistentry> 192 193 <varlistentry> 194 <term id="setleds"><command>setleds</command></term> 195 <listitem> 115 196 <indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm> 116 <para id="setleds"><command>setleds</command>sets the keyboard flags and LEDs. Many197 <para>sets the keyboard flags and LEDs. Many 117 198 people find it useful to have "Num Lock" on by default, setleds +num achieves this.</para> 118 199 </listitem> 200 </varlistentry> 201 202 <varlistentry> 203 <term id="setlogcons"><command>setlogcons</command></term> 204 <listitem> 119 205 <indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm> 120 <para id="setlogcons"><command>setlogcons</command> sends kernel messages to the console.</para> 121 206 <para>sends kernel messages to the console.</para> 207 </listitem> 208 </varlistentry> 209 210 <varlistentry> 211 <term id="setmetamode"><command>setmetamode</command></term> 212 <listitem> 122 213 <indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm> 123 <para id="setmetamode"><command>setmetamode</command> defines the keyboard meta-key handling.</para> 124 214 <para>defines the keyboard meta-key handling.</para> 215 </listitem> 216 </varlistentry> 217 218 <varlistentry> 219 <term id="setvesablank"><command>setvesablank</command></term> 220 <listitem> 125 221 <indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm> 126 <para id="setvesablank"><command>setvesablank</command>lets you fiddle with the built-in222 <para>lets you fiddle with the built-in 127 223 hardware screensaver (no toasters, just a blank screen).</para> 128 224 </listitem> 225 </varlistentry> 226 227 <varlistentry> 228 <term id="showconsolefont"><command>showconsolefont</command></term> 229 <listitem> 129 230 <indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm> 130 <para id="showconsolefont"><command>showconsolefont</command> shows the current EGA/VGA console 131 screen font.</para> 132 231 <para>shows the current EGA/VGA console screen font.</para> 232 </listitem> 233 </varlistentry> 234 235 <varlistentry> 236 <term id="showkey"><command>showkey</command></term> 237 <listitem> 133 238 <indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm> 134 <para id="showkey"><command>showkey</command>reports the scancodes and keycodes and239 <para>reports the scancodes and keycodes and 135 240 ASCII codes of the keys pressed on the keyboard.</para> 136 241 </listitem> 242 </varlistentry> 243 244 <varlistentry> 245 <term id="unicode_start"><command>unicode_start</command></term> 246 <listitem> 137 247 <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm> 138 <para id="unicode_start"><command>unicode_start</command> puts the keyboard and console in 139 UNICODE mode. Never use it on LFS, because applications are not 140 configured to support UNICODE.</para> 141 248 <para>puts the keyboard and console in UNICODE mode. Never use it on LFS, 249 because applications are not configured to support UNICODE.</para> 250 </listitem> 251 </varlistentry> 252 253 <varlistentry> 254 <term id="unicode_stop"><command>unicode_stop</command></term> 255 <listitem> 142 256 <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm> 143 <para id="unicode_stop"><command>unicode_stop</command> reverts keyboard and console from 144 UNICODE mode.</para> 257 <para>reverts keyboard and console from UNICODE mode.</para> 258 </listitem> 259 </varlistentry> 260 </variablelist> 145 261 146 262 </sect2> 147 263 148 149 150 264 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.