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