SUMMARY: speeding up key-repeat

From: Michael Maciolek (mmaciole@bbnplanet.com)
Date: Thu May 20 1999 - 15:46:27 CDT


(original query appears at the end of this message)

Hats off to Ted Marigomen and Christopher M. Conway for their quick and
on-target replies. I'm embarassed to find it was this easy. Key repeat
is managed by the X server, and controlled by the -ar1 and -ar2 command
line options.

If you're using dtlogin, follow Ted's instructions (below). If you're
invoking X from the console command line, figure out how to pass the
appropriate arguments to your X server. For me, it was easy:

        /usr/openwin/bin/openwin -ar1 250 -ar2 25

The 'openwin' script takes any unrecognized arguments and passes them
on to the X server. Works like a charm! Thanks!

Here's Ted's detailed explanation of how to make it work with dtlogin.

> You will need to copy the /usr/dt/config/Xservers file to
> /etc/dt/config. Then, edit the /etc/dt/config/Xservers file so the Xsun
> line will have the -ar1 and -ar2 parameters:
>
> * Local local_uid@console root /usr/openwin/bin/Xsun :0 -ar1 250 -ar2 25 -nobanner
>
> -ar1 milliseconds
> Specify amount of time in milliseconds before a
> pressed key begins to autorepeating. The default is
> 500 milliseconds.
>
> -ar2 milliseconds
> specify the interval in milliseconds between
> autorepeats of pressed keys. The default is 50 mil-
> liseconds.
>
> Then, you will have to restart the X server (/etd/init.d/dtlogin
> start/stop).

On Thu, 20 May 1999, Michael Maciolek wrote:
>
> Solaris 2.6 on a SPARCstation 5, all recommended patches.
>
> Does anyone know a way to increase the speed at which a pressed key
> will repeat? (on the Sun Keyboard, running X)
>
> I already know about the AccessX Solaris package, which allows you
> to tune the delay before onset of key repeat and the repeat speed,
> but the maximum repeat speed is limited to about 10 characters per
> second - that's not noticeably better than the default.
>
> I'd like to see something in the vicinity of 20 characters per sec.
>
> Any suggestions? Thanks!
>
> Michael Maciolek



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:20 CDT