keyboard buffer

Uses your system voice; voice and rate in settings.

Q350413Snapshot

≈ 4 min read

Names in other languages

  • kk-arabپەرنەتاقتا بۋفەرى
  • kk-cnپەرنەتاقتا بۋفەرى
  • kk-cyrlПернетақта буфері
  • kk-kzПернетақта буфері
  • kk-trPernetaqta bwferi
  • PolskiBufor klawiatury
  • Englishkeyboard buffer
  • DeutschTastaturpuffer

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

A keyboard buffer is a section of computer memory used to hold keystrokes before they are processed. Keyboard buffers have long been used in command-line processing. As a user enters a command, they see it echoed on their terminal and can edit it before it is processed by the computer. In time-sharing systems, the location of the buffer depends on whether communications is full-duplex or half-duplex. In full-duplex systems, keystrokes are transmitted one by one. As the main computer receives each keystroke, it ordinarily appends the character which it represents to the end of the keyboard buffer. The exception is control characters, such as "delete" or "backspace" which correct typing mistakes by deleting the character at the end of the buffer. In half-duplex systems, keystrokes are echoed locally on a computer terminal. The user can see the command line on their terminal and edit it before it is transmitted to the main computer. Thus the buffer is local. On some early home computers, to minimize the necessary hardware, a CPU interrupt checked the keyboard's switches for key presses multiple times each second, and recorded the key presses in a keyboard buffer for the operating system or application software to read. On some systems, if the user presses too many keys at once, the keyboard buffer overflows and will emit a beep from the computer's internal speaker.

A keyboard buffer is a section of computer memory used to hold keystrokes before they are processed. Keyboard buffers have long been used in command-line processing. As a user enters a command, they see it echoed on their terminal and can edit it before it is processed by the computer. In time-sharing systems, the location of the buffer depends on whether communications is full-duplex or half-duplex. In full-duplex systems, keystrokes are transmitted one by one. As the main computer receives each keystroke, it ordinarily appends the character which it represents to the end of the keyboard buffer. The exception is control characters, such as "delete" or "backspace" which correct typing mistakes by deleting the character at the end of the buffer. In half-duplex systems, keystrokes are echoed locally on a computer terminal. The user can see the command line on their terminal and edit it before it is transmitted to the main computer. Thus the buffer is local. On some early home computers, to minimize the necessary hardware, a CPU interrupt checked the keyboard's switches for key presses multiple times each second, and recorded the key presses in a keyboard buffer for the operating system or application software to read. On some systems, if the user presses too many keys at once, the keyboard buffer overflows and will emit a beep from the computer's internal speaker.

References

Text derived from https://en.wikipedia.org/w/index.php?oldid=1192869432 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot keyboard-buffer-040719-140d3411f6d42a24 · hash 140d3411f6d42a2489ef053f216ef6347644685a733a6cef15dffc22d0f353b8 · captured 1704050116.0 · version history

Cite this page as: encyclopegia.org, “keyboard buffer”, snapshot keyboard-buffer-040719-140d3411f6d42a24. https://encyclopegia.org/a/keyboard-buffer

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.