Subject: xsrc/28908: Auto-repeat in Xsun doesn't work by default
To: None <,,>
From: Ben Harris <>
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
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

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

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 ]

A simple work-around is to specify different auto-repeat settings for Xsun 
in, e.g., /usr/X11R6/lib/X11/xdm/Xservers.