blob: b9ecfa2ce0e0c708c50cb46bdf32c31969c774e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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";
|