Ignore:
Timestamp:
01/06/2023 04:57:22 AM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
83ce6e3
Parents:
688a8f5 (diff), af944eb (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.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/profile.xml

    r688a8f5 r0cbb853  
    1717  <para>The shell program <command>/bin/bash</command> (hereafter referred to
    1818  as <quote>the shell</quote>) uses a collection of startup files to help
    19   create an environment to run in. Each file has a specific use and may affect
     19  create the environment to run in. Each file has a specific use and may affect
    2020  login and interactive environments differently. The files in the <filename
    21   class="directory">/etc</filename> directory provide global settings. If an
    22   equivalent file exists in the home directory, it may override the global
     21  class="directory">/etc</filename> directory provide global settings. If
     22  equivalent files exist in the home directory, they may override the global
    2323  settings.</para>
    2424
     
    3131  commands.</para>
    3232
    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>
    3536
    3637  <para>The files <filename>/etc/profile</filename> and
     
    9293
    9394  <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 prior
    95   to it being added 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>
    9697
    9798<screen role="nodump"><userinput>LC_ALL=&lt;locale name&gt; locale language
     
    130131  "de_DE@euro" in order to get this locale recognized by Xlib.</para>
    131132-->
    132   <para>Other packages can also function incorrectly (but may not necessarily
     133  <para>Other packages may also function incorrectly (but will not necessarily
    133134  display any error messages) if the locale name does not meet their expectations.
    134   In those cases, investigating how other Linux distributions support your locale
     135  In such cases, investigating how other Linux distributions support your locale
    135136  might provide some useful information.</para>
    136137
     
    148149  <para>The <quote>C</quote> (default) and <quote>en_US.utf8</quote> (the recommended
    149150  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 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
     151  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
    153154  mail with such characters from Mutt or Pine results in non-RFC-conforming
    154155  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 that
     156  8-bit</quote>). So you can only use the <quote>C</quote> locale if you are sure
    156157  you will never need 8-bit characters.</para>
    157158
    158159  <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, see
     160  Work is in progress to document and, if possible, fix such problems. See
    160161  <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para>
    161162
Note: See TracChangeset for help on using the changeset viewer.