[25955] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sun4 9.3.11: xwindows repeated page-up doesn't work

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed Aug 18 13:28:19 2004

Message-Id: <200408181648.i7IGma9A025406@indian-burial-ground-pet-store.mit.edu>
To: Erica H Peterson <astronut@mit.edu>
In-Reply-To: Your message of "Wed, 18 Aug 2004 10:18:01 EDT."
             <Pine.LNX.4.58L.0408181015550.31160@blueshift.mit.edu> 
Date: Wed, 18 Aug 2004 12:48:35 -0400
From: Garry Zacheiss <zacheiss@mit.edu>
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

>> Holding down the page-up key does not send repeated keystroke events on
>> the Sun workstations (this does not appear to be a problem with the
>> linux machines).  If I hold down the up-arrow key, it has a "scroll up"
>> effect, while holding down the page-up key only results in one page-up.

I don't think this is a bug so much as "How it works".  As far as I can
determine, key repeat for PageUp and PageDown in Xsun aren't enabled by
"xset r"; you need to explicitly enable it for them by keycode.

On a Sun with a USB keyboard (Sun Blade 100, 150 and 1500), you can use:

xset r 82
xset r 85

to enable key repeat for PageUp and PageDown respectively.  

If you care about Suns with old-style (Type 5) keyboards, the key codes
are different:

xset r 103
xset r 130

for PageUp and PageDown respectively.

Garry

home help back first fref pref prev next nref lref last post