source: chapter06/kbd.xml@ a001133

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.0 6.1 6.1.1 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 a001133 was a001133, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retaged the introductori packages sections in chapter0{6,7,8}

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

  • Property mode set to 100644
File size: 7.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-kbd" xreflabel="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>12 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>Kbd installation depends on</segtitle>
23<seglistitem><seg>Bash, Binutils, Bison, Coreutils,
24Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, Sed</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Kbd</title>
30
31<para>Prepare Kbd for compilation:</para>
32
33<screen><userinput>./configure</userinput></screen>
34
35<para>Compile the package:</para>
36
37<screen><userinput>make</userinput></screen>
38
39<para>Now install it:</para>
40
41<screen><userinput>make install</userinput></screen>
42
43</sect2>
44
45<!-- The "Configuring your keyboard" section has been moved to
46Chapter 7 and renamed to "Configuring Linux console" -->
47
48<sect2 id="contents-kbd"><title>Contents of Kbd</title>
49
50<para><emphasis>Installed programs</emphasis>: chvt, deallocvt, dumpkeys,
51fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap,
52mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
53psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons,
54setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank,
55showconsolefont, showkey, unicode_start and unicode_stop</para>
56
57</sect2>
58
59
60<sect2><title>Short descriptions</title>
61
62<indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
63<para id="chvt"><command>chvt</command> changes the foreground virtual terminal.</para>
64
65<indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
66<para id="deallocvt"><command>deallocvt</command> deallocates unused virtual terminals.</para>
67
68<indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
69<para id="dumpkeys"><command>dumpkeys</command> dumps the keyboard translation tables.</para>
70
71<indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
72<para id="fgconsole"><command>fgconsole</command> prints the number of the active virtual terminal.</para>
73
74<indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
75<para id="getkeycodes"><command>getkeycodes</command> prints the kernel scancode-to-keycode
76mapping table.</para>
77
78<indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
79<para id="getunimap"><command>getunimap</command> prints the currently used unimap.</para>
80
81<indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
82<para id="kbd_mode"><command>kbd_mode</command> reports or sets the keyboard mode.</para>
83
84<indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
85<para id="kbdrate"><command>kbdrate</command> sets the keyboard repeat and delay rates.</para>
86
87<indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
88<para id="loadkeys"><command>loadkeys</command> loads the keyboard translation tables.</para>
89
90<indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
91<para id="loadunimap"><command>loadunimap</command> loads the kernel unicode-to-font mapping table.</para>
92
93<indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
94<para id="mapscrn"><command>mapscrn</command> is an obsolete program that used to load
95a user-defined output character mapping table into the console driver. This is
96now done by setfont.</para>
97
98<indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
99<para id="openvt"><command>openvt</command> starts a program on a new virtual terminal (VT).</para>
100
101<indexterm zone="ch-system-kbd psf"><primary sortas="b-psf*">psf*</primary></indexterm>
102<para id="psf"><command>psf*</command> are a set of tools for handling Unicode
103character tables for console fonts.</para>
104
105<indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
106<para id="resizecons"><command>resizecons</command> changes the kernel idea of the console size.</para>
107
108<indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
109<para id="setfont"><command>setfont</command> lets you change the EGA/VGA fonts on the console.</para>
110
111<indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
112<para id="setkeycodes"><command>setkeycodes</command> loads kernel scancode-to-keycode
113mapping table entries, useful if you have some unusual keys on your keyboard.</para>
114
115<indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
116<para id="setleds"><command>setleds</command> sets the keyboard flags and LEDs. Many
117people find it useful to have "Num Lock" on by default, setleds +num achieves this.</para>
118
119<indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
120<para id="setlogcons"><command>setlogcons</command> sends kernel messages to the console.</para>
121
122<indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
123<para id="setmetamode"><command>setmetamode</command> defines the keyboard meta-key handling.</para>
124
125<indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
126<para id="setvesablank"><command>setvesablank</command> lets you fiddle with the built-in
127hardware screensaver (no toasters, just a blank screen).</para>
128
129<indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
130<para id="showconsolefont"><command>showconsolefont</command> shows the current EGA/VGA console
131screen font.</para>
132
133<indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
134<para id="showkey"><command>showkey</command> reports the scancodes and keycodes and
135ASCII codes of the keys pressed on the keyboard.</para>
136
137<indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
138<para id="unicode_start"><command>unicode_start</command> puts the keyboard and console in
139UNICODE mode. Never use it on LFS, because applications are not
140configured to support UNICODE.</para>
141
142<indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
143<para id="unicode_stop"><command>unicode_stop</command> reverts keyboard and console from
144UNICODE mode.</para>
145
146</sect2>
147
148
149
150</sect1>
Note: See TracBrowser for help on using the repository browser.