Changes in / [eaa8345a:1e6c82b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/profile.xml
reaa8345a r1e6c82b 17 17 <para>The shell program <command>/bin/bash</command> (hereafter referred to 18 18 as <quote>the shell</quote>) uses a collection of startup files to help 19 create theenvironment to run in. Each file has a specific use and may affect19 create an environment to run in. Each file has a specific use and may affect 20 20 login and interactive environments differently. The files in the <filename 21 class="directory">/etc</filename> directory provide global settings. If 22 equivalent file s exist in the home directory, theymay override the global21 class="directory">/etc</filename> directory provide global settings. If an 22 equivalent file exists in the home directory, it may override the global 23 23 settings.</para> 24 24 … … 31 31 commands.</para> 32 32 33 <para>For more information, see the <emphasis>Bash Startup Files</emphasis> and 34 <emphasis>Interactive Shells</emphasis> sections in the <emphasis>Bash 35 Features</emphasis> chapter of the Bash info pages (<command>info bash</command>).</para> 33 <para>For more information, see <command>info bash</command> under the 34 <emphasis>Bash Startup Files and Interactive Shells</emphasis> section.</para> 36 35 37 36 <para>The files <filename>/etc/profile</filename> and … … 93 92 94 93 <para>This results in a final locale setting of <quote>en_GB.ISO-8859-1</quote>. 95 It is important that the locale found using the heuristic above is tested before96 it isadded to the Bash startup files:</para>94 It is important that the locale found using the heuristic above is tested prior 95 to it being added to the Bash startup files:</para> 97 96 98 97 <screen role="nodump"><userinput>LC_ALL=<locale name> locale language … … 131 130 "de_DE@euro" in order to get this locale recognized by Xlib.</para> 132 131 --> 133 <para>Other packages may also function incorrectly (but willnot necessarily132 <para>Other packages can also function incorrectly (but may not necessarily 134 133 display any error messages) if the locale name does not meet their expectations. 135 In suchcases, investigating how other Linux distributions support your locale134 In those cases, investigating how other Linux distributions support your locale 136 135 might provide some useful information.</para> 137 136 … … 149 148 <para>The <quote>C</quote> (default) and <quote>en_US.utf8</quote> (the recommended 150 149 one for United States English users) locales are different. <quote>C</quote> 151 uses the US-ASCII 7-bit character set, and treats bytes with the high -orderbit set152 <quote>on</quote>as invalid characters. That's why, e.g., the <command>ls</command> command153 displays them asquestion marks in that locale. Also, an attempt to send150 uses the US-ASCII 7-bit character set, and treats bytes with the high bit set 151 as invalid characters. That's why, e.g., the <command>ls</command> command 152 substitutes them with question marks in that locale. Also, an attempt to send 154 153 mail with such characters from Mutt or Pine results in non-RFC-conforming 155 154 messages being sent (the charset in the outgoing mail is indicated as <quote>unknown 156 8-bit</quote>). So you can only use the <quote>C</quote> locale if you are sure155 8-bit</quote>). So you can use the <quote>C</quote> locale only if you are sure that 157 156 you will never need 8-bit characters.</para> 158 157 159 158 <para>UTF-8 based locales are not supported well by some programs. 160 Work is in progress to document and, if possible, fix such problems . See159 Work is in progress to document and, if possible, fix such problems, see 161 160 <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para> 162 161
Note:
See TracChangeset
for help on using the changeset viewer.