From b3aee6ea724fcf5e1135e510f39b8429eb1d4a10 Mon Sep 17 00:00:00 2001 From: "Alexander E. Patrakov" Date: Sat, 12 Jun 2004 14:35:28 +0000 Subject: Corrected console settings for British users git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/console.xml | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'chapter07') 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 @@ In this section we will configure the console 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 console initscript will do nothing. The console script uses the @@ -50,8 +52,14 @@ KEYMAP="es euro" FONT="lat9-16 -u iso01" EOF -If the KEYMAP or FONT variable is not set, the console initscript -will not run the corresponding program. +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: +FONT="lat1-16" + +If the KEYMAP or FONT variable is not set, the +console initscript will not run the corresponding +program. 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 Then tell the console script to load this snippet after the main keymap: -cat >>/etc/sysconfig/console <<EOF +cat >>/etc/sysconfig/console <<"EOF" KEYMAP_CORRECTION="/etc/kbd/bs-sends-del" EOF -If back in you decided to go -compile your keymap directly into the kernel (later on in ), 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 +If you decided to +compile your keymap directly into the kernel later on in instead of setting it every time from the +console bootscript, then you don't need to run the +loadkeys program. Since the kernel will set up the keymap, +you can omit the KEYMAP variable from the /etc/sysconfig/console configuration file. If you wish, you can still have it, this isn't going to hurt you. Keeping it could even -- cgit v1.2.3-54-g00ecf