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

(-)/usr/portage/sys-libs/gpm/files/gpm.conf.d.old (+9 lines)
Lines 6-11 Link Here
6
#MOUSE=imps2
6
#MOUSE=imps2
7
#MOUSEDEV=/dev/psaux
7
#MOUSEDEV=/dev/psaux
8
MOUSEDEV=/dev/input/mice
8
MOUSEDEV=/dev/input/mice
9
#MOUSEDEV=/dev/input/by-path/platform-i8042-serio-1-mouse
9
10
10
# Extra settings
11
# Extra settings
11
12
Lines 21-23 Link Here
21
22
22
#APPEND="-g 1 -A60"
23
#APPEND="-g 1 -A60"
23
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A60"
24
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A60"
25
26
# Extra mouse?  ;-)
27
28
MOUSE2=imps2
29
MOUSEDEV2=/dev/input/by-id/usb-Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye_TM_-mouse
30
#RESPONSIVENESS2=
31
#REPEAT_TYPE2=raw
32
#APPEND2="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -A60"
(-)/usr/portage/sys-libs/gpm/files/gpm.rc6.old (-2 / +12 lines)
Lines 21-33 Link Here
21
	checkconfig || return 1
21
	checkconfig || return 1
22
22
23
	local params=""
23
	local params=""
24
	local params2=""
25
	local mouse2cmd=""
24
	[ -n "$RESPONSIVENESS" ] && params="$params -r $RESPONSIVENESS"
26
	[ -n "$RESPONSIVENESS" ] && params="$params -r $RESPONSIVENESS"
25
	[ -n "$REPEAT_TYPE" ]    && params="$params -R$REPEAT_TYPE"
27
	[ -n "$REPEAT_TYPE" ]    && params="$params -R$REPEAT_TYPE"
26
	[ -n "$APPEND" ]         && params="$params $APPEND "
28
	[ -n "$APPEND" ]         && params="$params $APPEND "
27
	
29
	if [ -n "$MOUSE2" ] && [ -c "$MOUSEDEV2" ]; then
30
		[ -n "$RESPONSIVENESS2" ] && params2="$params2 -r $RESPONSIVENESS2"
31
		[ -n "$REPEAT_TYPE2" ]    && params2="$params2 -R$REPEAT_TYPE2"
32
		[ -n "$APPEND2" ]         && params2="$params2 $APPEND2 "
33
	fi
34
28
	ebegin "Starting gpm"
35
	ebegin "Starting gpm"
36
	if [ -n "$MOUSE2" ] && [ -c "$MOUSEDEV2" ]; then
37
		mouse2cmd="-M -m ${MOUSEDEV2} -t ${MOUSE2} ${params2}"
38
	fi
29
	start-stop-daemon --start --quiet --exec /usr/sbin/gpm \
39
	start-stop-daemon --start --quiet --exec /usr/sbin/gpm \
30
		-- -m ${MOUSEDEV} -t ${MOUSE} ${params}
40
		-- -m ${MOUSEDEV} -t ${MOUSE} ${params} ${mouse2cmd}
31
	eend ${?}
41
	eend ${?}
32
}
42
}
33
43

Return to bug 193256