Skip to content
Surf Wiki
Save to docs
general/typing

From Surf Wiki (app.surf) — the open knowledge base

Typeahead


Typeahead is a feature of computers and software (and some typewriters) that enables users to continue typing regardless of program or computer operation—the user may type in whatever speed is desired, and if the receiving software is busy at the time it will be called to handle this later. Often this means that keystrokes entered will not be displayed on the screen immediately. This programming technique for handling uses what is known as a keyboard buffer.

Typeahead has its roots in the age of typewriters. The IBM Selectric typewriter, first released in 1961, had a mechanical key lockout feature designed to smooth out typists' irregular keystrokes that, to many users, felt like typeahead.

Achieving true typeahead requires maintaining a so-called "typeahead buffer"—a FIFO queue, for instance—whose role it is to store a limited amount of keyboard input until it is called for. Installing such a buffer can be done at both the hardware and the software levels; most modern operating systems, such as Unix, implement this using software, calling kernel interrupts.

In some network operations, one might attempt to dispatch information over a network, regardless whether the receiving program manages to keep up, using the recipient's typeahead functions. However, as this is far too reliant on the specifications of the computer with which one is communicating, it is not often used.

References

References

  1. . (1967). ["Selectric Typewriter Operating Instructions"](https://site.xavier.edu/polt/typewriters/IBMSelectricI.pdf). *IBM*.
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Typeahead — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report