1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-kbd" role="wrap">
|
---|
7 | <title>Kbd-&kbd-version;</title>
|
---|
8 | <?dbhtml filename="kbd.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-kbd"><primary sortas="a-Kbd">Kbd</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 | <para>The Kbd package contains key-table files and keyboard utilities.</para>
|
---|
14 |
|
---|
15 | <segmentedlist>
|
---|
16 | <segtitle>&buildtime;</segtitle>
|
---|
17 | <segtitle>&diskspace;</segtitle>
|
---|
18 | <seglistitem><seg>0.1 SBU</seg><seg>11.8 MB</seg></seglistitem>
|
---|
19 | </segmentedlist>
|
---|
20 |
|
---|
21 | <segmentedlist>
|
---|
22 | <segtitle>&dependencies;</segtitle>
|
---|
23 | <seglistitem><seg>Bash, Binutils, Bison, Coreutils,
|
---|
24 | Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, and Sed</seg></seglistitem>
|
---|
25 | </segmentedlist>
|
---|
26 | </sect2>
|
---|
27 |
|
---|
28 | <sect2 role="installation">
|
---|
29 | <title>Installation of Kbd</title>
|
---|
30 |
|
---|
31 | <para>Patch Kbd to fix a bug in <command>setfont</command> that is triggered
|
---|
32 | when compiling with GCC-&gcc-version;:</para>
|
---|
33 |
|
---|
34 | <screen><userinput>patch -Np1 -i ../&kbd-gcc4_fixes-patch;</userinput></screen>
|
---|
35 |
|
---|
36 | <para>Prepare Kbd for compilation:</para>
|
---|
37 |
|
---|
38 | <screen><userinput>./configure</userinput></screen>
|
---|
39 |
|
---|
40 | <para>Compile the package:</para>
|
---|
41 |
|
---|
42 | <screen><userinput>make</userinput></screen>
|
---|
43 |
|
---|
44 | <para>This package does not come with a test suite.</para>
|
---|
45 |
|
---|
46 | <para>Install the package:</para>
|
---|
47 |
|
---|
48 | <screen><userinput>make install</userinput></screen>
|
---|
49 |
|
---|
50 | </sect2>
|
---|
51 |
|
---|
52 | <sect2 id="contents-kbd" role="content"><title>Contents of Kbd</title>
|
---|
53 |
|
---|
54 | <segmentedlist>
|
---|
55 | <segtitle>Installed programs</segtitle>
|
---|
56 | <seglistitem><seg>chvt, deallocvt, dumpkeys,
|
---|
57 | fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap,
|
---|
58 | mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
|
---|
59 | psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons,
|
---|
60 | setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank,
|
---|
61 | showconsolefont, showkey, unicode_start, and unicode_stop</seg></seglistitem>
|
---|
62 | </segmentedlist>
|
---|
63 |
|
---|
64 | <variablelist><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"><primary sortas="b-chvt">chvt</primary></indexterm>
|
---|
73 | </listitem>
|
---|
74 | </varlistentry>
|
---|
75 |
|
---|
76 | <varlistentry id="deallocvt">
|
---|
77 | <term><command>deallocvt</command></term>
|
---|
78 | <listitem>
|
---|
79 | <para>Deallocates unused virtual terminals</para>
|
---|
80 | <indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
|
---|
81 | </listitem>
|
---|
82 | </varlistentry>
|
---|
83 |
|
---|
84 | <varlistentry id="dumpkeys">
|
---|
85 | <term><command>dumpkeys</command></term>
|
---|
86 | <listitem>
|
---|
87 | <para>Dumps the keyboard translation tables</para>
|
---|
88 | <indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
|
---|
89 | </listitem>
|
---|
90 | </varlistentry>
|
---|
91 |
|
---|
92 | <varlistentry id="fgconsole">
|
---|
93 | <term><command>fgconsole</command></term>
|
---|
94 | <listitem>
|
---|
95 | <para>Prints the number of the active virtual terminal</para>
|
---|
96 | <indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
|
---|
97 | </listitem>
|
---|
98 | </varlistentry>
|
---|
99 |
|
---|
100 | <varlistentry id="getkeycodes">
|
---|
101 | <term><command>getkeycodes</command></term>
|
---|
102 | <listitem>
|
---|
103 | <para>Prints the kernel scancode-to-keycode mapping table</para>
|
---|
104 | <indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
|
---|
105 | </listitem>
|
---|
106 | </varlistentry>
|
---|
107 |
|
---|
108 | <varlistentry id="getunimap">
|
---|
109 | <term><command>getunimap</command></term>
|
---|
110 | <listitem>
|
---|
111 | <para>Prints the currently used unicode-to-font mapping table</para>
|
---|
112 | <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
|
---|
113 | </listitem>
|
---|
114 | </varlistentry>
|
---|
115 |
|
---|
116 | <varlistentry id="kbd_mode">
|
---|
117 | <term><command>kbd_mode</command></term>
|
---|
118 | <listitem>
|
---|
119 | <para>Reports or sets the keyboard mode</para>
|
---|
120 | <indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
|
---|
121 | </listitem>
|
---|
122 | </varlistentry>
|
---|
123 |
|
---|
124 | <varlistentry id="kbdrate">
|
---|
125 | <term><command>kbdrate</command></term>
|
---|
126 | <listitem>
|
---|
127 | <para>Sets the keyboard repeat and delay rates</para>
|
---|
128 | <indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
|
---|
129 | </listitem>
|
---|
130 | </varlistentry>
|
---|
131 |
|
---|
132 | <varlistentry id="loadkeys">
|
---|
133 | <term><command>loadkeys</command></term>
|
---|
134 | <listitem>
|
---|
135 | <para>Loads the keyboard translation tables</para>
|
---|
136 | <indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
|
---|
137 | </listitem>
|
---|
138 | </varlistentry>
|
---|
139 |
|
---|
140 | <varlistentry id="loadunimap">
|
---|
141 | <term><command>loadunimap</command></term>
|
---|
142 | <listitem>
|
---|
143 | <para>Loads the kernel unicode-to-font mapping table</para>
|
---|
144 | <indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
|
---|
145 | </listitem>
|
---|
146 | </varlistentry>
|
---|
147 |
|
---|
148 | <varlistentry id="mapscrn">
|
---|
149 | <term><command>mapscrn</command></term>
|
---|
150 | <listitem>
|
---|
151 | <para>An obsolete program that used to load
|
---|
152 | a user-defined output character mapping table into the console driver; this is
|
---|
153 | now done by <command>setfont</command></para>
|
---|
154 | <indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
|
---|
155 | </listitem>
|
---|
156 | </varlistentry>
|
---|
157 |
|
---|
158 | <varlistentry id="openvt">
|
---|
159 | <term><command>openvt</command></term>
|
---|
160 | <listitem>
|
---|
161 | <para>Starts a program on a new virtual terminal (VT)</para>
|
---|
162 | <indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
|
---|
163 | </listitem>
|
---|
164 | </varlistentry>
|
---|
165 |
|
---|
166 | <varlistentry id="psfaddtable">
|
---|
167 | <term><command>psfaddtable</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>A link to <command>psfxtable</command></para>
|
---|
170 | <indexterm zone="ch-system-kbd psfaddtable"><primary sortas="b-psfaddtable">psfaddtable</primary></indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="psfgettable">
|
---|
175 | <term><command>psfgettable</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>A link to <command>psfxtable</command></para>
|
---|
178 | <indexterm zone="ch-system-kbd psfgettable"><primary sortas="b-psfgettable">psfgettable</primary></indexterm>
|
---|
179 | </listitem>
|
---|
180 | </varlistentry>
|
---|
181 |
|
---|
182 | <varlistentry id="psfstriptable">
|
---|
183 | <term><command>psfstriptable</command></term>
|
---|
184 | <listitem>
|
---|
185 | <para>A link to <command>psfxtable</command></para>
|
---|
186 | <indexterm zone="ch-system-kbd psfstriptable"><primary sortas="b-psfstriptable">psfstriptable</primary></indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | <varlistentry id="psfxtable">
|
---|
191 | <term><command>psfxtable</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>Handle Unicode character tables for console fonts</para>
|
---|
194 | <indexterm zone="ch-system-kbd psfxtable"><primary sortas="b-psfxtable">psfxtable</primary></indexterm>
|
---|
195 | </listitem>
|
---|
196 | </varlistentry>
|
---|
197 |
|
---|
198 | <varlistentry id="resizecons">
|
---|
199 | <term><command>resizecons</command></term>
|
---|
200 | <listitem>
|
---|
201 | <para>Changes the kernel idea of the console size</para>
|
---|
202 | <indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
|
---|
203 | </listitem>
|
---|
204 | </varlistentry>
|
---|
205 |
|
---|
206 | <varlistentry id="setfont">
|
---|
207 | <term><command>setfont</command></term>
|
---|
208 | <listitem>
|
---|
209 | <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
|
---|
210 | Array (VGA) fonts on the console</para>
|
---|
211 | <indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="setkeycodes">
|
---|
216 | <term><command>setkeycodes</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>Loads kernel scancode-to-keycode mapping table entries; this is
|
---|
219 | useful if there are unusual keys on the keyboard</para>
|
---|
220 | <indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="setleds">
|
---|
225 | <term><command>setleds</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
|
---|
228 | <indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="setlogcons">
|
---|
233 | <term><command>setlogcons</command></term>
|
---|
234 | <listitem>
|
---|
235 | <para>Sends kernel messages to the console</para>
|
---|
236 | <indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 |
|
---|
240 | <varlistentry id="setmetamode">
|
---|
241 | <term><command>setmetamode</command></term>
|
---|
242 | <listitem>
|
---|
243 | <para>Defines the keyboard meta-key handling</para>
|
---|
244 | <indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
|
---|
245 | </listitem>
|
---|
246 | </varlistentry>
|
---|
247 |
|
---|
248 | <varlistentry id="setvesablank">
|
---|
249 | <term><command>setvesablank</command></term>
|
---|
250 | <listitem>
|
---|
251 | <para>Lets the user adjust the built-in hardware screensaver (a blank
|
---|
252 | screen)</para>
|
---|
253 | <indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
|
---|
254 | </listitem>
|
---|
255 | </varlistentry>
|
---|
256 |
|
---|
257 | <varlistentry id="showconsolefont">
|
---|
258 | <term><command>showconsolefont</command></term>
|
---|
259 | <listitem>
|
---|
260 | <para>Shows the current EGA/VGA console screen font</para>
|
---|
261 | <indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
|
---|
262 | </listitem>
|
---|
263 | </varlistentry>
|
---|
264 |
|
---|
265 | <varlistentry id="showkey">
|
---|
266 | <term><command>showkey</command></term>
|
---|
267 | <listitem>
|
---|
268 | <para>Reports the scancodes, keycodes, and ASCII codes of the keys
|
---|
269 | pressed on the keyboard</para>
|
---|
270 | <indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
|
---|
271 | </listitem>
|
---|
272 | </varlistentry>
|
---|
273 |
|
---|
274 | <varlistentry id="unicode_start">
|
---|
275 | <term><command>unicode_start</command></term>
|
---|
276 | <listitem>
|
---|
277 | <para>Puts the keyboard and console in UNICODE mode. Never use it on LFS,
|
---|
278 | because applications are not configured to support UNICODE.</para>
|
---|
279 | <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
|
---|
280 | </listitem>
|
---|
281 | </varlistentry>
|
---|
282 |
|
---|
283 | <varlistentry id="unicode_stop">
|
---|
284 | <term><command>unicode_stop</command></term>
|
---|
285 | <listitem>
|
---|
286 | <para>Reverts keyboard and console from UNICODE mode</para>
|
---|
287 | <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
|
---|
288 | </listitem>
|
---|
289 | </varlistentry>
|
---|
290 | </variablelist>
|
---|
291 |
|
---|
292 | </sect2>
|
---|
293 |
|
---|
294 | </sect1>
|
---|
295 |
|
---|