#!
#
#   kuru.sh -- Ìð°õ¥¯¥ë¥¯¥ë (¤Ñ¤¦¥Õ¥©¥ó¥È¸ÂÄê)
#

curtty=`tty | sed 's|/|-|g'`
if [ ! -w /tmp/kuru-$curtty.txt ]; then
	touch /tmp/kuru-$curtty.txt
fi
kuruchar=`sed -n '1p' < /tmp/kuru-$curtty.txt`
case "x${kuruchar}x" in
	x¢¬*)   kuruchar='£§' ;;
	x¢«*)   kuruchar='£¨' ;;
	x¢­*)   kuruchar='£¦' ;;
	x¢ª*)   kuruchar='£¥' ;;
	x£§*)	kuruchar='¢«' ;;
	x£¨*)	kuruchar='¢­' ;;
	x£¥*)	kuruchar='¢¬' ;;
	x£¦*)	kuruchar='¢ª' ;;
	*)      kuruchar='¢¬' ;;
esac
echo -n "$kuruchar "
echo "$kuruchar" > /tmp/kuru-$curtty.txt

exit 0

# EOF
