CONSOLE-SETUP(5) | Console-setup User's Manual | CONSOLE-SETUP(5) |
console-setup - configuration file for setupcon
The file console-setup specifies the encoding and the font to be used by setupcon(1) in order to setup the console. It can be used also to specify the keyboard layout but it is not recommended to do so, use keyboard(5) instead.
The font specification consists of three parameters - codeset, font face and font size. The codeset specifies what characters will be supported by the font. There isn't one-to-one correspondence between codeset and encoding, for example the codeset Lat15 is suitable for ISO 8859-1, ISO 8859-9 and ISO 8859-15. The codesets are two kinds - small and big. Only small codesets are supported on FreeBSD.
The font face determines the general look of the font. Each font face is available in certain possible sizes. On FreeBSD only 8x16, 8x14 and 8x8 are valid sizes. On Linux if framebuffer is not used or consolechars(1) is installed instead of setfont(1), then the permitted sizes have the form 8xNUMBER.
The console driver of FreeBSD permits fonts in different sizes to be simultaneously loaded. Which one of them will be actually used depends on the current video mode. Therefore, on this platform the font size specification will be ignored and setupcon(1) will load the selected font face in all available sizes.
The file console-setup consists of variable settings in POSIX format:
Only one assignment is allowed per line. Comments (starting with '#') are also allowed.
The following variables can be set.
Set FONTFACE and FONTSIZE to empty strings if you want to configure only the keyboard and to leave the console font unchanged.
vidcontrol -i mode
There are two kinds of codesets - small (up to 256 symbols) and big (up to 512 symbols). Only small codesets can be used on FreeBSD. When the screen is in text mode (i.e. framebuffer is not used) then fonts covering big codesets will reduce the number of available foreground colors.
Supported languages: Arabic, Kurdish in Iran, Pashto, Persian and Urdu.
Completely covered by the following font faces: Fixed (size 8x16) and VGA (sizes 8x16 and 16x32).
Supported language: Armenian.
Completely covered by the following font faces: Fixed (all sizes).
This codeset supports some of the non-Slavic Cyrillic languages - Abkhazia, Avaric, Azerbaijani, Bashkir, Buryat, Chechen, Chuvash, Inupiaq (Eskimo), Kara-Kalpak, Kazakh, Kirgiz, Komi, Kumyk, Kurdish, Lezghian, Mari (Cheremis), Mongolian, Ossetic, Selkup (Ostyak-Samoyed), Tajik, Tatar, Turkmen, Tuvinian, Uzbek and Yakut.
Completely supported by the following font faces: Fixed (all sizes).
Supports entirely the 8-bit encodings KOI8-R and KOI8-U. Suitable for Russian and Ukrainian when one of these two encodings is used.
Completely covered by the following font faces (in all sizes): Fixed, Terminus, TerminusBold, TerminusBoldVGA and VGA.
Supports entirely the 8-bit encodings ISO-8859-5 and CP1251. Suitable the Slavic Cyrillic languages - Belarusian, Bulgarian, Macedonian, Russian, Serbian and Ukrainian. For Serbian both the Cyrillic and the Latin alphabets are supported.
Completely covered by the following font faces: Fixed (all sizes), Terminus (all sizes), TerminusBold (all sizes), TerminusBoldVGA (all sizes), VGA (sizes 8x16 and 16x32).
Supports Amharic, Ethiopic (Geez), Tigre and Tigrinya.
This codeset is partially covered by the following font faces: Fixed (sizes 8x15 and 8x18), Goha (all sizes) and GohaClassic (all sizes).
Supported language: Georgian.
Completely covered by the following font faces: Fixed (all sizes).
Supported language: Greek.
Completely covered by the following font faces: Fixed (all sizes) and VGA (sizes 8x16 and 16x32).
Supported languages: Hebrew and Yiddish.
Completely covered by the following font faces: Fixed (sizes 8x13, 8x15, 8x16 and 8x18) and VGA (sizes 8x16 and 16x32).
Supported languages: Lao.
Completely covered by the following font faces: Fixed (sizes 8x15 and 8x16).
Covers entirely ISO-8859-1, ISO-8859-9 and ISO-8859-15. Suitable for the so called Latin1 and Latin5 languages - Afar, Afrikaans, Albanian, Aragonese, Asturian, Aymara, Basque, Bislama, Breton, Catalan, Chamorro, Danish, Dutch, English, Estonian, Faroese, Fijian, Finnish, French, Frisian, Friulian, Galician, German, Hiri Motu, Icelandic, Ido, Indonesian, Interlingua, Interlingue, Italian, Low Saxon, Lule Sami, Luxembourgish, Malagasy, Manx Gaelic, Norwegian Bokmal, Norwegian Nynorsk, Occitan, Oromo or Galla, Portuguese, Rhaeto-Romance (Romansch), Scots Gaelic, Somali, South Sami, Spanish, Swahili, Swedish, Tswana, Turkish, Volapuk, Votic, Walloon, Xhosa, Yapese and Zulu.
Completely covered by the following font faces: Fixed (all sizes), Terminus (all sizes), TerminusBold (all sizes), TerminusBoldVGA (all sizes), VGA (sizes 8x16 and 16x32).
Covers entirely ISO-8859-2. The Euro sign and the Romanian letters with comma below are also supported. Suitable for the so called Latin2 languages - Bosnian, Croatian, Czech, Hungarian, Polish, Romanian, Slovak, Slovenian and Sorbian (lower and upper).
Completely covered by the following font faces: Fixed (all sizes), Terminus (all sizes), TerminusBold (all sizes), TerminusBoldVGA (all sizes), VGA (sizes 8x16 and 16x32).
Covers entirely ISO-8859-3 and ISO-8859-14. Suitable for Chichewa Esperanto, Irish, Maltese and Welsh.
Completely covered by the following font faces: Fixed (all sizes) and VGA (sizes 8x16 and 16x32).
Covers entirely ISO-8859-13. Suitable for Lithuanian, Latvian, Maori and Marshallese.
Completely covered by the following font faces: Fixed (all sizes), Terminus (all sizes), TerminusBold (all sizes), TerminusBoldVGA (all sizes), VGA (sizes 8x16 and 16x32).
Supported language: Thai.
Completely covered by the following font faces: Fixed (all sizes).
Supports most of the Latin languages, the Slavic Cyrillic languages, Hebrew and barely Arabic.
Completely covered by the following font faces: Fixed (sizes 8x15 and 8x16) and VGA (all sizes).
Supports most of the Latin languages, the Slavic Cyrillic languages and Greek.
Completely covered by the following font faces: Fixed (all sizes) and VGA (sizes 8x16 and 16x32).
Supports most of the Latin and Cyrillic languages.
Completely covered by the following font faces: Fixed (all sizes).
Supported language: Vietnamese.
Completely covered by the following font faces: Fixed (sizes 8x13, 8x15, 8x16 and 8x18).
The standard location of the console-setup configuration file is /etc/default/console-setup. The keyboard configuration is in /etc/default/keyboard. Fonts that can be used with the variable FONT are usually installed in /usr/share/consolefonts/ or /usr/share/syscons/fonts/. Translation maps that can be used with the variable CONSOLE_MAP are usually installed in /usr/share/consoletrans/ or /usr/share/syscons/scrnmaps/.
The aim of the Terminus font is to reduce the eyes-fatigue when one has to read a lot. Currently this font supports only the Latin, the Cyrillic and the Greek scripts (the Lat15, Lat2, Lat7, CyrAsia, CyrKoi, CyrSlav, Greek, Uni2 and Uni3 codesets).
The fonts with font face TerminusBoldVGA are optimized for use with regular text video modes. They should not be used with framebuffer video modes. The fonts with font face TerminusBold are optimized for use with the framebuffer video modes. The fonts with font face Terminus can be used in all video modes.
2011-03-17 | console-setup |