Changeset 7d6c9a6 for chapter07


Ignore:
Timestamp:
10/23/2008 11:12:34 PM (16 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
7f89db8
Parents:
701d318f
Message:

Checked in Alexander Patrakov's changes for the console page, and related bootscripts update.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8697 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/console.xml

    r701d318f r7d6c9a6  
    8585        map to load. E.g., in order to load the <quote>lat1-16</quote> font
    8686        together with the <quote>8859-1</quote> application character map
    87         (as it is appropriate in the USA), <!-- because of the copyright sign -->
     87        (as it is appropriate in the USA),
     88        <!-- because of the copyright sign -->
    8889        set this variable to <quote>lat1-16 -m 8859-1</quote>.
    89         If this variable is not set, the bootscript will not run the
    90         <command>setfont</command> program, and the default VGA font will be
    91         used together with the default application character map.</para>
     90        In UTF-8 mode, the kernel uses the application character map for
     91        conversion of composed 8-bit key codes in the keymap to UTF-8, and thus
     92        the argument of the "-m" parameter should be set to the encoding of the
     93        composed key codes in the keymap.</para>
     94
    9295      </listitem>
    9396    </varlistentry>
     
    184187
    185188    <listitem>
    186       <para>There is no pre-made UTF-8 Russian keymap, therefore it has to be
    187       produced by converting the existing KOI8-R keymap as illustrated
    188       below:</para>
     189      <para>The following example illustrates keymap autoconversion from
     190      ISO-8859-15 to UTF-8 and enabling dead keys in Unicode mode:</para>
    189191
    190192<screen role="nodump"><userinput>cat &gt; /etc/sysconfig/console &lt;&lt; "EOF"
     
    192194
    193195UNICODE="1"
    194 KEYMAP="ru-ms"
    195 LEGACY_CHARSET="koi8-r"
    196 FONT="LatArCyrHeb-16"
     196KEYMAP="de-latin1"
     197KEYMAP_CORRECTIONS="euro2"
     198LEGACY_CHARSET="iso-8859-15"
     199FONT="LatArCyrHeb-16 -m 8859-15"
    197200
    198201# End /etc/sysconfig/console</literal>
     
    205208      by the next key) or define composition rules (such as: <quote>press
    206209      Ctrl+. A E to get &AElig;</quote> in the default keymap).
    207       Linux-&linux-version; in UTF-8 keyboard mode assumes that accented
    208       characters produced via dead keys or composing are in the Latin-1 range
    209       of Unicode, and it is impossible to change this assumption. Thus,
    210       accented characters needed for, e.g., the Czech language, can't be typed
    211       on Linux console in UTF-8 mode (but files containing these characters can
    212       be displayed correctly). The solution is either to avoid the use of
    213       UTF-8, or to install the X window system that doesn't have this
    214       limitation in its input handling.</para>
     210      Linux-&linux-version; interprets dead keys and composition rules in the
     211      keymap correctly only when the source characters to be composed together
     212      are not multibyte. This deficiency doesn't affect keymaps for European
     213      languages, because there accents are added to unaccented ASCII
     214      characters, or two ASCII characters are composed together. However, in
     215      UTF-8 mode it is a problem, e.g., for the Greek language, where one
     216      sometimes needs to put an accent on the letter <quote>&alpha;</quote>.
     217      The solution is either to avoid the use of UTF-8, or to install the
     218      X window system that doesn't have this limitation in its input
     219      handling.</para>
    215220    </listitem>
    216221
Note: See TracChangeset for help on using the changeset viewer.