diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /sys-apps/kbd/files/alias-console-tools.sh | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'sys-apps/kbd/files/alias-console-tools.sh')
-rw-r--r-- | sys-apps/kbd/files/alias-console-tools.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/kbd/files/alias-console-tools.sh b/sys-apps/kbd/files/alias-console-tools.sh new file mode 100644 index 0000000..b9ecfa2 --- /dev/null +++ b/sys-apps/kbd/files/alias-console-tools.sh @@ -0,0 +1,23 @@ +alias koif="consolechars -f Cyr_a8x16 -m koi8-r &>/dev/null" +alias altf="consolechars -f Cyr_a8x16 -m cp866 &>/dev/null" +alias winf="consolechars -f Cyr_a8x16 -m cp1251 &>/dev/null" +alias isof="consolechars -f Cyr_a8x16 -m iso8859-5 &>/setdev/null" +alias macf="consolechars -f Cyr_a8x16 -m MacCyrillic &>/dev/null" +#unicode_start & unicode_stop for unicode + +alias seteng="loadkeys us.map &>/dev/null" +alias setalt="loadkeys alt.map &>/dev/null" +alias setkoi="loadkeys koi8.map &>/dev/null" +alias setiso="loadkeys iso.map &>/dev/null" +alias setwin="loadkeys win.map &>/dev/null" +alias setuni="loadkeys ru4.uni.kmap &>/dev/null" + +alias locale-koi="export LC_CTYPE=ru_RU.KOI8-R; export LC_COLLATE=ru_RU.KOI8-R"; +alias locale-win="export LC_CTYPE=ru_RU.CP1251; export LC_COLLATE=ru_RU.CP1251"; +alias locale-alt="export LC_CTYPE=ru_RU.CP866; export LC_COLLATE=ru_RU.CP866"; +alias locale-utf="export LC_CTYPE=ru_RU.UTF-8; export LC_COLLATE=ru_RU.UTF-8"; + +alias xterm-koi="LC_CTYPE=ru_RU.KOI8-R LC_COLLATE=ru_RU.KOI8-R xterm"; +alias xterm-win="LC_CTYPE=ru_RU.CP1251 LC_COLLATE=ru_RU.CP1251 xterm"; +alias xterm-alt="LC_CTYPE=ru_RU.CP866 LC_COLLATE=ru_RU.CP866 xterm"; +alias xterm-utf="LC_CTYPE=ru_RU.UTF-8 LC_COLLATE=ru_RU.UTF-8 xterm"; |