source: chapter06/kbd.xml@ 3e36a78

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3e36a78 was 3e36a78, checked in by Jim Gifford <jim@…>, 19 years ago

Changed patches to use entities

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@5402 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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