aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd.xml
diff options
context:
space:
mode:
authorArchaic <archaic@linuxfromscratch.org>2005-12-26 19:00:06 +0000
committerArchaic <archaic@linuxfromscratch.org>2005-12-26 19:00:06 +0000
commit5536f7440f2f4a12782e8d741cbbba5f1c3cfea8 (patch)
treea0f3a22ecc9c0eedfd891d54e9acf06502d2b07f /chapter06/kbd.xml
parent2550494b85359ff42bb95a72911c7751cbce14d4 (diff)
Applied Alexander Patrakov's patch which adds UTF-8 capability to the
development branch of the LFS Book. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7235 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..703f959df 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 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>For some languages, e.g. Belarusian, the Kbd package doesn't provide
+a useful keymap (the stock "by" keymap assumes the ISO-8859-5 encoding,
+while everybody uses CP1251 instead). Users of such languages
+have to download working keymaps separately.</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>