diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 4c39811c0..4c083f41f 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -77,6 +77,9 @@ first a summary, then a detailed log.
+June 29, 2004 [alexander]: Explained the benefits of setting
+LC_ALL properly.
+
June 28, 2004 [winkie]: Upgraded to Udev 028, and dropped the
Udev permissions patch.
diff --git a/chapter07/profile.xml b/chapter07/profile.xml
index 2ec314397..731dff0fc 100644
--- a/chapter07/profile.xml
+++ b/chapter07/profile.xml
@@ -35,15 +35,34 @@ Shells.
~/.bash_profile are read when the shell is invoked
as an interactive login shell.
-A base /etc/profile created below only sets some
-environment variables necessary for Bash to accept keystrokes properly,
-even in non-English locale. Replace [ll] with the
+A base /etc/profile created below sets some
+environment variables necessary for native language support. By setting them
+properly, you get:
+
+
+the output of programs translated into your native
+language;
+correct classification of characters into letters, digits and
+other classes - this is necessary for Bash to accept non-ASCII characters
+in command lines properly in non-English locales;
+the alphabetical sorting order correct for your
+country;
+good default paper size;
+correct formatting of monetary, time and date
+values.
+
+
+This script also sets the INPUTRC environment variable that makes
+Bash and Readline use
+the /etc/inputrc file we created earlier.
+
+Replace [ll] below with the
two-letter code for your language (e.g., en
) and
[CC] with the two-letter code for your country
(e.g., GB
). Also you may need to specify
(and this is actually the preferred form) your
-character encoding (e.g. iso8859-1
) after a dot (so that the result
-is en_GB.iso8859-1
).
+character encoding (e.g. iso8859-1
) after a dot
+(so that the result is en_GB.iso8859-1
).
Issue the following command for more information:
man 3 setlocale
@@ -58,8 +77,6 @@ the following command:
cat > /etc/profile << "EOF"
# Begin /etc/profile
-# Written for Linux From Scratch
-# by Alexander E. Patrakov
export LC_ALL=[ll]_[CC]
export LANG=[ll]_[CC]
@@ -68,6 +85,10 @@ export INPUTRC=/etc/inputrc
# End /etc/profile
EOF
+The C
(default) and en_US
+(the recommended one for for US English users) locales are
+different.
+
Setting the keyboard layout,
the screen font and the locale-related environment variables
are the only internationalization steps needed to support
diff --git a/general.ent b/general.ent
index 28c8bce40..b6f0517a7 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
-
-
+
+