Learn about the technologies behind the Internet with The TCP/IP Guide!|
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.
|View over 750 of my fine art photos any time for free at DesktopScenes.com!|
Typematic Features (Repeat Delay and Repeat Rate)
A useful feature found on all systems today is the ability to have a stream of character codes generated automatically when you hold down a key for a period of time. This is called typematic and has been around for quite a long time. It is only of use in certain circumstances of course, but where it is of use, it is indispensable. For example, consider using the arrow keys to move around in a text file, or the <Page Down> key to scroll through a long document. Typematic prevents you having to hit the appropriate key literally hundreds of times in a row.
Typematic can be implemented at almost any level of hardware or software that falls somewhere between the physical keycaps and your application software. More specifically, typematic functions have been implemented in the following ways in the PC:
It's even possible to have a particular application do its own Typematic functions but that's generally not done, except perhaps in some games. Is doing Typematic in hardware better than software, or vice-versa? It depends on your needs and wants. Typematic at the keyboard level can be useful, as it will function the same for all software you use. However, some find it more convenient to use the BIOS or operating system for these functions. For USB you may find your options more limited (BIOS controls may not work for these keyboards.)
There are two key parameters that control the typematic feature:
If you have a keyboard that has built in typematic features, you'll generally set up the feature using special key sequences; refer to your manual or the manufacturer's web site for the commands you need. For BIOS-activated typematic, set the appropriate parameters as described in this section. For Windows, use the keyboard applet in the Control Panel, which has sliders for delay and repeat rate. For DOS, you need to use the MODE command with its strange assignment numbers, as described here.