KBDRATESection: Linux Programmer's Manual (8)
Updated: 22 June 1994
Return to Main Contents
NAMEkbdrate - reset the keyboard repeat rate and delay time
SYNOPSISkbdrate [ -s ] [ -r rate ] [ -d delay ]
DESCRIPTIONkbdrate is used to change the keyboard repeat rate and delay time. The delay is the amount of time that a key must be depressed before it will start to repeat.
Using kbdrate without any options will reset the repeat rate to 10.9 characters per second (cps) and the delay to 250 milliseconds (ms) for Intel- and M68K-based systems. These are the IBM defaults. On SPARC-based systems it will reset the repeat rate to 5 cps and the delay to 200 ms.
BUGSNot all keyboards support all rates.
Not all keyboards have the rates mapped in the same way.
Setting the repeat rate on the Gateway AnyKey keyboard does not work. If someone with a Gateway figures out how to program the keyboard, please send mail to firstname.lastname@example.org.
All this is very architecture dependent. Nowadays kbdrate first tries the KDKBDREP and KIOCSRATE ioctls. (The former usually works on an m68k machine, the latter for SPARC.) When these ioctls fail an ioport interface as on i386 is assumed.
This document was created by man2html, using the manual pages.
Time: 00:59:37 GMT, March 02, 2024