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

Last change on this file since 59fb197 was 59fb197, checked in by Jim Gifford <clfs@…>, 18 years ago

r3817@server (orig r1719): jciccone | 2006-06-05 13:56:36 -0700
Brought the clfs-2.0 branch up to trunk.

  • Property mode set to 100644
File size: 11.2 KB
RevLine 
[02095ae]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>
[59fb197]65        <seg>chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbd_mode,
66        kbdrate, loadkeys, loadunimap, mapscrn, openvt, psfaddtable
[02095ae]67        (link to psfxtable), psfgettable (link to psfxtable), psfstriptable
68        (link to psfxtable), psfxtable, resizecons, setfont, setkeycodes,
[59fb197]69        setleds, setmetamode, showconsolefont, showkey, unicode_start, and
70        unicode_stop</seg>
[02095ae]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="kbd_mode">
130        <term><command>kbd_mode</command></term>
131        <listitem>
132          <para>Reports or sets the keyboard mode</para>
133          <indexterm zone="ch-system-kbd kbd_mode">
134            <primary sortas="b-kbd_mode">kbd_mode</primary>
135          </indexterm>
136        </listitem>
137      </varlistentry>
138
139      <varlistentry id="kbdrate">
140        <term><command>kbdrate</command></term>
141        <listitem>
142          <para>Sets the keyboard repeat and delay rates</para>
143          <indexterm zone="ch-system-kbd kbdrate">
144            <primary sortas="b-kbdrate">kbdrate</primary>
145          </indexterm>
146        </listitem>
147      </varlistentry>
148
149      <varlistentry id="loadkeys">
150        <term><command>loadkeys</command></term>
151        <listitem>
152          <para>Loads the keyboard translation tables</para>
153          <indexterm zone="ch-system-kbd loadkeys">
154            <primary sortas="b-loadkeys">loadkeys</primary>
155          </indexterm>
156        </listitem>
157      </varlistentry>
158
159      <varlistentry id="loadunimap">
160        <term><command>loadunimap</command></term>
161        <listitem>
162          <para>Loads the kernel unicode-to-font mapping table</para>
163          <indexterm zone="ch-system-kbd loadunimap">
164            <primary sortas="b-loadunimap">loadunimap</primary>
165          </indexterm>
166        </listitem>
167      </varlistentry>
168
169      <varlistentry id="mapscrn">
170        <term><command>mapscrn</command></term>
171        <listitem>
172          <para>An obsolete program that used to load a user-defined output
173          character mapping table into the console driver; this is now done
174          by <command>setfont</command></para>
175          <indexterm zone="ch-system-kbd mapscrn">
176            <primary sortas="b-mapscrn">mapscrn</primary>
177          </indexterm>
178        </listitem>
179      </varlistentry>
180
181      <varlistentry id="openvt">
182        <term><command>openvt</command></term>
183        <listitem>
184          <para>Starts a program on a new virtual terminal (VT)</para>
185          <indexterm zone="ch-system-kbd openvt">
186            <primary sortas="b-openvt">openvt</primary>
187          </indexterm>
188        </listitem>
189      </varlistentry>
190
191      <varlistentry id="psfaddtable">
192        <term><command>psfaddtable</command></term>
193        <listitem>
194          <para>A link to <command>psfxtable</command></para>
195          <indexterm zone="ch-system-kbd psfaddtable">
196            <primary sortas="b-psfaddtable">psfaddtable</primary>
197          </indexterm>
198        </listitem>
199      </varlistentry>
200
201      <varlistentry id="psfgettable">
202        <term><command>psfgettable</command></term>
203        <listitem>
204          <para>A link to <command>psfxtable</command></para>
205          <indexterm zone="ch-system-kbd psfgettable">
206            <primary sortas="b-psfgettable">psfgettable</primary>
207          </indexterm>
208        </listitem>
209      </varlistentry>
210
211      <varlistentry id="psfstriptable">
212        <term><command>psfstriptable</command></term>
213        <listitem>
214          <para>A link to <command>psfxtable</command></para>
215          <indexterm zone="ch-system-kbd psfstriptable">
216            <primary sortas="b-psfstriptable">psfstriptable</primary>
217          </indexterm>
218        </listitem>
219      </varlistentry>
220
221      <varlistentry id="psfxtable">
222        <term><command>psfxtable</command></term>
223        <listitem>
224          <para>Handle Unicode character tables for console fonts</para>
225          <indexterm zone="ch-system-kbd psfxtable">
226            <primary sortas="b-psfxtable">psfxtable</primary>
227          </indexterm>
228        </listitem>
229      </varlistentry>
230
231      <varlistentry id="resizecons">
232        <term><command>resizecons</command></term>
233        <listitem>
234          <para>Changes the kernel idea of the console size</para>
235          <indexterm zone="ch-system-kbd resizecons">
236            <primary sortas="b-resizecons">resizecons</primary>
237          </indexterm>
238        </listitem>
239      </varlistentry>
240
241      <varlistentry id="setfont">
242        <term><command>setfont</command></term>
243        <listitem>
244          <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
245          Array (VGA) fonts on the console</para>
246          <indexterm zone="ch-system-kbd setfont">
247            <primary sortas="b-setfont">setfont</primary>
248          </indexterm>
249        </listitem>
250      </varlistentry>
251
252      <varlistentry id="setkeycodes">
253        <term><command>setkeycodes</command></term>
254        <listitem>
255          <para>Loads kernel scancode-to-keycode mapping table entries; this is
256          useful if there are unusual keys on the keyboard</para>
257          <indexterm zone="ch-system-kbd setkeycodes">
258            <primary sortas="b-setkeycodes">setkeycodes</primary>
259          </indexterm>
260        </listitem>
261      </varlistentry>
262
263      <varlistentry id="setleds">
264        <term><command>setleds</command></term>
265        <listitem>
266          <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
267          <indexterm zone="ch-system-kbd setleds">
268            <primary sortas="b-setleds">setleds</primary>
269          </indexterm>
270        </listitem>
271      </varlistentry>
272
273      <varlistentry id="setmetamode">
274        <term><command>setmetamode</command></term>
275        <listitem>
276          <para>Defines the keyboard meta-key handling</para>
277          <indexterm zone="ch-system-kbd setmetamode">
278            <primary sortas="b-setmetamode">setmetamode</primary>
279          </indexterm>
280        </listitem>
281      </varlistentry>
282
283      <varlistentry id="showconsolefont">
284        <term><command>showconsolefont</command></term>
285        <listitem>
286          <para>Shows the current EGA/VGA console screen font</para>
287          <indexterm zone="ch-system-kbd showconsolefont">
288            <primary sortas="b-showconsolefont">showconsolefont</primary>
289          </indexterm>
290        </listitem>
291      </varlistentry>
292
293      <varlistentry id="showkey">
294        <term><command>showkey</command></term>
295        <listitem>
296          <para>Reports the scancodes, keycodes, and ASCII codes of the keys
297          pressed on the keyboard</para>
298          <indexterm zone="ch-system-kbd showkey">
299            <primary sortas="b-showkey">showkey</primary>
300          </indexterm>
301        </listitem>
302      </varlistentry>
303
304      <varlistentry id="unicode_start">
305        <term><command>unicode_start</command></term>
306        <listitem>
307          <para>Puts the keyboard and console in UNICODE mode. Never use it on
308          LFS, because applications are not configured to support UNICODE.</para>
309          <indexterm zone="ch-system-kbd unicode_start">
310            <primary sortas="b-unicode_start">unicode_start</primary>
311          </indexterm>
312        </listitem>
313      </varlistentry>
314
315      <varlistentry id="unicode_stop">
316        <term><command>unicode_stop</command></term>
317        <listitem>
318          <para>Reverts keyboard and console from UNICODE mode</para>
319          <indexterm zone="ch-system-kbd unicode_stop">
320            <primary sortas="b-unicode_stop">unicode_stop</primary>
321          </indexterm>
322        </listitem>
323      </varlistentry>
324
325    </variablelist>
326
327  </sect2>
328
329</sect1>
Note: See TracBrowser for help on using the repository browser.