CONSOLE-WIDTH-SELECT(1)

NAME
console-width-select -- choose a font for the virtual console based on how many characters wide the screen will become.

SYNOPSIS
This program displays a list of font widths along with the number of characters wide the screen will become when that font is selected. Using "screen width" (technically, number of columns) provides a more consistent display across console resolutions.

On installed systems, on exit we set the default font to be the last font select.

KEYS

A   Clear and redraw the screen

a   Redraw the screen

C   (uppercase C) Change text alignment

c   (lowercase c) Cycle through color schemes

h,H Show some simple help

k,K Debug keystrokes

q,Q Quit the program

r,R Restart

s   Show screen size

S   Lauch a sub-shell

t   Show a table of unicode characters

CODESETS
The following codesets are available. The console is limited to 512 different glyphs. Each of these codesets covers the standard ASCII characters and additional symbols and additional characters from in non-English languages.

CJK (Chinese, Japanese, and Korean) characters are not supported. If you want to use these characters in a virtual console then you will need to install a package such as fbterm, fbiterm, or zhcon.

If a CODESET is not given then we select a CODESET based on the LANG environment variable.

CyrAsia
    Suitable for 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.

CyrKoi
    Covers entirely KOI8-R and KOI8-U. Suitable for Russian and Ukrainian.

CyrSlav
    Covers entirely ISO-8859-5 and CP1251. Suitable for the Slavic Cyrillic languages: Belarusian, Bulgarian, Macedonian, Russian, Serbian and Ukrainian. For Serbian both the Cyrillic and the Latin alphabets are supported.

Greek
    For Greek.

Lat2
    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).

Lat15
    Covers entirely ISO-8859-1, ISO-8859-9 and ISO-8859-15. For Latin1 and Latin5 languages: Afar, Afrikaans, Albanian, Aragonese, Asturian, Aymara, Basque, Bislama, Breton, 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.

Lat7
    Covers entirely ISO-8859-13. Suitable for Lithuanian, Latvian, Maori and Marshallese.

Uni2
    Supports most of the Latin languages, the Slavic Cyrillic languages and Greek.

Uni3
    Supports most of the Latin and Cyrillic languages.

ENVIRONMENT
These are the envronment variables that alter what the program does. Examples:

    LANG=el_GR.UTF-8 setfont-select
    CODESPEC=Uni2    setfont-select

CODESET
    Specify which font codeset to use. See list above.

DEBUG
    create a copious log file either in the home directory or in /var/log.

HEIGHT
    pretend the screen is HEIGHT characters high

LANG
    We normally select a CODESET based on the LANG environment variable. You can override the behavior by setting the CODESET environment variable.

T_ONLY
    Only show Terminus fonts.

WIDTH
    pretend the screen is WIDTH characters wide

LICENSE
All code is licensed under the GPL-v3 <https://www.gnu.org/copyleft/gpl.html> or later.

COPYRIGHT
Copyright 1016 Paul Banham <http://antix.freeforums.org/>