aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-01-06 01:59:08 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-01-06 01:59:08 +0000
commitfa21b3dc894b9964620968dfae6685d69ce89fb9 (patch)
tree2353b9af8cae48156b98e651873d483e994e352a /chapter06/kbd.xml
parent60e34b52810dd47567ca18aa2c86fe4cd7c9fd01 (diff)
Initial support of UTF-8. Thanks Alexander Patrakov.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7245 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/kbd.xml')
-rw-r--r--chapter06/kbd.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index 52e8a734c..12d1810ef 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -28,6 +28,15 @@ Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, and Sed</seg></segli
<sect2 role="installation">
<title>Installation of Kbd</title>
+<para>The behaviour of the Backspace and Delete keys is not consistent across the
+keymaps in the Kbd package. The following patch fixes this issue for
+i386 keymaps:</para>
+
+<screen><userinput>patch -Np1 -i ../&kbd-backspace-patch;</userinput></screen>
+
+<para>After patching, the Backspace key generates the character with code 127,
+and the Delete key generates a well-known escape sequence.</para>
+
<para>Patch Kbd to fix a bug in <command>setfont</command> that is triggered
when compiling with GCC-&gcc-version;:</para>
@@ -47,6 +56,11 @@ when compiling with GCC-&gcc-version;:</para>
<screen><userinput>make install</userinput></screen>
+<note><para>For some languages (e.g., Belarusian) the Kbd package doesn't
+provide a useful keymap (the stock <quote>by</quote> keymap assumes the
+ISO-8859-5 encoding, while everybody uses CP1251 instead). Users of such
+languages have to download working keymaps separately.</para></note>
+
</sect2>
<sect2 id="contents-kbd" role="content"><title>Contents of Kbd</title>
@@ -274,8 +288,9 @@ pressed on the keyboard</para>
<varlistentry id="unicode_start">
<term><command>unicode_start</command></term>
<listitem>
-<para>Puts the keyboard and console in UNICODE mode. Never use it on LFS,
-because applications are not configured to support UNICODE.</para>
+<para>Puts the keyboard and console in UNICODE mode. Don't use this program
+unless your keymap file is in the ISO-8859-1 encoding. For other encodings,
+this utility produces incorrect results.</para>
<indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
</listitem>
</varlistentry>