| 1 |
.\" Copyright 1992, 1994 Rickard E. Faith ([email protected]) |
| 2 |
.\" May be distributed under the GNU General Public License |
| 3 |
.\" Updated Wed Jun 22 21:09:43 1994, [email protected] |
| 4 |
.\" |
| 5 |
.TH KBDRATE 8 "22 June 1994" "kbd" |
| 6 |
.SH NAME |
| 7 |
kbdrate \- reset the keyboard repeat rate and delay time |
| 8 |
.SH SYNOPSIS |
| 9 |
.B kbdrate |
| 10 |
[\fI\,options\/\fR...] |
| 11 |
.SH DESCRIPTION |
| 12 |
.B kbdrate |
| 13 |
is used to change the keyboard repeat rate and delay time. The delay |
| 14 |
is the amount of time that a key must be depressed before it will start to |
| 15 |
repeat. |
| 16 |
|
| 17 |
Using |
| 18 |
.B kbdrate |
| 19 |
without any options will reset the repeat rate to 10.9 characters per second (cps) |
| 20 |
and the delay to 250 milliseconds (ms) for Intel- and M68K-based systems. |
| 21 |
These are the IBM defaults. On SPARC-based systems it will reset the repeat rate |
| 22 |
to 5 cps and the delay to 200 ms. |
| 23 |
|
| 24 |
.SH OPTIONS |
| 25 |
.TP |
| 26 |
\fB\-r\fR, \fB\-\-rate\fR=\fI\,NUMBER\/\fR |
| 27 |
Change the keyboard repeat rate to |
| 28 |
.I NUMBER |
| 29 |
cps. For Intel-based systems, the allowable range is from 2.0 to 30.0 cps. |
| 30 |
Only certain, specific values are possible, and the program will select the |
| 31 |
nearest possible value to the one specified. The possible values are given, |
| 32 |
in characters per second, as follows: 2.0, 2.1, 2.3, 2.5, 2.7, 3.0, 3.3, 3.7, |
| 33 |
4.0, 4.3, 4.6, 5.0, 5.5, 6.0, 6.7, 7.5, 8.0, 8.6, 9.2, 10.0, 10.9, 12.0, 13.3, |
| 34 |
15.0, 16.0, 17.1, 18.5, 20.0, 21.8, 24.0, 26.7, 30.0. |
| 35 |
For SPARC-based systems, the allowable range is from 0 (no repeat) to 50 cps. |
| 36 |
.TP |
| 37 |
\fB\-d\fR, \fB\-\-delay\fR=\fI\,NUMBER\/\fR |
| 38 |
Change the delay to |
| 39 |
.I NUMBER |
| 40 |
milliseconds. |
| 41 |
For Intel-based systems, the allowable range is from 250 to 1000 ms, |
| 42 |
in 250 ms steps. For SPARC systems, possible values are between 10 ms and 1440 ms, |
| 43 |
in 10 ms steps. |
| 44 |
.TP |
| 45 |
\fB\-s\fR, \fB\-\-silent\fR |
| 46 |
Silent. No messages are printed. |
| 47 |
.TP |
| 48 |
\fB\-h\fR, \fB\-\-help\fR |
| 49 |
Display a help text. |
| 50 |
.TP |
| 51 |
\fB\-V\fR, \fB\-\-version\fR |
| 52 |
Display a version number and exit. |
| 53 |
.SH BUGS |
| 54 |
Not all keyboards support all rates. |
| 55 |
.PP |
| 56 |
Not all keyboards have the rates mapped in the same way. |
| 57 |
.PP |
| 58 |
Setting the repeat rate on the Gateway AnyKey keyboard does not work. If |
| 59 |
someone with a Gateway figures out how to program the keyboard, please send |
| 60 |
mail to [email protected]. |
| 61 |
.PP |
| 62 |
All this is very architecture dependent. |
| 63 |
Nowadays |
| 64 |
.B kbdrate |
| 65 |
first tries the KDKBDREP and KIOCSRATE ioctls. |
| 66 |
(The former usually works on an m68k/i386 machine, the latter for SPARC.) |
| 67 |
When these ioctls fail an ioport interface. |
| 68 |
.SH FILES |
| 69 |
.I /etc/rc.local |
| 70 |
.br |
| 71 |
.I /dev/port |