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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 1da2a84 was 1da2a84, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Checked and Updated Download Locations.
Updated Tree to 1.5.2.1.
Updated Util-Linux-NG to 2.14.1.
Updated TCL to 8.5.4.
Updated E2fsprogs to 1.41.1.
Updated M4 to 1.4.11.
Updated Kbd to 1.14.
Updated Bzip2 to 1.0.5.
Updated Autoconf to 2.63.
Updated Findutils to 4.4.0.
Updated Man-Pages to 3.09.
Updated Man to 1.6f.
Updated Shadow to 4.1.2.1.
Updated IPRoute2 to 2.6.26.
Updated Libtool to 2.2.6a.
Updated Module-Init-Tools to 3.4.1.
Updated Texinfo to 4.12.
Updated Vim to 7.2.
Updated MPFR to 2.3.2.
Updated Udev to 128.
Updated Linux to 2.6.26.5.
Applied fixes to Expect to make it compatible with TCL 8.5.
Add -Duseshrplib to the perl configure command. This causes perl to build a shared libperl.
Formatting fixes on multiple pages.
Use a Common inittab across all architectures.
Updated Bootscripts to 1.2-pre1.

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