Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kbdrate(8) [linux man page]

KBDRATE(8)						     Linux Programmer's Manual							KBDRATE(8)

NAME
kbdrate - reset the keyboard repeat rate and delay time SYNOPSIS
kbdrate [ -s ] [ -r rate ] [ -d delay ] DESCRIPTION
kbdrate 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. OPTIONS
-s Silent. No messages are printed. -r rate Change the keyboard repeat rate to rate cps. For Intel-based systems, the allowable range is from 2.0 to 30.0 cps. Only certain, specific values are possible, and the program will select the nearest possible value to the one specified. The possible values are given, in characters per second, as follows: 2.0, 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, 6.7, 7.5, 8.0, 8.6, 9.2, 10.0, 10.9, 12.0, 13.3, 15.0, 16.0, 17.1, 18.5, 20.0, 21.8, 24.0, 26.7, 30.0. For SPARC-based systems, the allowable range is from 0 (no repeat) to 50 cps. -d delay Change the delay to delay milliseconds. For Intel-based systems, the allowable range is from 250 to 1000 ms, in 250 ms steps. For SPARC systems, possible values are between 10 ms and 1440 ms, in 10 ms steps. -V Display a version number and exit. BUGS
Not 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 util-linux@math.uio.no. 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. FILES
/etc/rc.local /dev/port Linux 1.1.19 22 June 1994 KBDRATE(8)

Check Out this Related Man Page

XkbGetAutoRepeatRate(3) 					   XKB FUNCTIONS					   XkbGetAutoRepeatRate(3)

NAME
XkbGetAutoRepeatRate - Gets the current attributes of the RepeatKeys control for a keyboard device SYNOPSIS
Bool XkbGetAutoRepeatRate (Display *display, unsigned int device_spec, unsigned int *timeout_rtrn, unsigned int *interval_rtrn); ARGUMENTS
- display connection to X server - device_spec desired device ID, or XkbUseCoreKbd - timeout_rtrn backfilled with initial repeat delay, ms - interval_rtrn backfilled with subsequent repeat delay, ms DESCRIPTION
The core protocol allows only control over whether or not the entire keyboard or individual keys should auto-repeat when held down. RepeatKeys is a boolean control that extends this capability by adding control over the delay until a key begins to repeat and the rate at which it repeats. RepeatKeys is coupled with the core auto-repeat control: when RepeatKeys is enabled or disabled, the core auto-repeat is enabled or disabled and vice versa. Auto-repeating keys are controlled by two attributes. The first, timeout, is the delay after the initial press of an auto-repeating key and the first generated repeat event. The second, interval, is the delay between all subsequent generated repeat events. As with all boolean controls, configuring the attributes that determine how the control operates does not automatically enable the control as a whole. XkbGetAutoRepeatRate queries the server for the current values of the RepeatControls control attributes, backfills timeout_rtrn and inter- val_rtrn with them, and returns True. If a compatible version of the Xkb extension is not available in the server XkbGetAutoRepeatRate returns False. RETURN VALUES
True The XkbGetAutoRepeatRate function returns True if a compatible version of the Xkb extension is available in the server. False The XkbGetAutoRepeatRate function returns False if a compatible version of the Xkb extension is not available in the server. X Version 11 libX11 1.3.2 XkbGetAutoRepeatRate(3)
Man Page