Subject: port-mac68k/6444: Wierdness in new keyboard driver
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/15/1998 03:37:39
>Number:         6444
>Category:       port-mac68k
>Synopsis:       Problems with keyboard mouse emulation
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 15 01:50:01 1998
>Originator:     Frederick Bruckman

>Release:        November 14, 1998
System: NetBSD 1.3H NetBSD 1.3H (FB) #141: 
Sat Nov 14 11:03:32 CST 1998
/usr/src/sys/arch/mac68k/compile/FB mac68k

	There are a couple of weird problems with the keyboard mouse
	emulation. These appeared concurrently with the new adb/mouse/keyboard
	driver last month. Most notable is that the "middle" button,
	Option-2 or Option-LA, can no longer drag the scrollbar in a
	standard xterm. The Control-Middle and Control-Right (Option-3 or 
	Option-RA), pop-up menus are also impossible to use--the pop-up
	window goes away as soon as the mouse is moved. The ability to hold
	down the "button" is entirely missing. The one, real mouse button
	works just fine, but it's emulation, Option-1, does the same as the
	other two.

	There's more. It is possible to select text in an xterm with the one
	button mouse, copy the text with Option-3, then paste it into
	another xterm with Shift-Option-2, but then everything gets wierd.  
	It appears that the caps-lock is set, but not exactly, as none of
	of my custom twm function key bindings work; this is not the case if
	caps-lock is simply set. The mouse now doesn't work quite right
	either: typically I can iconize an xterm, but I can't deiconize any
	of them. This condition passes after a few minutes of random key
	presses and mouse clicks, or perhaps it just times out. (I haven't
	figured that out yet.) Sometimes, however, the destination xterm is
	totally hammered, and can only be killed and restarted. Recall that
	there's no way to access the middle button menu to do a reset. 
	In fact, you can get some action on the middle and right button 
	xterm menus if you move the mouse very quickly, but it's impossible 
	to control.
	Compile a -current kernel; run stock Xmac68k X server with a one
	button mouse; experiment with 2nd and 3rd button emulation, as above.
	The description assumes the ALTXBUTTONS option, but it seems to 
	affect the Option-Arrow Keys equally.