haozhou@acsu.buffalo.edu (Hao Zhou) (02/14/91)
Is there any way to set keyboard speed in X windows? Thanks in advance. - Hao -- Internet:haozhou@acsu.buffalo.edu BITNET:haozhou%acsu.buffalo.edu@UBVM.BITNET UUCP: rutgers!ub!haozhou
bob@morningstar.COM (02/14/91)
From: haozhou@acsu.buffalo.edu (Hao Zhou)
Date: 13 Feb 91 21:02:10 GMT
Is there any way to set keyboard speed in X windows?
Depends upon what type of machine you're using, and what you mean by
keyboard speed. On a Sun, for example, you probably want to diddle
the "-ar1" and "-ar2" switches. From the Xsun manual page:
OPTIONS
In addition to the normal server options described in the
Xserver(1) manual page, Xsun accepts the following command
line switches:
-ar1 milliseconds
This option specifies amount of time in milliseconds
before which a pressed key should begin to
autorepeat.
-ar2 milliseconds
This option specifies the internal in milliseconds
between autorepeats of pressed keys.
The defaults are set in X.V11R4/mit/server/ddx/sun/sun.h:
#define AUTOREPEAT_INITIATE (200) /* milliseconds */
#define AUTOREPEAT_DELAY (50) /* milliseconds */
If you're using a different MIT server, or a commercial release,
you'll need to consult its own manual page and/or source.