Changes in / [eaa8345a:1e6c82b]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/profile.xml

    reaa8345a r1e6c82b  
    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 the environment to run in. Each file has a specific use and may affect
     19  create an 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
    22   equivalent files exist in the home directory, they may override the global
     21  class="directory">/etc</filename> directory provide global settings. If an
     22  equivalent file exists in the home directory, it may override the global
    2323  settings.</para>
    2424
     
    3131  commands.</para>
    3232
    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>
    3635
    3736  <para>The files <filename>/etc/profile</filename> and
     
    9392
    9493  <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 before
    96   it is added 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>
    9796
    9897<screen role="nodump"><userinput>LC_ALL=&lt;locale name&gt; locale language
     
    131130  "de_DE@euro" in order to get this locale recognized by Xlib.</para>
    132131-->
    133   <para>Other packages may also function incorrectly (but will not necessarily
     132  <para>Other packages can also function incorrectly (but may not necessarily
    134133  display any error messages) if the locale name does not meet their expectations.
    135   In such cases, investigating how other Linux distributions support your locale
     134  In those cases, investigating how other Linux distributions support your locale
    136135  might provide some useful information.</para>
    137136
     
    149148  <para>The <quote>C</quote> (default) and <quote>en_US.utf8</quote> (the recommended
    150149  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-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
     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
    154153  mail with such characters from Mutt or Pine results in non-RFC-conforming
    155154  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 sure
     155  8-bit</quote>). So you can use the <quote>C</quote> locale only if you are sure that
    157156  you will never need 8-bit characters.</para>
    158157
    159158  <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. See
     159  Work is in progress to document and, if possible, fix such problems, see
    161160  <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para>
    162161
Note: See TracChangeset for help on using the changeset viewer.