MTD 248-645A Bedienungsanleitung Seite 232

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 347
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 231
Linux From Scratch - Version 7.0
212
The console and consolelog scripts read the /etc/sysconfig/console file for configuration information.
Decide which keymap and screen font will be used. Various language-specific HOWTOs can also help with this, see
http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html. If still in doubt, look in the /lib/kbd directory for
valid keymaps and screen fonts. Read loadkeys(1) and setfont(8) manual pages to determine the correct
arguments for these programs.
The /etc/sysconfig/console file should contain lines of the form: VARIABLE="value". The following
variables are recognized:
LOGLEVEL
This variable specifies the log level for kernel messages sent to the console as set by dmesg. Valid levels are
from "1" (no messages) to "8". The default level is "7".
KEYMAP
This variable specifies the arguments for the loadkeys program, typically, the name of keymap to load, e.g.,
“es”. If this variable is not set, the bootscript will not run the loadkeys program, and the default kernel keymap
will be used.
KEYMAP_CORRECTIONS
This (rarely used) variable specifies the arguments for the second call to the loadkeys program. This is useful
if the stock keymap is not completely satisfactory and a small adjustment has to be made. E.g., to include the
Euro sign into a keymap that normally doesn't have it, set this variable to “euro2”.
FONT
This variable specifies the arguments for the setfont program. Typically, this includes the font name, “-m”, and
the name of the application character map to load. E.g., in order to load the “lat1-16” font together with the
“8859-1” application character map (as it is appropriate in the USA), set this variable to “lat1-16 -m 8859-1”. In
UTF-8 mode, the kernel uses the application character map for conversion of composed 8-bit key codes in the
keymap to UTF-8, and thus the argument of the "-m" parameter should be set to the encoding of the composed
key codes in the keymap.
UNICODE
Set this variable to “1”, “yes” or “true” in order to put the console into UTF-8 mode. This is useful in UTF-8
based locales and harmful otherwise.
LEGACY_CHARSET
For many keyboard layouts, there is no stock Unicode keymap in the Kbd package. The console bootscript will
convert an available keymap to UTF-8 on the fly if this variable is set to the encoding of the available non-
UTF-8 keymap.
Some examples:
For a non-Unicode setup, only the KEYMAP and FONT variables are generally needed. E.g., for a Polish setup,
one would use:
cat > /etc/sysconfig/console << "EOF"
# Begin /etc/sysconfig/console
KEYMAP="pl2"
FONT="lat2a-16 -m 8859-2"
# End /etc/sysconfig/console
EOF
Seitenansicht 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 346 347

Kommentare zu diesen Handbüchern

Keine Kommentare