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