source: chapter06/kbd.xml@ 1dc34de7

6.0
Last change on this file since 1dc34de7 was ef13657, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4000 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 8.7 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[a001133]6<sect1 id="ch-system-kbd" xreflabel="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,
24Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, Sed</seg></seglistitem>
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]50fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap,
51mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
52psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons,
53setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank,
[c6cb3aa]54showconsolefont, showkey, unicode_start and unicode_stop</seg></seglistitem>
55</segmentedlist>
[673b0d8]56
[c6cb3aa]57<variablelist><title>Short descriptions</title>
[673b0d8]58
[b8a819f]59<varlistentry id="chvt">
60<term><command>chvt</command></term>
[c6cb3aa]61<listitem>
[673b0d8]62<indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
[c6cb3aa]63<para>changes the foreground virtual terminal.</para>
64</listitem>
65</varlistentry>
[673b0d8]66
[b8a819f]67<varlistentry id="deallocvt">
68<term><command>deallocvt</command></term>
[c6cb3aa]69<listitem>
[673b0d8]70<indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
[c6cb3aa]71<para>deallocates unused virtual terminals.</para>
72</listitem>
73</varlistentry>
[673b0d8]74
[b8a819f]75<varlistentry id="dumpkeys">
76<term><command>dumpkeys</command></term>
[c6cb3aa]77<listitem>
[673b0d8]78<indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
[c6cb3aa]79<para>dumps the keyboard translation tables.</para>
80</listitem>
81</varlistentry>
[673b0d8]82
[b8a819f]83<varlistentry id="fgconsole">
84<term><command>fgconsole</command></term>
[c6cb3aa]85<listitem>
[673b0d8]86<indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
[c6cb3aa]87<para>prints the number of the active virtual terminal.</para>
88</listitem>
89</varlistentry>
[673b0d8]90
[b8a819f]91<varlistentry id="getkeycodes">
92<term><command>getkeycodes</command></term>
[c6cb3aa]93<listitem>
[673b0d8]94<indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
[c6cb3aa]95<para>prints the kernel scancode-to-keycode mapping table.</para>
96</listitem>
97</varlistentry>
[673b0d8]98
[b8a819f]99<varlistentry id="getunimap">
100<term><command>getunimap</command></term>
[c6cb3aa]101<listitem>
[673b0d8]102<indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
[c6cb3aa]103<para>prints the currently used unimap.</para>
104</listitem>
105</varlistentry>
[673b0d8]106
[b8a819f]107<varlistentry id="kbd_mode">
108<term><command>kbd_mode</command></term>
[c6cb3aa]109<listitem>
[673b0d8]110<indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
[c6cb3aa]111<para>reports or sets the keyboard mode.</para>
112</listitem>
113</varlistentry>
[673b0d8]114
[b8a819f]115<varlistentry id="kbdrate">
116<term><command>kbdrate</command></term>
[c6cb3aa]117<listitem>
[673b0d8]118<indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
[c6cb3aa]119<para>sets the keyboard repeat and delay rates.</para>
120</listitem>
121</varlistentry>
[673b0d8]122
[b8a819f]123<varlistentry id="loadkeys">
124<term><command>loadkeys</command></term>
[c6cb3aa]125<listitem>
[673b0d8]126<indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
[c6cb3aa]127<para>loads the keyboard translation tables.</para>
128</listitem>
129</varlistentry>
[673b0d8]130
[b8a819f]131<varlistentry id="loadunimap">
132<term><command>loadunimap</command></term>
[c6cb3aa]133<listitem>
[673b0d8]134<indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
[c6cb3aa]135<para>loads the kernel unicode-to-font mapping table.</para>
136</listitem>
137</varlistentry>
[673b0d8]138
[b8a819f]139<varlistentry id="mapscrn">
140<term><command>mapscrn</command></term>
[c6cb3aa]141<listitem>
[673b0d8]142<indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
[ef13657]143<para>an obsolete program that used to load
144a user-defined output character mapping tables into the console driver. This is
[ef57e3b]145now done by <command>setfont</command>.</para>
[c6cb3aa]146</listitem>
147</varlistentry>
[5df2845]148
[b8a819f]149<varlistentry id="openvt">
150<term><command>openvt</command></term>
[c6cb3aa]151<listitem>
[673b0d8]152<indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
[c6cb3aa]153<para>starts a program on a new virtual terminal (VT).</para>
154</listitem>
155</varlistentry>
[673b0d8]156
[b8a819f]157<varlistentry id="psf">
158<term><command>psf*</command></term>
[c6cb3aa]159<listitem>
[673b0d8]160<indexterm zone="ch-system-kbd psf"><primary sortas="b-psf*">psf*</primary></indexterm>
[ef13657]161<para>are a set of tools for handling Unicode character tables for
162console fonts.</para>
[c6cb3aa]163</listitem>
164</varlistentry>
[673b0d8]165
[b8a819f]166<varlistentry id="resizecons">
167<term><command>resizecons</command></term>
[c6cb3aa]168<listitem>
[673b0d8]169<indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
[c6cb3aa]170<para>changes the kernel idea of the console size.</para>
171</listitem>
172</varlistentry>
[673b0d8]173
[b8a819f]174<varlistentry id="setfont">
175<term><command>setfont</command></term>
[c6cb3aa]176<listitem>
[673b0d8]177<indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
[c6cb3aa]178<para>lets you change the EGA/VGA fonts on the console.</para>
179</listitem>
180</varlistentry>
[673b0d8]181
[b8a819f]182<varlistentry id="setkeycodes">
183<term><command>setkeycodes</command></term>
[c6cb3aa]184<listitem>
[673b0d8]185<indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
[ef13657]186<para>loads kernel scancode-to-keycode mapping table entries. This is
187useful if ther are unusual keys on your keyboard.</para>
[c6cb3aa]188</listitem>
189</varlistentry>
[673b0d8]190
[b8a819f]191<varlistentry id="setleds">
192<term><command>setleds</command></term>
[c6cb3aa]193<listitem>
[673b0d8]194<indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
[ef13657]195<para>sets the keyboard flags and LEDs. For example, many people find
196it useful to have <quote>Num Lock</quote> on by default.</para>
[c6cb3aa]197</listitem>
198</varlistentry>
[673b0d8]199
[b8a819f]200<varlistentry id="setlogcons">
201<term><command>setlogcons</command></term>
[c6cb3aa]202<listitem>
[673b0d8]203<indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
[c6cb3aa]204<para>sends kernel messages to the console.</para>
205</listitem>
206</varlistentry>
[673b0d8]207
[b8a819f]208<varlistentry id="setmetamode">
209<term><command>setmetamode</command></term>
[c6cb3aa]210<listitem>
[673b0d8]211<indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
[c6cb3aa]212<para>defines the keyboard meta-key handling.</para>
213</listitem>
214</varlistentry>
[673b0d8]215
[b8a819f]216<varlistentry id="setvesablank">
217<term><command>setvesablank</command></term>
[c6cb3aa]218<listitem>
[673b0d8]219<indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
[ef13657]220<para>lets you fiddle with the built-in hardware screensaver (a blank
221screen).</para>
[c6cb3aa]222</listitem>
223</varlistentry>
[673b0d8]224
[b8a819f]225<varlistentry id="showconsolefont">
226<term><command>showconsolefont</command></term>
[c6cb3aa]227<listitem>
[673b0d8]228<indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
[c6cb3aa]229<para>shows the current EGA/VGA console screen font.</para>
230</listitem>
231</varlistentry>
[673b0d8]232
[b8a819f]233<varlistentry id="showkey">
234<term><command>showkey</command></term>
[c6cb3aa]235<listitem>
[673b0d8]236<indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
[ef13657]237<para>reports the scancodes,keycodes, and ASCII codes of the keys
238pressed on the keyboard.</para>
[c6cb3aa]239</listitem>
240</varlistentry>
[673b0d8]241
[b8a819f]242<varlistentry id="unicode_start">
243<term><command>unicode_start</command></term>
[c6cb3aa]244<listitem>
[673b0d8]245<indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
[c6cb3aa]246<para>puts the keyboard and console in UNICODE mode. Never use it on LFS,
247because applications are not configured to support UNICODE.</para>
248</listitem>
249</varlistentry>
250
[b8a819f]251<varlistentry id="unicode_stop">
252<term><command>unicode_stop</command></term>
[c6cb3aa]253<listitem>
[673b0d8]254<indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
[c6cb3aa]255<para>reverts keyboard and console from UNICODE mode.</para>
256</listitem>
257</varlistentry>
258</variablelist>
[673b0d8]259
260</sect2>
261
262</sect1>
[ef13657]263
Note: See TracBrowser for help on using the repository browser.