[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>
|
---|
| 22 | <segtitle>Kbd installation depends on</segtitle>
|
---|
| 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"?>
|
---|
[673b0d8] | 59 |
|
---|
[b8a819f] | 60 | <varlistentry id="chvt">
|
---|
| 61 | <term><command>chvt</command></term>
|
---|
[c6cb3aa] | 62 | <listitem>
|
---|
[2256873] | 63 | <para>Changes the foreground virtual terminal</para>
|
---|
[3ed279f] | 64 | <indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
|
---|
[c6cb3aa] | 65 | </listitem>
|
---|
| 66 | </varlistentry>
|
---|
[673b0d8] | 67 |
|
---|
[b8a819f] | 68 | <varlistentry id="deallocvt">
|
---|
| 69 | <term><command>deallocvt</command></term>
|
---|
[c6cb3aa] | 70 | <listitem>
|
---|
[2256873] | 71 | <para>Deallocates unused virtual terminals</para>
|
---|
[3ed279f] | 72 | <indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
|
---|
[c6cb3aa] | 73 | </listitem>
|
---|
| 74 | </varlistentry>
|
---|
[673b0d8] | 75 |
|
---|
[b8a819f] | 76 | <varlistentry id="dumpkeys">
|
---|
| 77 | <term><command>dumpkeys</command></term>
|
---|
[c6cb3aa] | 78 | <listitem>
|
---|
[2256873] | 79 | <para>Dumps the keyboard translation tables</para>
|
---|
[3ed279f] | 80 | <indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
|
---|
[c6cb3aa] | 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
[673b0d8] | 83 |
|
---|
[b8a819f] | 84 | <varlistentry id="fgconsole">
|
---|
| 85 | <term><command>fgconsole</command></term>
|
---|
[c6cb3aa] | 86 | <listitem>
|
---|
[2256873] | 87 | <para>Prints the number of the active virtual terminal</para>
|
---|
[3ed279f] | 88 | <indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
|
---|
[c6cb3aa] | 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
[673b0d8] | 91 |
|
---|
[b8a819f] | 92 | <varlistentry id="getkeycodes">
|
---|
| 93 | <term><command>getkeycodes</command></term>
|
---|
[c6cb3aa] | 94 | <listitem>
|
---|
[2256873] | 95 | <para>Prints the kernel scancode-to-keycode mapping table</para>
|
---|
[3ed279f] | 96 | <indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
|
---|
[c6cb3aa] | 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
[673b0d8] | 99 |
|
---|
[b8a819f] | 100 | <varlistentry id="getunimap">
|
---|
| 101 | <term><command>getunimap</command></term>
|
---|
[c6cb3aa] | 102 | <listitem>
|
---|
[2256873] | 103 | <para>Prints the currently used unimap</para>
|
---|
[3ed279f] | 104 | <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
|
---|
[c6cb3aa] | 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
[673b0d8] | 107 |
|
---|
[b8a819f] | 108 | <varlistentry id="kbd_mode">
|
---|
| 109 | <term><command>kbd_mode</command></term>
|
---|
[c6cb3aa] | 110 | <listitem>
|
---|
[2256873] | 111 | <para>Reports or sets the keyboard mode</para>
|
---|
[3ed279f] | 112 | <indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
|
---|
[c6cb3aa] | 113 | </listitem>
|
---|
| 114 | </varlistentry>
|
---|
[673b0d8] | 115 |
|
---|
[b8a819f] | 116 | <varlistentry id="kbdrate">
|
---|
| 117 | <term><command>kbdrate</command></term>
|
---|
[c6cb3aa] | 118 | <listitem>
|
---|
[2256873] | 119 | <para>Sets the keyboard repeat and delay rates</para>
|
---|
[3ed279f] | 120 | <indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
|
---|
[c6cb3aa] | 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
[673b0d8] | 123 |
|
---|
[b8a819f] | 124 | <varlistentry id="loadkeys">
|
---|
| 125 | <term><command>loadkeys</command></term>
|
---|
[c6cb3aa] | 126 | <listitem>
|
---|
[2256873] | 127 | <para>Loads the keyboard translation tables</para>
|
---|
[3ed279f] | 128 | <indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
|
---|
[c6cb3aa] | 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
[673b0d8] | 131 |
|
---|
[b8a819f] | 132 | <varlistentry id="loadunimap">
|
---|
| 133 | <term><command>loadunimap</command></term>
|
---|
[c6cb3aa] | 134 | <listitem>
|
---|
[2256873] | 135 | <para>Loads the kernel unicode-to-font mapping table</para>
|
---|
[3ed279f] | 136 | <indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
|
---|
[c6cb3aa] | 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
[673b0d8] | 139 |
|
---|
[b8a819f] | 140 | <varlistentry id="mapscrn">
|
---|
| 141 | <term><command>mapscrn</command></term>
|
---|
[c6cb3aa] | 142 | <listitem>
|
---|
[2256873] | 143 | <para>An obsolete program that used to load
|
---|
| 144 | a user-defined output character mapping table into the console driver; this is
|
---|
| 145 | now done by <command>setfont</command></para>
|
---|
[3ed279f] | 146 | <indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
|
---|
[c6cb3aa] | 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
[5df2845] | 149 |
|
---|
[b8a819f] | 150 | <varlistentry id="openvt">
|
---|
| 151 | <term><command>openvt</command></term>
|
---|
[c6cb3aa] | 152 | <listitem>
|
---|
[2256873] | 153 | <para>Starts a program on a new virtual terminal (VT)</para>
|
---|
[3ed279f] | 154 | <indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
|
---|
[c6cb3aa] | 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
[673b0d8] | 157 |
|
---|
[2256873] | 158 | <varlistentry id="psfaddtable">
|
---|
| 159 | <term><command>psfaddtable</command></term>
|
---|
[c6cb3aa] | 160 | <listitem>
|
---|
[2256873] | 161 | <para>A link to <command>psfxtable</command></para>
|
---|
| 162 | <indexterm zone="ch-system-kbd psfaddtable"><primary sortas="b-psfaddtable">psfaddtable</primary></indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="psfgettable">
|
---|
| 167 | <term><command>psfgettable</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>A link to <command>psfxtable</command></para>
|
---|
| 170 | <indexterm zone="ch-system-kbd psfgettable"><primary sortas="b-psfgettable">psfgettable</primary></indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="psfstriptable">
|
---|
| 175 | <term><command>psfstriptable</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>A link to <command>psfxtable</command></para>
|
---|
| 178 | <indexterm zone="ch-system-kbd psfstriptable"><primary sortas="b-psfstriptable">psfstriptable</primary></indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="psfxtable">
|
---|
| 183 | <term><command>psfxtable</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>Handle Unicode character tables for console fonts</para>
|
---|
| 186 | <indexterm zone="ch-system-kbd psfxtable"><primary sortas="b-psfxtable">psfxtable</primary></indexterm>
|
---|
[c6cb3aa] | 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
[673b0d8] | 189 |
|
---|
[b8a819f] | 190 | <varlistentry id="resizecons">
|
---|
| 191 | <term><command>resizecons</command></term>
|
---|
[c6cb3aa] | 192 | <listitem>
|
---|
[2256873] | 193 | <para>Changes the kernel idea of the console size</para>
|
---|
[3ed279f] | 194 | <indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
|
---|
[c6cb3aa] | 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
[673b0d8] | 197 |
|
---|
[b8a819f] | 198 | <varlistentry id="setfont">
|
---|
| 199 | <term><command>setfont</command></term>
|
---|
[c6cb3aa] | 200 | <listitem>
|
---|
[2256873] | 201 | <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
|
---|
| 202 | Array (VGA) fonts on the console</para>
|
---|
[3ed279f] | 203 | <indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
|
---|
[c6cb3aa] | 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
[673b0d8] | 206 |
|
---|
[b8a819f] | 207 | <varlistentry id="setkeycodes">
|
---|
| 208 | <term><command>setkeycodes</command></term>
|
---|
[c6cb3aa] | 209 | <listitem>
|
---|
[2256873] | 210 | <para>Loads kernel scancode-to-keycode mapping table entries; this is
|
---|
| 211 | useful if there are unusual keys on the keyboard</para>
|
---|
[3ed279f] | 212 | <indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
|
---|
[c6cb3aa] | 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
[673b0d8] | 215 |
|
---|
[b8a819f] | 216 | <varlistentry id="setleds">
|
---|
| 217 | <term><command>setleds</command></term>
|
---|
[c6cb3aa] | 218 | <listitem>
|
---|
[2256873] | 219 | <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
|
---|
[3ed279f] | 220 | <indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
|
---|
[c6cb3aa] | 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
[673b0d8] | 223 |
|
---|
[b8a819f] | 224 | <varlistentry id="setlogcons">
|
---|
| 225 | <term><command>setlogcons</command></term>
|
---|
[c6cb3aa] | 226 | <listitem>
|
---|
[2256873] | 227 | <para>Sends kernel messages to the console</para>
|
---|
[3ed279f] | 228 | <indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
|
---|
[c6cb3aa] | 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
[673b0d8] | 231 |
|
---|
[b8a819f] | 232 | <varlistentry id="setmetamode">
|
---|
| 233 | <term><command>setmetamode</command></term>
|
---|
[c6cb3aa] | 234 | <listitem>
|
---|
[2256873] | 235 | <para>Defines the keyboard meta-key handling</para>
|
---|
[3ed279f] | 236 | <indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
|
---|
[c6cb3aa] | 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
[673b0d8] | 239 |
|
---|
[b8a819f] | 240 | <varlistentry id="setvesablank">
|
---|
| 241 | <term><command>setvesablank</command></term>
|
---|
[c6cb3aa] | 242 | <listitem>
|
---|
[2256873] | 243 | <para>Lets the user adjust the built-in hardware screensaver (a blank
|
---|
| 244 | screen)</para>
|
---|
[3ed279f] | 245 | <indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
|
---|
[c6cb3aa] | 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
[673b0d8] | 248 |
|
---|
[b8a819f] | 249 | <varlistentry id="showconsolefont">
|
---|
| 250 | <term><command>showconsolefont</command></term>
|
---|
[c6cb3aa] | 251 | <listitem>
|
---|
[2256873] | 252 | <para>Shows the current EGA/VGA console screen font</para>
|
---|
[3ed279f] | 253 | <indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
|
---|
[c6cb3aa] | 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
[673b0d8] | 256 |
|
---|
[b8a819f] | 257 | <varlistentry id="showkey">
|
---|
| 258 | <term><command>showkey</command></term>
|
---|
[c6cb3aa] | 259 | <listitem>
|
---|
[2256873] | 260 | <para>Reports the scancodes, keycodes, and ASCII codes of the keys
|
---|
| 261 | pressed on the keyboard</para>
|
---|
[3ed279f] | 262 | <indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
|
---|
[c6cb3aa] | 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
[673b0d8] | 265 |
|
---|
[b8a819f] | 266 | <varlistentry id="unicode_start">
|
---|
| 267 | <term><command>unicode_start</command></term>
|
---|
[c6cb3aa] | 268 | <listitem>
|
---|
[2256873] | 269 | <para>Puts the keyboard and console in UNICODE mode. Never use it on LFS,
|
---|
[c6cb3aa] | 270 | because applications are not configured to support UNICODE.</para>
|
---|
[3ed279f] | 271 | <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
|
---|
[c6cb3aa] | 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
[b8a819f] | 275 | <varlistentry id="unicode_stop">
|
---|
| 276 | <term><command>unicode_stop</command></term>
|
---|
[c6cb3aa] | 277 | <listitem>
|
---|
[2256873] | 278 | <para>Reverts keyboard and console from UNICODE mode</para>
|
---|
[3ed279f] | 279 | <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
|
---|
[c6cb3aa] | 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 | </variablelist>
|
---|
[673b0d8] | 283 |
|
---|
| 284 | </sect2>
|
---|
| 285 |
|
---|
| 286 | </sect1>
|
---|
[ef13657] | 287 |
|
---|