version 4 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
KBDRATE |
|
|
2 |
!!!KBDRATE |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
BUGS |
|
|
8 |
FILES |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
kbdrate - reset the keyboard repeat rate and delay time |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__kbdrate [[ -s ] [[ -r__ rate __] [[ -d__ delay |
|
|
18 |
__]__ |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
__kbdrate__ is used to change the keyboard repeat rate |
|
|
23 |
and delay time. The delay is the amount of time that a key |
|
|
24 |
must be depressed before it will start to |
|
|
25 |
repeat. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
Using __kbdrate__ without any options will reset the |
|
|
29 |
repeat rate to 10.9 characters per second (cps) and the |
|
|
30 |
delay to 250 milliseconds (ms) for Intel- and M68K-based |
|
|
31 |
systems. These are the IBM defaults. On SPARC-based systems |
|
|
32 |
it will reset the repeat rate to 5 cps and the delay to 200 |
|
|
33 |
ms. |
|
|
34 |
!!OPTIONS |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
__-s__ |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
Silent. No messages are printed. |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
__-r__ ''rate'' |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
Change the keyboard repeat rate to ''rate'' cps. For |
|
|
47 |
Intel-based systems, the allowable range is from 2.0 to 30.0 |
|
|
48 |
cps. Only certain, specific values are possible, and the |
|
|
49 |
program will select the nearest possible value to the one |
|
|
50 |
specified. The possible values are given, in characters per |
|
|
51 |
second, as follows: 2.0, 2.1, 2.3, 2.5, 2.7, 3.0, 3.3, 3.7, |
|
|
52 |
4.0, 4.3, 4.6, 5.0, 5.5, 6.0, 6.7, 7.5, 8.0, 8.6, 9.2, 10.0, |
|
|
53 |
10.9, 12.0, 13.3, 15.0, 16.0, 17.1, 18.5, 20.0, 21.8, 24.0, |
|
|
54 |
26.7, 30.0. For SPARC-based systems, the allowable range is |
|
|
55 |
from 0 (no repeat) to 50 cps. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
__-d__ ''delay'' |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
Change the delay to ''delay'' milliseconds. For |
|
|
62 |
Intel-based systems, the allowable range is from 250 to 1000 |
|
|
63 |
ms, in 250 ms steps. For SPARC systems, possible values are |
|
|
64 |
between 10 ms and 1440 ms, in 10 ms steps. |
3 |
NathanHubbard |
65 |
!!EXAMPLE |
|
|
66 |
|
|
|
67 |
kbdrate -d 30 -d 250 |
1 |
perry |
68 |
!!BUGS |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
Not all keyboards support all rates. |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
Not all keyboards have the rates mapped in the same |
|
|
75 |
way. |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Setting the repeat rate on the Gateway !AnyKey keyboard does |
|
|
79 |
not work. If someone with a Gateway figures out how to |
|
|
80 |
program the keyboard, please send mail to |
|
|
81 |
util-linux@math.uio.no. |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
All this is very architecture dependent. Nowadays |
|
|
85 |
__kbdrate__ first tries the KDKBDREP and KIOCSRATE |
|
|
86 |
ioctls. (The former usually works on an m68k machine, the |
|
|
87 |
latter for SPARC.) When these ioctls fail an ioport |
|
|
88 |
interface as on i386 is assumed. |
|
|
89 |
!!FILES |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
''/etc/rc.local |
|
|
93 |
/dev/port'' |
|
|
94 |
---- |