MTD 248-645A Manual de usuario Pagina 234

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 233
Linux From Scratch - Version 7.0
214
The following example illustrates keymap autoconversion from ISO-8859-15 to UTF-8 and enabling dead keys
in Unicode mode:
cat > /etc/sysconfig/console << "EOF"
# Begin /etc/sysconfig/console
UNICODE="1"
KEYMAP="de-latin1"
KEYMAP_CORRECTIONS="euro2"
LEGACY_CHARSET="iso-8859-15"
FONT="LatArCyrHeb-16 -m 8859-15"
# End /etc/sysconfig/console
EOF
Some keymaps have dead keys (i.e., keys that don't produce a character by themselves, but put an accent on
the character produced by the next key) or define composition rules (such as: “press Ctrl+. A E to get Æ” in
the default keymap). Linux-3.1 interprets dead keys and composition rules in the keymap correctly only when
the source characters to be composed together are not multibyte. This deficiency doesn't affect keymaps for
European languages, because there accents are added to unaccented ASCII characters, or two ASCII characters
are composed together. However, in UTF-8 mode it is a problem, e.g., for the Greek language, where one
sometimes needs to put an accent on the letter “alpha”. The solution is either to avoid the use of UTF-8, or to
install the X window system that doesn't have this limitation in its input handling.
For Chinese, Japanese, Korean and some other languages, the Linux console cannot be configured to display
the needed characters. Users who need such languages should install the X Window System, fonts that cover the
necessary character ranges, and the proper input method (e.g., SCIM, it supports a wide variety of languages).
Note
The /etc/sysconfig/console file only controls the Linux text console localization. It has nothing to
do with setting the proper keyboard layout and terminal fonts in the X Window System, with ssh sessions or
with a serial console. In such situations, limitations mentioned in the last two list items above do not apply.
7.11. Configuring the sysklogd Script
The sysklogd script invokes the syslogd program with the -m 0 option. This option turns off the periodic
timestamp mark that syslogd writes to the log files every 20 minutes by default. If you want to turn on this periodic
timestamp mark, edit /etc/sysconfig/rc.site and define the variable SYSKLOGD_PARMS to the desired
value. For instance, to remove all parameters, set the variable to a null value:
SYSKLOGD_PARMS=
See man syslogd for more options.
7.12. The rc.site File
The optional /etc/sysconfig/rc.site file contains settings that are automatically set for each boot script. It
can alternatively set the values specified in the hostname, console, and clock files in the /etc/sysconfig/
directory. If the associated variables are present in both these separate files and rc.site, the values in the script
specific files have precedence.
Vista de pagina 233
1 2 ... 229 230 231 232 233 234 235 236 237 238 239 ... 346 347

Comentarios a estos manuales

Sin comentarios