[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c2133bc] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[752f4e5] | 6 | <sect1 id="ch-system-kbd" role="wrap">
|
---|
[673b0d8] | 7 | <title>Kbd-&kbd-version;</title>
|
---|
| 8 | <?dbhtml filename="kbd.html"?>
|
---|
[5df2845] | 9 |
|
---|
[673b0d8] | 10 | <indexterm zone="ch-system-kbd"><primary sortas="a-Kbd">Kbd</primary></indexterm>
|
---|
[5888299] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[673b0d8] | 13 | <para>The Kbd package contains key-table files and keyboard utilities.</para>
|
---|
| 14 |
|
---|
[a001133] | 15 | <segmentedlist>
|
---|
| 16 | <segtitle>&buildtime;</segtitle>
|
---|
| 17 | <segtitle>&diskspace;</segtitle>
|
---|
| 18 | <seglistitem><seg>0.1 SBU</seg><seg>12 MB</seg></seglistitem>
|
---|
| 19 | </segmentedlist>
|
---|
[673b0d8] | 20 |
|
---|
[a001133] | 21 | <segmentedlist>
|
---|
[a0e1913] | 22 | <segtitle>&dependencies;</segtitle>
|
---|
[a001133] | 23 | <seglistitem><seg>Bash, Binutils, Bison, Coreutils,
|
---|
[69993f4] | 24 | Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, and Sed</seg></seglistitem>
|
---|
[a001133] | 25 | </segmentedlist>
|
---|
| 26 | </sect2>
|
---|
[3554fa3a] | 27 |
|
---|
[a001133] | 28 | <sect2 role="installation">
|
---|
[73aedd1d] | 29 | <title>Installation of Kbd</title>
|
---|
| 30 |
|
---|
[9dfc02f] | 31 | <para>Prepare Kbd for compilation:</para>
|
---|
[73aedd1d] | 32 |
|
---|
| 33 | <screen><userinput>./configure</userinput></screen>
|
---|
| 34 |
|
---|
| 35 | <para>Compile the package:</para>
|
---|
| 36 |
|
---|
| 37 | <screen><userinput>make</userinput></screen>
|
---|
| 38 |
|
---|
[ef13657] | 39 | <para>Install the package:</para>
|
---|
[73aedd1d] | 40 |
|
---|
| 41 | <screen><userinput>make install</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | </sect2>
|
---|
[5df2845] | 44 |
|
---|
[c6cb3aa] | 45 | <sect2 id="contents-kbd" role="content"><title>Contents of Kbd</title>
|
---|
[673b0d8] | 46 |
|
---|
[c6cb3aa] | 47 | <segmentedlist>
|
---|
| 48 | <segtitle>Installed programs</segtitle>
|
---|
| 49 | <seglistitem><seg>chvt, deallocvt, dumpkeys,
|
---|
[673b0d8] | 50 | fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap,
|
---|
| 51 | mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
|
---|
| 52 | psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons,
|
---|
| 53 | setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank,
|
---|
[69993f4] | 54 | showconsolefont, showkey, unicode_start, and unicode_stop</seg></seglistitem>
|
---|
[c6cb3aa] | 55 | </segmentedlist>
|
---|
[673b0d8] | 56 |
|
---|
[2256873] | 57 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[3ed279f] | 58 | <?dbfo list-presentation="list"?>
|
---|
[c5f9180] | 59 | <?dbhtml list-presentation="table"?>
|
---|
[673b0d8] | 60 |
|
---|
[b8a819f] | 61 | <varlistentry id="chvt">
|
---|
| 62 | <term><command>chvt</command></term>
|
---|
[c6cb3aa] | 63 | <listitem>
|
---|
[2256873] | 64 | <para>Changes the foreground virtual terminal</para>
|
---|
[3ed279f] | 65 | <indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
|
---|
[c6cb3aa] | 66 | </listitem>
|
---|
| 67 | </varlistentry>
|
---|
[673b0d8] | 68 |
|
---|
[b8a819f] | 69 | <varlistentry id="deallocvt">
|
---|
| 70 | <term><command>deallocvt</command></term>
|
---|
[c6cb3aa] | 71 | <listitem>
|
---|
[2256873] | 72 | <para>Deallocates unused virtual terminals</para>
|
---|
[3ed279f] | 73 | <indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
|
---|
[c6cb3aa] | 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
[673b0d8] | 76 |
|
---|
[b8a819f] | 77 | <varlistentry id="dumpkeys">
|
---|
| 78 | <term><command>dumpkeys</command></term>
|
---|
[c6cb3aa] | 79 | <listitem>
|
---|
[2256873] | 80 | <para>Dumps the keyboard translation tables</para>
|
---|
[3ed279f] | 81 | <indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
|
---|
[c6cb3aa] | 82 | </listitem>
|
---|
| 83 | </varlistentry>
|
---|
[673b0d8] | 84 |
|
---|
[b8a819f] | 85 | <varlistentry id="fgconsole">
|
---|
| 86 | <term><command>fgconsole</command></term>
|
---|
[c6cb3aa] | 87 | <listitem>
|
---|
[2256873] | 88 | <para>Prints the number of the active virtual terminal</para>
|
---|
[3ed279f] | 89 | <indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
|
---|
[c6cb3aa] | 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
[673b0d8] | 92 |
|
---|
[b8a819f] | 93 | <varlistentry id="getkeycodes">
|
---|
| 94 | <term><command>getkeycodes</command></term>
|
---|
[c6cb3aa] | 95 | <listitem>
|
---|
[2256873] | 96 | <para>Prints the kernel scancode-to-keycode mapping table</para>
|
---|
[3ed279f] | 97 | <indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
|
---|
[c6cb3aa] | 98 | </listitem>
|
---|
| 99 | </varlistentry>
|
---|
[673b0d8] | 100 |
|
---|
[b8a819f] | 101 | <varlistentry id="getunimap">
|
---|
| 102 | <term><command>getunimap</command></term>
|
---|
[c6cb3aa] | 103 | <listitem>
|
---|
[2256873] | 104 | <para>Prints the currently used unimap</para>
|
---|
[3ed279f] | 105 | <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
|
---|
[c6cb3aa] | 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
[673b0d8] | 108 |
|
---|
[b8a819f] | 109 | <varlistentry id="kbd_mode">
|
---|
| 110 | <term><command>kbd_mode</command></term>
|
---|
[c6cb3aa] | 111 | <listitem>
|
---|
[2256873] | 112 | <para>Reports or sets the keyboard mode</para>
|
---|
[3ed279f] | 113 | <indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
|
---|
[c6cb3aa] | 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
[673b0d8] | 116 |
|
---|
[b8a819f] | 117 | <varlistentry id="kbdrate">
|
---|
| 118 | <term><command>kbdrate</command></term>
|
---|
[c6cb3aa] | 119 | <listitem>
|
---|
[2256873] | 120 | <para>Sets the keyboard repeat and delay rates</para>
|
---|
[3ed279f] | 121 | <indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
|
---|
[c6cb3aa] | 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
[673b0d8] | 124 |
|
---|
[b8a819f] | 125 | <varlistentry id="loadkeys">
|
---|
| 126 | <term><command>loadkeys</command></term>
|
---|
[c6cb3aa] | 127 | <listitem>
|
---|
[2256873] | 128 | <para>Loads the keyboard translation tables</para>
|
---|
[3ed279f] | 129 | <indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
|
---|
[c6cb3aa] | 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
[673b0d8] | 132 |
|
---|
[b8a819f] | 133 | <varlistentry id="loadunimap">
|
---|
| 134 | <term><command>loadunimap</command></term>
|
---|
[c6cb3aa] | 135 | <listitem>
|
---|
[2256873] | 136 | <para>Loads the kernel unicode-to-font mapping table</para>
|
---|
[3ed279f] | 137 | <indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
|
---|
[c6cb3aa] | 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
[673b0d8] | 140 |
|
---|
[b8a819f] | 141 | <varlistentry id="mapscrn">
|
---|
| 142 | <term><command>mapscrn</command></term>
|
---|
[c6cb3aa] | 143 | <listitem>
|
---|
[2256873] | 144 | <para>An obsolete program that used to load
|
---|
| 145 | a user-defined output character mapping table into the console driver; this is
|
---|
| 146 | now done by <command>setfont</command></para>
|
---|
[3ed279f] | 147 | <indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
|
---|
[c6cb3aa] | 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
[5df2845] | 150 |
|
---|
[b8a819f] | 151 | <varlistentry id="openvt">
|
---|
| 152 | <term><command>openvt</command></term>
|
---|
[c6cb3aa] | 153 | <listitem>
|
---|
[2256873] | 154 | <para>Starts a program on a new virtual terminal (VT)</para>
|
---|
[3ed279f] | 155 | <indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
|
---|
[c6cb3aa] | 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
[673b0d8] | 158 |
|
---|
[2256873] | 159 | <varlistentry id="psfaddtable">
|
---|
| 160 | <term><command>psfaddtable</command></term>
|
---|
[c6cb3aa] | 161 | <listitem>
|
---|
[2256873] | 162 | <para>A link to <command>psfxtable</command></para>
|
---|
| 163 | <indexterm zone="ch-system-kbd psfaddtable"><primary sortas="b-psfaddtable">psfaddtable</primary></indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="psfgettable">
|
---|
| 168 | <term><command>psfgettable</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>A link to <command>psfxtable</command></para>
|
---|
| 171 | <indexterm zone="ch-system-kbd psfgettable"><primary sortas="b-psfgettable">psfgettable</primary></indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="psfstriptable">
|
---|
| 176 | <term><command>psfstriptable</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>A link to <command>psfxtable</command></para>
|
---|
| 179 | <indexterm zone="ch-system-kbd psfstriptable"><primary sortas="b-psfstriptable">psfstriptable</primary></indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="psfxtable">
|
---|
| 184 | <term><command>psfxtable</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>Handle Unicode character tables for console fonts</para>
|
---|
| 187 | <indexterm zone="ch-system-kbd psfxtable"><primary sortas="b-psfxtable">psfxtable</primary></indexterm>
|
---|
[c6cb3aa] | 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
[673b0d8] | 190 |
|
---|
[b8a819f] | 191 | <varlistentry id="resizecons">
|
---|
| 192 | <term><command>resizecons</command></term>
|
---|
[c6cb3aa] | 193 | <listitem>
|
---|
[2256873] | 194 | <para>Changes the kernel idea of the console size</para>
|
---|
[3ed279f] | 195 | <indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
|
---|
[c6cb3aa] | 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
[673b0d8] | 198 |
|
---|
[b8a819f] | 199 | <varlistentry id="setfont">
|
---|
| 200 | <term><command>setfont</command></term>
|
---|
[c6cb3aa] | 201 | <listitem>
|
---|
[2256873] | 202 | <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
|
---|
| 203 | Array (VGA) fonts on the console</para>
|
---|
[3ed279f] | 204 | <indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
|
---|
[c6cb3aa] | 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
[673b0d8] | 207 |
|
---|
[b8a819f] | 208 | <varlistentry id="setkeycodes">
|
---|
| 209 | <term><command>setkeycodes</command></term>
|
---|
[c6cb3aa] | 210 | <listitem>
|
---|
[2256873] | 211 | <para>Loads kernel scancode-to-keycode mapping table entries; this is
|
---|
| 212 | useful if there are unusual keys on the keyboard</para>
|
---|
[3ed279f] | 213 | <indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
|
---|
[c6cb3aa] | 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
[673b0d8] | 216 |
|
---|
[b8a819f] | 217 | <varlistentry id="setleds">
|
---|
| 218 | <term><command>setleds</command></term>
|
---|
[c6cb3aa] | 219 | <listitem>
|
---|
[2256873] | 220 | <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
|
---|
[3ed279f] | 221 | <indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
|
---|
[c6cb3aa] | 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
[673b0d8] | 224 |
|
---|
[b8a819f] | 225 | <varlistentry id="setlogcons">
|
---|
| 226 | <term><command>setlogcons</command></term>
|
---|
[c6cb3aa] | 227 | <listitem>
|
---|
[2256873] | 228 | <para>Sends kernel messages to the console</para>
|
---|
[3ed279f] | 229 | <indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
|
---|
[c6cb3aa] | 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
[673b0d8] | 232 |
|
---|
[b8a819f] | 233 | <varlistentry id="setmetamode">
|
---|
| 234 | <term><command>setmetamode</command></term>
|
---|
[c6cb3aa] | 235 | <listitem>
|
---|
[2256873] | 236 | <para>Defines the keyboard meta-key handling</para>
|
---|
[3ed279f] | 237 | <indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
|
---|
[c6cb3aa] | 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
[673b0d8] | 240 |
|
---|
[b8a819f] | 241 | <varlistentry id="setvesablank">
|
---|
| 242 | <term><command>setvesablank</command></term>
|
---|
[c6cb3aa] | 243 | <listitem>
|
---|
[2256873] | 244 | <para>Lets the user adjust the built-in hardware screensaver (a blank
|
---|
| 245 | screen)</para>
|
---|
[3ed279f] | 246 | <indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
|
---|
[c6cb3aa] | 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
[673b0d8] | 249 |
|
---|
[b8a819f] | 250 | <varlistentry id="showconsolefont">
|
---|
| 251 | <term><command>showconsolefont</command></term>
|
---|
[c6cb3aa] | 252 | <listitem>
|
---|
[2256873] | 253 | <para>Shows the current EGA/VGA console screen font</para>
|
---|
[3ed279f] | 254 | <indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
|
---|
[c6cb3aa] | 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
[673b0d8] | 257 |
|
---|
[b8a819f] | 258 | <varlistentry id="showkey">
|
---|
| 259 | <term><command>showkey</command></term>
|
---|
[c6cb3aa] | 260 | <listitem>
|
---|
[2256873] | 261 | <para>Reports the scancodes, keycodes, and ASCII codes of the keys
|
---|
| 262 | pressed on the keyboard</para>
|
---|
[3ed279f] | 263 | <indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
|
---|
[c6cb3aa] | 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
[673b0d8] | 266 |
|
---|
[b8a819f] | 267 | <varlistentry id="unicode_start">
|
---|
| 268 | <term><command>unicode_start</command></term>
|
---|
[c6cb3aa] | 269 | <listitem>
|
---|
[2256873] | 270 | <para>Puts the keyboard and console in UNICODE mode. Never use it on LFS,
|
---|
[c6cb3aa] | 271 | because applications are not configured to support UNICODE.</para>
|
---|
[3ed279f] | 272 | <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
|
---|
[c6cb3aa] | 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[b8a819f] | 276 | <varlistentry id="unicode_stop">
|
---|
| 277 | <term><command>unicode_stop</command></term>
|
---|
[c6cb3aa] | 278 | <listitem>
|
---|
[2256873] | 279 | <para>Reverts keyboard and console from UNICODE mode</para>
|
---|
[3ed279f] | 280 | <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
|
---|
[c6cb3aa] | 281 | </listitem>
|
---|
| 282 | </varlistentry>
|
---|
| 283 | </variablelist>
|
---|
[673b0d8] | 284 |
|
---|
| 285 | </sect2>
|
---|
| 286 |
|
---|
| 287 | </sect1>
|
---|
[ef13657] | 288 |
|
---|