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

clfs-1.2 clfs-1.2.0
Last change on this file since 8ba9f15 was fd3193d, checked in by Jonathan Norman <jonathan@…>, 13 years ago

Fixed missed sed in shadow and typo in kbd

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