Last change
on this file since 3432 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
604 bytes
|
Rev | Line | |
---|
[3320] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | if test x"$TERM" = x"" -o x"$TERM" = x"unknown"; then
|
---|
| 4 | TERM="linux"
|
---|
| 5 | echo "* Setting TERM='$TERM'"
|
---|
| 6 | fi
|
---|
| 7 | export TERM
|
---|
| 8 |
|
---|
| 9 | ttyname=`tty`
|
---|
| 10 | ttybase="${ttyname%%[0123456789]*}" # strip numeric tail
|
---|
| 11 |
|
---|
| 12 | if test x"$ttybase" = x"/dev/vc/" -o x"$ttybase" = x"/dev/tty"; then
|
---|
| 13 | echo "* Activating Cyrillic KOI8-R -> CP866 font map"
|
---|
| 14 | echo -ne "\033(K" >"$ttyname"
|
---|
| 15 |
|
---|
| 16 | echo "* Loading screen font"
|
---|
| 17 | setfont \
|
---|
| 18 | -C "$ttyname" \
|
---|
| 19 | -m "$PWD/koi8r_to_uni.trans" \
|
---|
| 20 | "$PWD/alt08x16+unimap.fnt" \
|
---|
| 21 | || echo "! setfont failure"
|
---|
| 22 |
|
---|
| 23 | echo "* Loading keymap"
|
---|
| 24 | loadkeys "$PWD/ru_koi8r.keymap" \
|
---|
| 25 | || echo "! loadkeys failure"
|
---|
| 26 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.