source: chapter06/kbd.xml@ f67ec77a

6.0
Last change on this file since f67ec77a was 752f4e5, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Tags corrections, Chapter 6.

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

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