diff options
author | Alexander E. Patrakov <alexander@linuxfromscratch.org> | 2004-06-12 14:35:28 +0000 |
---|---|---|
committer | Alexander E. Patrakov <alexander@linuxfromscratch.org> | 2004-06-12 14:35:28 +0000 |
commit | b3aee6ea724fcf5e1135e510f39b8429eb1d4a10 (patch) | |
tree | 67ec4e0d73807c19319b48b96ec7638c0ad57a96 /chapter07 | |
parent | 3e05705a0945b2eaa5601975beaf870e9b24c4eb (diff) |
Corrected console settings for British users
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/console.xml | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/chapter07/console.xml b/chapter07/console.xml index c61bfc7db..3db1f955a 100644 --- a/chapter07/console.xml +++ b/chapter07/console.xml @@ -13,9 +13,11 @@ <para>In this section we will configure the <command>console</command> initscript that sets up the keyboard -map and the console font. If you are a native English speaker so that you -don't need to use any non-ASCII characters, and your keyboard is a US one, -skip this section. Without the configuration file, +map and the console font. If you +don't need to use any non-ASCII characters +(British pound and Euro character are not ASCII), +and your keyboard is a US one, you can skip this section. +Without the configuration file, the <command>console</command> initscript will do nothing.</para> <para>The <command>console</command> script uses the @@ -50,8 +52,14 @@ KEYMAP="es euro" FONT="lat9-16 -u iso01" <userinput>EOF</userinput></screen> -<para>If the KEYMAP or FONT variable is not set, the console initscript -will not run the corresponding program.</para> +<note><para>The FONT line above is correct only for the ISO-8859-15 +character set. If you prefer ISO-8859-1 and therefore use a pound sign +instead of Euro, the correct FONT line is:</para> +<screen><userinput>FONT="lat1-16"</userinput></screen></note> + +<para>If the KEYMAP or FONT variable is not set, the +<command>console</command> initscript will not run the corresponding +program.</para> <para>In some keymaps, the Backspace and Delete keys send characters different form ones in the default keymap built into the kernel. @@ -78,15 +86,16 @@ altgr control alt keycode 111 = Boot <para>Then tell the <command>console</command> script to load this snippet after the main keymap:</para> -<screen><userinput>cat >>/etc/sysconfig/console <<EOF</userinput> +<screen><userinput>cat >>/etc/sysconfig/console <<"EOF"</userinput> KEYMAP_CORRECTION="/etc/kbd/bs-sends-del" <userinput>EOF</userinput></screen> -<para>If back in <xref linkend="chapter-building-system"/> you decided to go -compile your keymap directly into the kernel (later on in <xref -linkend="chapter-bootable"/>), then strictly speaking you don't need to run the -loadkeys program, since the kernel will set up the keymap for you, -and thus you may omit the KEYMAP variable from the +<para>If you decided to +compile your keymap directly into the kernel later on in <xref +linkend="chapter-bootable"/> instead of setting it every time from the +<command>console</command> bootscript, then you don't need to run the +<command>loadkeys</command> program. Since the kernel will set up the keymap, +you can omit the KEYMAP variable from the <filename>/etc/sysconfig/console</filename> configuration file. If you wish, you can still have it, this isn't going to hurt you. Keeping it could even |