source: BOOK/final-system/common/kbd.xml@ aeb56828

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since aeb56828 was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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