Changeset eaa8345a
- Timestamp:
- 01/01/2023 02:57:43 AM (21 months ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- 730208a
- Parents:
- 1e6c82b (diff), d8ec0ed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/profile.xml
r1e6c82b reaa8345a 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 anenvironment to run in. Each file has a specific use and may affect19 create the 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 an22 equivalent file exists in the home directory, itmay override the global21 class="directory">/etc</filename> directory provide global settings. If 22 equivalent files exist in the home directory, they may override the global 23 23 settings.</para> 24 24 … … 31 31 commands.</para> 32 32 33 <para>For more information, see <command>info bash</command> under the 34 <emphasis>Bash Startup Files and Interactive Shells</emphasis> section.</para> 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> 35 36 36 37 <para>The files <filename>/etc/profile</filename> and … … 92 93 93 94 <para>This results in a final locale setting of <quote>en_GB.ISO-8859-1</quote>. 94 It is important that the locale found using the heuristic above is tested prior95 to it beingadded to the Bash startup files:</para>95 It is important that the locale found using the heuristic above is tested before 96 it is added to the Bash startup files:</para> 96 97 97 98 <screen role="nodump"><userinput>LC_ALL=<locale name> locale language … … 130 131 "de_DE@euro" in order to get this locale recognized by Xlib.</para> 131 132 --> 132 <para>Other packages can also function incorrectly (but maynot necessarily133 <para>Other packages may also function incorrectly (but will not necessarily 133 134 display any error messages) if the locale name does not meet their expectations. 134 In thosecases, investigating how other Linux distributions support your locale135 In such cases, investigating how other Linux distributions support your locale 135 136 might provide some useful information.</para> 136 137 … … 148 149 <para>The <quote>C</quote> (default) and <quote>en_US.utf8</quote> (the recommended 149 150 one for United States English users) locales are different. <quote>C</quote> 150 uses the US-ASCII 7-bit character set, and treats bytes with the high bit set151 as invalid characters. That's why, e.g., the <command>ls</command> command152 substitutes them withquestion marks in that locale. Also, an attempt to send151 uses the US-ASCII 7-bit character set, and treats bytes with the high-order bit set 152 <quote>on</quote> as invalid characters. That's why, e.g., the <command>ls</command> command 153 displays them as question marks in that locale. Also, an attempt to send 153 154 mail with such characters from Mutt or Pine results in non-RFC-conforming 154 155 messages being sent (the charset in the outgoing mail is indicated as <quote>unknown 155 8-bit</quote>). So you can use the <quote>C</quote> locale only if you are sure that156 8-bit</quote>). So you can only use the <quote>C</quote> locale if you are sure 156 157 you will never need 8-bit characters.</para> 157 158 158 159 <para>UTF-8 based locales are not supported well by some programs. 159 Work is in progress to document and, if possible, fix such problems , see160 Work is in progress to document and, if possible, fix such problems. See 160 161 <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para> 161 162
Note:
See TracChangeset
for help on using the changeset viewer.