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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 16ca115 was 85284ff7, checked in by Jim Gifford <clfs@…>, 16 years ago

Fixed Rendering Issue

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