diff options
Diffstat (limited to 'chapter08/kbd.xml')
-rw-r--r-- | chapter08/kbd.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter08/kbd.xml b/chapter08/kbd.xml index 7d85e4db5..a219102eb 100644 --- a/chapter08/kbd.xml +++ b/chapter08/kbd.xml @@ -41,21 +41,21 @@ <sect2 role="installation"> <title>Installation of Kbd</title> - <para>The behaviour of the Backspace and Delete keys is not consistent + <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 remap="pre">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>After patching, the backspace key generates the character with code 127, + and the delete key generates a well-known escape sequence.</para> <para>Remove the redundant <command>resizecons</command> program (it requires the defunct svgalib to provide the video mode files - for normal use <command>setfont</command> sizes the console appropriately) together with its manpage.</para> -<screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure +<screen><userinput remap="pre">sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen> <para>Prepare Kbd for compilation:</para> @@ -63,12 +63,12 @@ sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen> <screen><userinput remap="configure">./configure --prefix=/usr --disable-vlock</userinput></screen> <variablelist> - <title>The meaning of the configure options:</title> + <title>The meaning of the configure option:</title> <varlistentry> <term><parameter>--disable-vlock</parameter></term> <listitem> - <para>This option prevents the vlock utility from being built, as it + <para>This option prevents the vlock utility from being built because it requires the PAM library, which isn't available in the chroot environment.</para> </listitem> @@ -97,7 +97,7 @@ sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen> <para>If desired, install the documentation:</para> -<screen><userinput remap="install">mkdir -v /usr/share/doc/kbd-&kbd-version; +<screen><userinput remap="install">mkdir -v /usr/share/doc/kbd-&kbd-version; cp -R -v docs/doc/* /usr/share/doc/kbd-&kbd-version;</userinput></screen> </sect2> |