Subject: xsrc/28908: Auto-repeat in Xsun doesn't work by default
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 01/08/2005 18:00:00
>Number: 28908
>Category: xsrc
>Synopsis: Auto-repeat in Xsun doesn't work by default
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 08 18:00:00 +0000 2005
>Originator: Ben Harris
>Release: NetBSD 2.0
>Organization:
>Environment:
System: NetBSD fisher 2.99.11 NetBSD 2.99.11 (GENERIC) #5: Fri Dec 31 14:33:29 GMT 2004 bjh21@viking:/opt/netbsd/src/sys/arch/sparc/compile/GENERIC sparc
Architecture: sparc
Machine: sparc
>Description:
By default, in Xsun (and XsunMono, which is what I'm actually using), Sun
keyboards don't auto-repeat. This problem for some reason only manifests
when using the default settings of 660ms delay and 25 ms period. Changing
either of these (either using xset or the -ar1 and -ar2 options to Xsun)
causes auto-repeat to work. Putting them back to the default settings
causes it to stop working again.
This is also discussed at
<http://mail-index.netbsd.org/port-sparc/2004/11/11/0000.html>
<http://mail-index.netbsd.org/port-sparc/2004/11/14/0000.html>
<http://mail-index.netbsd.org/port-sparc/2005/01/06/0004.html>
>How-To-Repeat:
While running Xsun:
$ xset r rate 660 25
[ auto-repeat doesn't work ]
$ xset r rate 661 25
$ xset r rate 659 25
$ xset r rate 660 24
$ xset r rate 660 26
[ all of these cause auto-repeat to work ]
>Fix:
A simple work-around is to specify different auto-repeat settings for Xsun
in, e.g., /usr/X11R6/lib/X11/xdm/Xservers.