#!/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

