diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-04-14 09:37:17 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-04-14 09:37:17 +0000 |
commit | 0090db5c7b0cb69fc9c06da99ad868814414d2b0 (patch) | |
tree | ae4db250fab5b28bd3b688e2553959db4d5cd433 /chapter07/profile.xml | |
parent | b55b3c4ff2c23fd0ae6734552a769b6237af387c (diff) |
Changed typography convections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/profile.xml')
-rw-r--r-- | chapter07/profile.xml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chapter07/profile.xml b/chapter07/profile.xml index e2748d9df..9255ef81c 100644 --- a/chapter07/profile.xml +++ b/chapter07/profile.xml @@ -65,10 +65,10 @@ makes Bash and Readline use the <filename>/etc/inputrc</filename> file created earlier.</para> - <para>Replace <replaceable>[ll]</replaceable> below with the two-letter code + <para>Replace <replaceable><ll></replaceable> below with the two-letter code for the desired language (e.g., <quote>en</quote>) and - <replaceable>[CC]</replaceable> with the two-letter code for the appropriate - country (e.g., <quote>GB</quote>). <replaceable>[charmap]</replaceable> should + <replaceable><CC></replaceable> with the two-letter code for the appropriate + country (e.g., <quote>GB</quote>). <replaceable><charmap></replaceable> should be replaced with the canonical charmap for your chosen locale. Optional modifiers such as <quote>@euro</quote> may also be present.</para> @@ -83,11 +83,11 @@ that <quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not <quote>utf8</quote>), so it is safest in most cases to choose the canonical name for a particular locale. To determine - the canonical name, run the following command, where <replaceable>[locale - name]</replaceable> is the output given by <command>locale -a</command> for + the canonical name, run the following command, where <replaceable><locale + name></replaceable> is the output given by <command>locale -a</command> for your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para> -<screen role="nodump"><userinput>LC_ALL=<replaceable>[locale name]</replaceable> locale charmap</userinput></screen> +<screen role="nodump"><userinput>LC_ALL=<replaceable><locale name></replaceable> locale charmap</userinput></screen> <para>For the <quote>en_GB.iso88591</quote> locale, the above command will print:</para> @@ -98,11 +98,11 @@ It is important that the locale found using the heuristic above is tested prior to it being added to the Bash startup files:</para> -<screen role="nodump"><userinput>LC_ALL=[locale name] locale country -LC_ALL=[locale name] locale language -LC_ALL=[locale name] locale charmap -LC_ALL=[locale name] locale int_curr_symbol -LC_ALL=[locale name] locale int_prefix</userinput></screen> +<screen role="nodump"><userinput>LC_ALL=<locale name> locale country +LC_ALL=<locale name> locale language +LC_ALL=<locale name> locale charmap +LC_ALL=<locale name> locale int_curr_symbol +LC_ALL=<locale name> locale int_prefix</userinput></screen> <para>The above commands should print the country and language names, the character encoding used by the locale, the local currency and the prefix to dial @@ -143,7 +143,7 @@ LC_ALL=[locale name] locale int_prefix</userinput></screen> <screen><userinput>cat > /etc/profile << "EOF" <literal># Begin /etc/profile -export LANG=<replaceable>[ll]</replaceable>_<replaceable>[CC]</replaceable>.<replaceable>[charmap]</replaceable><replaceable>[@modifiers]</replaceable> +export LANG=<replaceable><ll></replaceable>_<replaceable><CC></replaceable>.<replaceable><charmap></replaceable><replaceable><@modifiers></replaceable> export INPUTRC=/etc/inputrc # End /etc/profile</literal> |