source: chapter06/kbd.xml@ 6a0e6f3

Last change on this file since 6a0e6f3 was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

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

  • Property mode set to 100644
File size: 8.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-kbd" xreflabel="Kbd" role="wrap">
8<title>Kbd-&kbd-version;</title>
9<?dbhtml filename="kbd.html"?>
10
11<indexterm zone="ch-system-kbd"><primary sortas="a-Kbd">Kbd</primary></indexterm>
12
13<section role="package"><title/>
14<para>The Kbd package contains key-table files and keyboard utilities.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.1 SBU</seg><seg>12 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Kbd installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Bison, Coreutils,
25Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, Sed</seg></seglistitem>
26</segmentedlist>
27</section>
28
29<section role="installation">
30<title>Installation of Kbd</title>
31
32<para>Prepare Kbd for compilation:</para>
33
34<screen><userinput>./configure</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
40<para>Now install it:</para>
41
42<screen><userinput>make install</userinput></screen>
43
44</section>
45
46<!-- The "Configuring your keyboard" section has been moved to
47Chapter 7 and renamed to "Configuring Linux console" -->
48
49<section xml:id="contents-kbd" role="content"><title>Contents of Kbd</title>
50
51<segmentedlist>
52<segtitle>Installed programs</segtitle>
53<seglistitem><seg>chvt, deallocvt, dumpkeys,
54fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap,
55mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
56psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons,
57setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank,
58showconsolefont, showkey, unicode_start and unicode_stop</seg></seglistitem>
59</segmentedlist>
60
61<variablelist><title>Short descriptions</title>
62
63<varlistentry xml:id="chvt">
64<term><command>chvt</command></term>
65<listitem>
66<indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
67<para>changes the foreground virtual terminal.</para>
68</listitem>
69</varlistentry>
70
71<varlistentry xml:id="deallocvt">
72<term><command>deallocvt</command></term>
73<listitem>
74<indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
75<para>deallocates unused virtual terminals.</para>
76</listitem>
77</varlistentry>
78
79<varlistentry xml:id="dumpkeys">
80<term><command>dumpkeys</command></term>
81<listitem>
82<indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
83<para>dumps the keyboard translation tables.</para>
84</listitem>
85</varlistentry>
86
87<varlistentry xml:id="fgconsole">
88<term><command>fgconsole</command></term>
89<listitem>
90<indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
91<para>prints the number of the active virtual terminal.</para>
92</listitem>
93</varlistentry>
94
95<varlistentry xml:id="getkeycodes">
96<term><command>getkeycodes</command></term>
97<listitem>
98<indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
99<para>prints the kernel scancode-to-keycode mapping table.</para>
100</listitem>
101</varlistentry>
102
103<varlistentry xml:id="getunimap">
104<term><command>getunimap</command></term>
105<listitem>
106<indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
107<para>prints the currently used unimap.</para>
108</listitem>
109</varlistentry>
110
111<varlistentry xml:id="kbd_mode">
112<term><command>kbd_mode</command></term>
113<listitem>
114<indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
115<para>reports or sets the keyboard mode.</para>
116</listitem>
117</varlistentry>
118
119<varlistentry xml:id="kbdrate">
120<term><command>kbdrate</command></term>
121<listitem>
122<indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
123<para>sets the keyboard repeat and delay rates.</para>
124</listitem>
125</varlistentry>
126
127<varlistentry xml:id="loadkeys">
128<term><command>loadkeys</command></term>
129<listitem>
130<indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
131<para>loads the keyboard translation tables.</para>
132</listitem>
133</varlistentry>
134
135<varlistentry xml:id="loadunimap">
136<term><command>loadunimap</command></term>
137<listitem>
138<indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
139<para>loads the kernel unicode-to-font mapping table.</para>
140</listitem>
141</varlistentry>
142
143<varlistentry xml:id="mapscrn">
144<term><command>mapscrn</command></term>
145<listitem>
146<indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
147<para>is an obsolete program that used to load
148a user-defined output character mapping table into the console driver. This is
149now done by <command>setfont</command>.</para>
150</listitem>
151</varlistentry>
152
153<varlistentry xml:id="openvt">
154<term><command>openvt</command></term>
155<listitem>
156<indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
157<para>starts a program on a new virtual terminal (VT).</para>
158</listitem>
159</varlistentry>
160
161<varlistentry xml:id="psf">
162<term><command>psf*</command></term>
163<listitem>
164<indexterm zone="ch-system-kbd psf"><primary sortas="b-psf*">psf*</primary></indexterm>
165<para>are a set of tools for handling Unicode character tables for console fonts.</para>
166</listitem>
167</varlistentry>
168
169<varlistentry xml:id="resizecons">
170<term><command>resizecons</command></term>
171<listitem>
172<indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
173<para>changes the kernel idea of the console size.</para>
174</listitem>
175</varlistentry>
176
177<varlistentry xml:id="setfont">
178<term><command>setfont</command></term>
179<listitem>
180<indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
181<para>lets you change the EGA/VGA fonts on the console.</para>
182</listitem>
183</varlistentry>
184
185<varlistentry xml:id="setkeycodes">
186<term><command>setkeycodes</command></term>
187<listitem>
188<indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
189<para>loads kernel scancode-to-keycode
190mapping table entries, useful if you have some unusual keys on your keyboard.</para>
191</listitem>
192</varlistentry>
193
194<varlistentry xml:id="setleds">
195<term><command>setleds</command></term>
196<listitem>
197<indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
198<para>sets the keyboard flags and LEDs. Many
199people find it useful to have <quote>Num Lock</quote> on by default, <command>setleds +num</command> achieves this.</para>
200</listitem>
201</varlistentry>
202
203<varlistentry xml:id="setlogcons">
204<term><command>setlogcons</command></term>
205<listitem>
206<indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
207<para>sends kernel messages to the console.</para>
208</listitem>
209</varlistentry>
210
211<varlistentry xml:id="setmetamode">
212<term><command>setmetamode</command></term>
213<listitem>
214<indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
215<para>defines the keyboard meta-key handling.</para>
216</listitem>
217</varlistentry>
218
219<varlistentry xml:id="setvesablank">
220<term><command>setvesablank</command></term>
221<listitem>
222<indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
223<para>lets you fiddle with the built-in
224hardware screensaver (no toasters, just a blank screen).</para>
225</listitem>
226</varlistentry>
227
228<varlistentry xml:id="showconsolefont">
229<term><command>showconsolefont</command></term>
230<listitem>
231<indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
232<para>shows the current EGA/VGA console screen font.</para>
233</listitem>
234</varlistentry>
235
236<varlistentry xml:id="showkey">
237<term><command>showkey</command></term>
238<listitem>
239<indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
240<para>reports the scancodes and keycodes and
241ASCII codes of the keys pressed on the keyboard.</para>
242</listitem>
243</varlistentry>
244
245<varlistentry xml:id="unicode_start">
246<term><command>unicode_start</command></term>
247<listitem>
248<indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
249<para>puts the keyboard and console in UNICODE mode. Never use it on LFS,
250because applications are not configured to support UNICODE.</para>
251</listitem>
252</varlistentry>
253
254<varlistentry xml:id="unicode_stop">
255<term><command>unicode_stop</command></term>
256<listitem>
257<indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
258<para>reverts keyboard and console from UNICODE mode.</para>
259</listitem>
260</varlistentry>
261</variablelist>
262
263</section>
264
265</section>
Note: See TracBrowser for help on using the repository browser.