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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4f46927 was fb40919, checked in by Chris Staub <chris@…>, 19 years ago

Changed many 'LFS' references to 'CLFS'

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