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

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since dd6e32c was dd6e32c, checked in by Joe Ciccone <jciccone@…>, 13 years ago

Do not move programs from /usr/bin to /bin from kbd for the express purpose of supporting the bootscripts.

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