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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since aa3b549 was 61ad0b7f, checked in by Chris Staub <chris@…>, 15 years ago

Added installed directory info for a number of packages

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