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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4317f44 was f7e91f6, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Move loadkeys and setfont to /bin for systemd.

  • Property mode set to 100644
File size: 11.0 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="a">Prepare Kbd for compilation:</para>
29
30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">This package does not come with a test suite.</para>
37
38 <para os="f">Install the package:</para>
39
40<screen os="g"><userinput>make install</userinput></screen>
41
42 <para os="h">Some of the programs from Kbd are used by systemd to
43 initialize the system, those binaries need to be on the root
44 partition:</para>
45
46<screen os="i"><userinput>mv -v /usr/bin/{loadkeys,setfont} /bin</userinput></screen>
47
48 </sect2>
49
50 <sect2 id="contents-kbd" role="content">
51 <title>Contents of Kbd</title>
52
53 <segmentedlist>
54 <segtitle>Installed programs</segtitle>
55 <segtitle>Installed directories</segtitle>
56
57 <seglistitem>
58 <seg>chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbd_mode,
59 kbdrate, loadkeys, loadunimap, mapscrn, openvt, psfaddtable
60 (link to psfxtable), psfgettable (link to psfxtable), psfstriptable
61 (link to psfxtable), psfxtable, resizecons, setfont, setkeycodes,
62 setleds, setmetamode, showconsolefont, showkey, unicode_start, and
63 unicode_stop</seg>
64 <seg>/usr/share/consolefonts, /usr/share/consoletrans,
65 /usr/share/keymaps, /usr/share/unimaps</seg>
66 </seglistitem>
67 </segmentedlist>
68
69 <variablelist>
70 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
71 <?dbfo list-presentation="list"?>
72 <?dbhtml list-presentation="table"?>
73
74 <varlistentry id="chvt">
75 <term><command>chvt</command></term>
76 <listitem>
77 <para>Changes the foreground virtual terminal</para>
78 <indexterm zone="ch-system-kbd chvt">
79 <primary sortas="b-chvt">chvt</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry id="deallocvt">
85 <term><command>deallocvt</command></term>
86 <listitem>
87 <para>Deallocates unused virtual terminals</para>
88 <indexterm zone="ch-system-kbd deallocvt">
89 <primary sortas="b-deallocvt">deallocvt</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry id="dumpkeys">
95 <term><command>dumpkeys</command></term>
96 <listitem>
97 <para>Dumps the keyboard translation tables</para>
98 <indexterm zone="ch-system-kbd dumpkeys">
99 <primary sortas="b-dumpkeys">dumpkeys</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="fgconsole">
105 <term><command>fgconsole</command></term>
106 <listitem>
107 <para>Prints the number of the active virtual terminal</para>
108 <indexterm zone="ch-system-kbd fgconsole">
109 <primary sortas="b-fgconsole">fgconsole</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="getkeycodes">
115 <term><command>getkeycodes</command></term>
116 <listitem>
117 <para>Prints the kernel scancode-to-keycode mapping table</para>
118 <indexterm zone="ch-system-kbd getkeycodes">
119 <primary sortas="b-getkeycodes">getkeycodes</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="kbd_mode">
125 <term><command>kbd_mode</command></term>
126 <listitem>
127 <para>Reports or sets the keyboard mode</para>
128 <indexterm zone="ch-system-kbd kbd_mode">
129 <primary sortas="b-kbd_mode">kbd_mode</primary>
130 </indexterm>
131 </listitem>
132 </varlistentry>
133
134 <varlistentry id="kbdrate">
135 <term><command>kbdrate</command></term>
136 <listitem>
137 <para>Sets the keyboard repeat and delay rates</para>
138 <indexterm zone="ch-system-kbd kbdrate">
139 <primary sortas="b-kbdrate">kbdrate</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="loadkeys">
145 <term><command>loadkeys</command></term>
146 <listitem>
147 <para>Loads the keyboard translation tables</para>
148 <indexterm zone="ch-system-kbd loadkeys">
149 <primary sortas="b-loadkeys">loadkeys</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="loadunimap">
155 <term><command>loadunimap</command></term>
156 <listitem>
157 <para>Loads the kernel unicode-to-font mapping table</para>
158 <indexterm zone="ch-system-kbd loadunimap">
159 <primary sortas="b-loadunimap">loadunimap</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="mapscrn">
165 <term><command>mapscrn</command></term>
166 <listitem>
167 <para>An obsolete program that used to load a user-defined output
168 character mapping table into the console driver; this is now done
169 by <command>setfont</command></para>
170 <indexterm zone="ch-system-kbd mapscrn">
171 <primary sortas="b-mapscrn">mapscrn</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="openvt">
177 <term><command>openvt</command></term>
178 <listitem>
179 <para>Starts a program on a new virtual terminal (VT)</para>
180 <indexterm zone="ch-system-kbd openvt">
181 <primary sortas="b-openvt">openvt</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="psfaddtable">
187 <term><command>psfaddtable</command></term>
188 <listitem>
189 <para>A link to <command>psfxtable</command></para>
190 <indexterm zone="ch-system-kbd psfaddtable">
191 <primary sortas="b-psfaddtable">psfaddtable</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="psfgettable">
197 <term><command>psfgettable</command></term>
198 <listitem>
199 <para>A link to <command>psfxtable</command></para>
200 <indexterm zone="ch-system-kbd psfgettable">
201 <primary sortas="b-psfgettable">psfgettable</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="psfstriptable">
207 <term><command>psfstriptable</command></term>
208 <listitem>
209 <para>A link to <command>psfxtable</command></para>
210 <indexterm zone="ch-system-kbd psfstriptable">
211 <primary sortas="b-psfstriptable">psfstriptable</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="psfxtable">
217 <term><command>psfxtable</command></term>
218 <listitem>
219 <para>Handle Unicode character tables for console fonts</para>
220 <indexterm zone="ch-system-kbd psfxtable">
221 <primary sortas="b-psfxtable">psfxtable</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="resizecons">
227 <term><command>resizecons</command></term>
228 <listitem>
229 <para>Changes the kernel idea of the console size</para>
230 <indexterm zone="ch-system-kbd resizecons">
231 <primary sortas="b-resizecons">resizecons</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="setfont">
237 <term><command>setfont</command></term>
238 <listitem>
239 <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
240 Array (VGA) fonts on the console</para>
241 <indexterm zone="ch-system-kbd setfont">
242 <primary sortas="b-setfont">setfont</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="setkeycodes">
248 <term><command>setkeycodes</command></term>
249 <listitem>
250 <para>Loads kernel scancode-to-keycode mapping table entries; this is
251 useful if there are unusual keys on the keyboard</para>
252 <indexterm zone="ch-system-kbd setkeycodes">
253 <primary sortas="b-setkeycodes">setkeycodes</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="setleds">
259 <term><command>setleds</command></term>
260 <listitem>
261 <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
262 <indexterm zone="ch-system-kbd setleds">
263 <primary sortas="b-setleds">setleds</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="setmetamode">
269 <term><command>setmetamode</command></term>
270 <listitem>
271 <para>Defines the keyboard meta-key handling</para>
272 <indexterm zone="ch-system-kbd setmetamode">
273 <primary sortas="b-setmetamode">setmetamode</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="showconsolefont">
279 <term><command>showconsolefont</command></term>
280 <listitem>
281 <para>Shows the current EGA/VGA console screen font</para>
282 <indexterm zone="ch-system-kbd showconsolefont">
283 <primary sortas="b-showconsolefont">showconsolefont</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="showkey">
289 <term><command>showkey</command></term>
290 <listitem>
291 <para>Reports the scancodes, keycodes, and ASCII codes of the keys
292 pressed on the keyboard</para>
293 <indexterm zone="ch-system-kbd showkey">
294 <primary sortas="b-showkey">showkey</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="unicode_start">
300 <term><command>unicode_start</command></term>
301 <listitem>
302 <para>Puts the keyboard and console in UNICODE mode. Never use it on
303 CLFS, because applications are not configured to support UNICODE.</para>
304 <indexterm zone="ch-system-kbd unicode_start">
305 <primary sortas="b-unicode_start">unicode_start</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="unicode_stop">
311 <term><command>unicode_stop</command></term>
312 <listitem>
313 <para>Reverts keyboard and console from UNICODE mode</para>
314 <indexterm zone="ch-system-kbd unicode_stop">
315 <primary sortas="b-unicode_stop">unicode_stop</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 </variablelist>
321
322 </sect2>
323
324</sect1>
Note: See TracBrowser for help on using the repository browser.