source: final-system/common/kbd.xml@ 5f616c4

Last change on this file since 5f616c4 was 6d432ef, checked in by Jim Gifford <clfs@…>, 18 years ago

r4333@server: jim | 2006-07-05 10:14:39 -0700

Fixes a possible issue with bootscripts if the
the /usr partition is not mounted during startup. Moved find to /bin and
moved some kbd utilities to /bin.


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