home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
bin
/
unicode_stop
< prev
next >
Wrap
Text File
|
2006-11-29
|
451b
|
21 lines
#!/bin/sh
# stop unicode
TTY=`/usr/bin/tty`
case $TTY in
/dev/console|/dev/tty[0-9]*)
;;
*)
echo "unicode_stop skipped on $TTY"
exit 0
;;
esac
kbd_mode -a
echo -n -e '\033%@'
# "dumpkeys | loadkeys --unicode" which is called in "unicode_start"
# cannot be reverted, therefore we have to load the keyboard mapping again
# if it could be sucessfully saved in "unicode_start":
test -r $HOME/.kbd/.keymap_sv && loadkeys $HOME/.kbd/.keymap_sv