|
Lines 52-58
Link Here
|
| 52 |
if [ "${UNICODE}" = "yes" ] |
52 |
if [ "${UNICODE}" = "yes" ] |
| 53 |
then |
53 |
then |
| 54 |
/usr/bin/kbd_mode -u |
54 |
/usr/bin/kbd_mode -u |
| 55 |
dumpkeys | loadkeys --unicode |
55 |
#Choose the codepage for unicode in cyrilic locale |
|
|
56 |
|
| 57 |
if [ -z "${UNICODE_ENCODING}" ] |
| 58 |
then |
| 59 |
dumpkeys | loadkeys --unicode |
| 60 |
else |
| 61 |
case "${UNICODE_ENCODING}" in |
| 62 |
[Kk][Oo][Ii]8-[Rr] ) ENCODING=koi8-r;; |
| 63 |
[Cc][Pp]1251 ) ENCODING=cp1251;; |
| 64 |
esac |
| 65 |
dumpkeys -c ${ENCODING} | loadkeys --unicode |
| 66 |
fi |
| 56 |
termencoding=$'\033%G' |
67 |
termencoding=$'\033%G' |
| 57 |
termmsg="UTF-8" |
68 |
termmsg="UTF-8" |
| 58 |
else |
69 |
else |