Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 55343
Collapse All | Expand All

(-)/etc/init.d/keymaps.orig (+5 lines)
Lines 43-48 Link Here
43
		
43
		
44
		/bin/loadkeys -q ${WINDOWKEYS_KEYMAP} ${KEYMAP} \
44
		/bin/loadkeys -q ${WINDOWKEYS_KEYMAP} ${KEYMAP} \
45
		                 ${EXTENDED_KEYMAPS} >/dev/null
45
		                 ${EXTENDED_KEYMAPS} >/dev/null
46
47
		if [ -n "${KEYMAP_ENCODING}" ]
48
		then
49
			dumpkeys -c "${KEYMAP_ENCODING}" | loadkeys -u > /dev/null
50
		fi
46
	else
51
	else
47
		eend 1 "loadkeys executable not found"
52
		eend 1 "loadkeys executable not found"
48
		return 1
53
		return 1
(-)/etc/init.d/consolefont.orig (-2 / +8 lines)
Lines 65-79 Link Here
65
65
66
		if [ "${retval}" -eq 0 ]
66
		if [ "${retval}" -eq 0 ]
67
		then
67
		then
68
			loc_switch="\033(K"
69
			if [ -n "${UTF8}" ] && [ "${UTF8}" == "yes" ]
70
			then
71
				loc_switch="\033%G"
72
			fi
73
			
68
			for x in $(seq 1 "${RC_TTY_NUMBER}")
74
			for x in $(seq 1 "${RC_TTY_NUMBER}")
69
			do
75
			do
70
				# Using DEVFS ?
76
				# Using DEVFS ?
71
				if [ -e /dev/.devfsd ] || \
77
				if [ -e /dev/.devfsd ] || \
72
				   [ -e /dev/.udev -a -d /dev/vc ]
78
				   [ -e /dev/.udev -a -d /dev/vc ]
73
				then
79
				then
74
					echo -ne "\033(K" >/dev/vc/${x}
80
					echo -ne ${loc_switch} >/dev/vc/${x}
75
				else
81
				else
76
					echo -ne "\033(K" >/dev/tty${x}
82
					echo -ne ${loc_switch} >/dev/tty${x}
77
				fi
83
				fi
78
			done
84
			done
79
		fi
85
		fi
(-)/etc/rc.conf.orig (+8 lines)
Lines 7-12 Link Here
7
7
8
KEYMAP="-u ru-yawerty"
8
KEYMAP="-u ru-yawerty"
9
9
10
# If you want to use in UTF locale a keymap created for different locale then it
11
# needs to be converted. Set this variable to value of the encding fo desired keymap.
12
KEYMAP_ENCODING="KOI8-R"
13
14
15
# Set this variable to "yes" if you are using UTF-8 locale.
16
UTF8="yes"
17
10
# Should we first load the 'windowkeys' console keymap?  Most x86 users will
18
# Should we first load the 'windowkeys' console keymap?  Most x86 users will
11
# say "yes" here.  Note that non-x86 users should leave it as "no".
19
# say "yes" here.  Note that non-x86 users should leave it as "no".
12
20

Return to bug 55343