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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cfb2026a was 1718e20, checked in by Joe Ciccone <jciccone@…>, 13 years ago

Merge branch 'master' into systemd

Conflicts:

BOOK/final-system/common/kbd.xml

  • Property mode set to 100644
File size: 11.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Kbd</title>
27
28 <para os="p1">Apply the following patch to fix a typo in es.po:</para>
29
30 <screen os="p2"><userinput>patch -Np1 -i ../&kbd-espo-patch;</userinput></screen>
31
32 <para os="a">Prepare Kbd for compilation:</para>
33
34<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
35
36 <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">This package does not come with a test suite.</para>
41
42 <para os="f">Install the package:</para>
43
44<screen os="g"><userinput>make install</userinput></screen>
45
46 <para os="h">Some of the programs from Kbd are used by systemd to
47 initialize the system, those binaries need to be on the root
48 partition:</para>
49
50<screen os="i"><userinput>mv -v /usr/bin/{loadkeys,setfont} /bin</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-kbd" role="content">
55 <title>Contents of Kbd</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59 <segtitle>Installed directories</segtitle>
60
61 <seglistitem>
62 <seg>chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbdinfo,
63 kbd_mode, kbdrate, loadkeys, loadunimap, mapscrn, openvt, psfaddtable
64 (link to psfxtable), psfgettable (link to psfxtable), psfstriptable
65 (link to psfxtable), psfxtable, resizecons, setfont, setkeycodes,
66 setleds, setmetamode, setvtrgb, showconsolefont, showkey,
67 unicode_start, and unicode_stop</seg>
68 <seg>/usr/share/consolefonts, /usr/share/consoletrans,
69 /usr/share/keymaps, /usr/share/unimaps</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="kbdinfo">
129 <term><command>kbdinfo</command></term>
130 <listitem>
131 <para>Obtains information about the console</para>
132 <indexterm zone="ch-system-kbd kbdinfo">
133 <primary sortas="b-kbdinfo">kbdinfo</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="setmetamode">
283 <term><command>setmetamode</command></term>
284 <listitem>
285 <para>Defines the keyboard meta-key handling</para>
286 <indexterm zone="ch-system-kbd setmetamode">
287 <primary sortas="b-setmetamode">setmetamode</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="setvtrgb">
293 <term><command>setvtrgb</command></term>
294 <listitem>
295 <para>Sets the virtal terminal RGB colors</para>
296 <indexterm zone="ch-system-kbd setvtrgb">
297 <primary sortas="b-setvtrgb">setvtrgb</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="showconsolefont">
303 <term><command>showconsolefont</command></term>
304 <listitem>
305 <para>Shows the current EGA/VGA console screen font</para>
306 <indexterm zone="ch-system-kbd showconsolefont">
307 <primary sortas="b-showconsolefont">showconsolefont</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="showkey">
313 <term><command>showkey</command></term>
314 <listitem>
315 <para>Reports the scancodes, keycodes, and ASCII codes of the keys
316 pressed on the keyboard</para>
317 <indexterm zone="ch-system-kbd showkey">
318 <primary sortas="b-showkey">showkey</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="unicode_start">
324 <term><command>unicode_start</command></term>
325 <listitem>
326 <para>Puts the keyboard and console in UNICODE mode. Never use it on
327 CLFS, because applications are not configured to support UNICODE.</para>
328 <indexterm zone="ch-system-kbd unicode_start">
329 <primary sortas="b-unicode_start">unicode_start</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="unicode_stop">
335 <term><command>unicode_stop</command></term>
336 <listitem>
337 <para>Reverts keyboard and console from UNICODE mode</para>
338 <indexterm zone="ch-system-kbd unicode_stop">
339 <primary sortas="b-unicode_stop">unicode_stop</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 </variablelist>
345
346 </sect2>
347
348</sect1>
Note: See TracBrowser for help on using the repository browser.