source: clfs-sysroot/BOOK/final-system/common/kbd.xml@ d9bec84

Last change on this file since d9bec84 was 02095ae, checked in by Jim Gifford <clfs@…>, 19 years ago

r3633@server (orig r1649): jciccone | 2006-05-25 16:48:42 -0700
Added the Initial clfs-2.0 branch using sysroot builds.

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