Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 72225 | Differences between
and this patch

Collapse All | Expand All

(-)keymaps (-1 / +12 lines)
Lines 52-58 Link Here
52
	if [ "${UNICODE}" = "yes" ]
52
	if [ "${UNICODE}" = "yes" ]
53
	then
53
	then
54
		/usr/bin/kbd_mode -u
54
		/usr/bin/kbd_mode -u
55
		dumpkeys | loadkeys --unicode
55
		#Choose the codepage for unicode in cyrilic locale
56
		
57
		if [ -z "${UNICODE_ENCODING}" ] 
58
		then
59
			dumpkeys | loadkeys --unicode
60
		else 
61
			case "${UNICODE_ENCODING}" in
62
			[Kk][Oo][Ii]8-[Rr] ) ENCODING=koi8-r;;
63
			[Cc][Pp]1251 ) ENCODING=cp1251;;
64
			esac	
65
			dumpkeys -c ${ENCODING} | loadkeys --unicode
66
		fi
56
		termencoding=$'\033%G'
67
		termencoding=$'\033%G'
57
		termmsg="UTF-8"
68
		termmsg="UTF-8"
58
	else
69
	else

Return to bug 72225