#loadkeys -uv 
# MC compiled with ncurses

case $TERM in
	linux*)
		# Already included only in /usr/share/kbd/keymaps/i386/qwerty/ru.map.gz
		{
		cat <<EOF
shift	keycode  59 = F11
shift	keycode  60 = F12
shift	keycode  61 = F13
shift	keycode  62 = F14
shift	keycode  63 = F15
shift	keycode  64 = F16
shift	keycode  65 = F17
shift	keycode  66 = F18
shift	keycode  67 = F19
shift	keycode  68 = F20
EOF
		} | loadkeys -uv
		sleep 1
		echo ;;
	xterm*)
		export TERM='xterm-color'
		[ -f '/usr/share/terminfo/s/screen-256color' ] && \
			export TERM='screen-256color'
			
		[ -n "$XTERM_SHELL" ] && \
			#exec 
		echo ;;
esac

# xterm -xrm xterm*oldXtermFKeys:true -e mc
