[comp.lang.c] Changing Keyboard Repeat Rate

kam@iti.org (Keith A. McNabb) (05/02/91)

Does anyone know how to alter the keyboard repeat rate of an
IBM-compatible from Microsoft C (or an assembly language call) and
restore it prior to program exit?  I've looked over the DOS interrupts
and can't seem to find anything applicable.

I'm referring to the rate at which DOS recognizes new key inputs when a
keyboard key is continuously depressed.  There are utilities (e.g.,
Norton) outside of a program that can change the parameter, but I'd
like to do it within a program.

Please email rather than post, if possible.  This is probably too
simple or arcane to be of general interest.

Keith