Keyboard Buffer

Why Trust Techopedia

What Does Keyboard Buffer Mean?

A keyboard buffer is a small area in the computer’s memory (RAM) that is used to temporarily store the keystrokes from the keyboard before they are processed by the CPU. This is done because there is a delay between the pressing of the key and the sending of the signals, so to avoid timing issues, all the keystrokes are stored in the keyboard buffer until the user presses the “enter” key or a similar command which is very evident in command-line processing or time-sharing systems of generations past. But in today’s modern computing environment with fast hardware and more memory, the keyboard buffer is not as obvious.

Advertisements

Techopedia Explains Keyboard Buffer

The keyboard buffer is used by the operating system to poll key strokes before processing the commands formed by those key presses. This is used to avoid premature processing of invalid commands and to avoid synchronization issues between the user and the computer, since without the buffer, a computer might be expecting a series of key presses from the user that does not come in time. A buffer which stores the typed characters, and essentially the commands, solves this issue of synchronization.

It is also a way to limit the input so that the computer is not flooded with inputs or interrupt requests, especially if a key combination is used for a specific command, such as the ctrl+alt+del command which brings up the task manager. If too many keys are pressed at once, the keyboard buffer returns an error and this is usually heard as a beep generated by the motherboard’s built-in speaker. In older machines with slow CPU and RAM, it is possible for the user to type faster than the buffer can store the data, so an error is returned that the keyboard buffer is full. In this case, the user must simply type slower. However, this is no longer a problem in modern computers.

Advertisements

Related Terms

Margaret Rouse
Technology expert
Margaret Rouse
Technology expert

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.