Ignore:
Timestamp:
01/28/2024 05:47:41 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
40cd8a1
Parents:
7c630340
Message:

Use C.UTF-8 instead of C in console, and set the consolefont for it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/consoled.xml

    r7c630340 r4ecfc55  
    7575  </variablelist>
    7676
     77  <para>We'll use <literal>C.UTF-8</literal> as the locale for interactive
     78  sessions in the Linux console in <xref role='.'
     79  linkend='ch-config-locale'/>  The only console font shipped by
     80  the <application>Kbd</application> package containing the glyphs for
     81  all characters from the program messages in the <literal>C.UTF-8</literal>
     82  locale is <filename>Lat2-Terminus16</filename> (the other shipped console
     83  fonts lack glyphs of some characters like the Unicode left/right
     84  quotation marks and the Unicode English dash). So set
     85  <filename>Lat2-Terminus16</filename> as the default console font:</para>
     86
     87  <!-- We are using "nodump" for general settings, but not examples.  This
     88       is ironic, but needed for the compatibility with jhalfs!  -->
     89<screen role='nodump'><userinput>echo <literal>FONT=Lat2-Terminus16</literal> &gt; /etc/vconsole.conf</userinput></screen>
     90
    7791  <para>An example for a German keyboard and console is given below:</para>
    7892<!-- This is what is used by jhalfs for creating the vconsole.conf file.
Note: See TracChangeset for help on using the changeset viewer.