Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/usage.xml

    r39b5bb6 r909f284  
    1 <?xml version="1.0" encoding="UTF-8"?>
     1<?xml version="1.0" encoding="ISO-8859-1"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    3333    uses a run levels scheme. There are seven run levels, numbered 0 to 6.
    3434    (Actually, there are more run levels, but the others are for special cases and are
    35     generally not used. See <ulink role='man'
    36     url='&man;init.8'>init(8)</ulink> for more details.)
     35    generally not used. See <filename>init(8)</filename> for more details.)
    3736    Each one of the seven corresponds to actions the computer is supposed to
    3837    perform when it starts up or shuts down. The default run level is 3. Here are the
     
    4948    <note>
    5049       <para>
    51          Classically, run level 2 above was defined as <quote>multi-user
    52          mode without networking,</quote> but this was only the case
    53          many years ago when multiple users could connect to a system via
    54          serial ports.  In today's environment it makes no sense, and
    55          we now say it is <quote>reserved.</quote>
     50          Classically, run level 2 above was defined as
     51          "multi-user mode without networking", but this was only the case
     52          many years ago when multiple users could connect to a system via
     53          serial ports.  In today's environment it makes no sense, and
     54          we now say it is "reserved".
    5655       </para>
    5756    </note>
     
    343342  doubt, look in the <filename class="directory">/usr/share/keymaps</filename>
    344343  and <filename class="directory">/usr/share/consolefonts</filename> directories
    345   for valid keymaps and screen fonts. Read the <ulink role='man'
    346   url='&man;loadkeys.1'>loadkeys(1)</ulink> and <ulink role='man'
    347   url='&man;setfont.8'>setfont(8)</ulink> manual pages to determine the
    348   correct arguments for these programs.</para>
     344  for valid keymaps and screen fonts. Read the <filename>loadkeys(1)</filename> and
     345  <filename>setfont(8)</filename> manual pages to determine the correct
     346  arguments for these programs.</para>
    349347
    350348  <para>The <filename>/etc/sysconfig/console</filename> file should contain lines
    351   of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para>
     349  of the form: VARIABLE="value". The following variables are recognized:</para>
    352350  <variablelist>
    353351
     
    357355        <para>This variable specifies the log level for kernel messages sent
    358356        to the console as set by <command>dmesg -n</command>. Valid levels are
    359         from <literal>1</literal> (no messages) to <literal>8</literal>. The default level is <literal>7</literal>, which is quite verbose.</para>
     357        from "1" (no messages) to "8". The default level is "7".</para>
    360358      </listitem>
    361359    </varlistentry>
     
    366364        <para>This variable specifies the arguments for the
    367365        <command>loadkeys</command> program, typically, the name of the keymap
    368         to load, e.g., <literal>it</literal>. If this variable is not set, the
     366        to load, e.g., <quote>it</quote>. If this variable is not set, the
    369367        bootscript will not run the <command>loadkeys</command> program,
    370368        and the default kernel keymap will be used.  Note that a few keymaps
     
    385383        is not completely satisfactory and a small adjustment has to be made. E.g.,
    386384        to include the Euro sign into a keymap that normally doesn't have it,
    387         set this variable to <literal>euro2</literal>.</para>
     385        set this variable to <quote>euro2</quote>.</para>
    388386      </listitem>
    389387    </varlistentry>
     
    394392        <para>This variable specifies the arguments for the
    395393        <command>setfont</command> program. Typically, this includes the font
    396         name, <literal>-m</literal>, and the name of the application character
     394        name, <quote>-m</quote>, and the name of the application character
    397395        map to load. E.g., in order to load the <quote>lat1-16</quote> font
    398396        together with the <quote>8859-1</quote> application character map
    399397        (appropriate in the USA),
    400398        <!-- because of the copyright sign -->
    401         set this variable to <literal>lat1-16 -m 8859-1</literal>.
     399        set this variable to <quote>lat1-16 -m 8859-1</quote>.
    402400        In UTF-8 mode, the kernel uses the application character map to
    403401        convert 8-bit key codes to UTF-8. Therefore
     
    411409      <term>UNICODE</term>
    412410      <listitem>
    413         <para>Set this variable to <literal>1</literal>, <literal>yes</literal>, or
    414         <literal>true</literal> in order to put the
     411        <para>Set this variable to <quote>1</quote>, <quote>yes</quote>, or
     412        <quote>true</quote> in order to put the
    415413        console into UTF-8 mode. This is useful in UTF-8 based locales and
    416414        harmful otherwise.</para>
     
    433431
    434432  <itemizedlist>
    435     <listitem>
    436       <para>
    437         We'll use <literal>C.UTF-8</literal> as the locale for interactive
    438         sessions in the Linux console in <xref role=','
    439         linkend='ch-config-locale'/> so we should set
    440         <literal>UNICODE</literal> to <literal>1</literal>.  And the console
    441         fonts shipped by the <application>Kbd</application> package
    442         containing the glyphs for all characters from the program messages
    443         in the <literal>C.UTF-8</literal> locale are
    444         <filename>LatArCyrHeb*.psfu.gz</filename>,
    445         <filename>LatGrkCyr*.psfu.gz</filename>,
    446         <filename>Lat2-Terminus16.psfu.gz</filename>, and
    447         <filename>pancyrillic.f16.psfu.gz</filename> in
    448         <filename class='directory'>/usr/share/consolefonts</filename> (the
    449         other shipped console fonts lack glyphs of some characters like the
    450         Unicode left/right quotation marks and the Unicode English dash).
    451         So set one of them, for example
    452         <filename>Lat2-Terminus16.psfu.gz</filename> as the default console
    453         font:
    454       </para>
    455 
    456       <!-- We are using 'nodump' for the generic setting, but not for an
    457            example (see below).  This is deliberate to keep the
    458            compatibility with jhalfs.  -->
    459 <screen role='nodump'><userinput>cat &gt; /etc/sysconfig/console &lt;&lt; "EOF"
    460 <literal># Begin /etc/sysconfig/console
    461 
    462 UNICODE="1"
    463 FONT="Lat2-Terminus16"
    464 
    465 # End /etc/sysconfig/console</literal>
    466 EOF</userinput></screen>
    467 
    468     </listitem>
    469433
    470434    <listitem>
     
    561525      characters, or two ASCII characters are composed together. However, in
    562526      UTF-8 mode it is a problem; e.g., for the Greek language, where one
    563       sometimes needs to put an accent on the letter α.
     527      sometimes needs to put an accent on the letter <quote>alpha</quote>.
    564528      The solution is either to avoid the use of UTF-8, or to install the
    565529      X window system, which doesn't have this limitation, in its input
Note: See TracChangeset for help on using the changeset viewer.