Computer Keyboards, Part 3 Codexery

Dead key

A key that modifies the next character without producing one itself.

Dead key

YourWorldExplorer · CC BY 3.0

A dead key is a special modifier key on a mechanical typewriter or computer keyboard that does not generate a character by itself but modifies the character generated by the key struck immediately after. It allows a single diacritic to be attached to multiple base letters without requiring a dedicated key for each combination, making it notable for its efficiency in typing accented characters.

Origin
Mechanical typewriters
Mechanical behavior
Key does not advance the paper carriage
Computer behavior
Temporarily changes keyboard mapping for the next keystroke
Unicode precomposed characters
Over one hundred with two diacritics
Example os
AmigaOS uses Alt+F for acute, Alt+G for grave, Alt+H for circumflex, Alt+J for tilde, Alt+K for trema

Lore & Background

The dead key is mechanical in origin, with 'dead' meaning without movement. On mechanical typebar typewriters, all characters are of equal width. When a key is pressed, a metal typebar strikes the character onto an inked ribbon, and the paper carriage moves forward one space. To use a single diacritic like the acute accent with multiple foundation characters, a new character was created that did not advance the paper, allowing it to be followed by any character to produce an overstruck character. This second key moved the paper carriage forward. With mechanical keyboards, the acute accent could be followed by any character, such as q with an acute accent.

On electronic keyboards, a dead key differs from a typical modifier key in that it is pressed and released before striking the key to be modified. In some computer systems, there is no indication that a dead key has been struck, so the key appears dead. In other text-entry systems, the diacritic is displayed with an indication that the system is waiting for another keystroke. The dead key temporarily changes the keyboard mapping for the next keystroke, activating a special mode. Each combination of a diacritic and base letter must be specified in the character set and supported by the computer font. There is no precomposed character for combining the acute accent with q, so striking ´ and then q likely results in ´q as separate characters, or the sequence may be discarded.

Chained dead keys allow generating precomposed characters with two diacritics, such as those used for Vietnamese. Pressing two corresponding dead keys in any order, followed by the letter key, produces the character. The second keystroke does not trigger insertion; the system awaits another key press. This allows compose key emulation using the dead key feature, performed with proprietary keyboard editing software or driver development kits.

Reader's Guide

The dead key's significance lies in its efficient handling of diacritics across mechanical and electronic keyboards. On mechanical typewriters, it solved the problem of creating accented characters without requiring a separate key for each combination, by using a non-spacing key that allowed overstriking. On computers, it evolved into a temporary keyboard mode that generates precomposed characters, though it requires that each combination be defined in the character set and supported by fonts. The article notes that invalid sequences, such as acute accent with q, may be discarded or produce separate characters. Dead keys are present by default on many non-English keyboard layouts, while the basic US keyboard has none; the US-International layout places dead keys on punctuation marks. Old systems like the MSX had a special dead key used with Ctrl and Shift. In Microsoft Word, the Control key with a diacritic-like key acts as a dead key. On the Macintosh, Option-key combinations create accents that are highlighted until the base character is pressed. AmigaOS uses Alt with specific letter keys to generate dead keys. Chained dead keys extend this functionality to support multiple diacritics, enabling compose key emulation. The article does not provide dates, years, or specific historical figures, but describes the dead key as a persistent feature across typewriter and computer eras.

Did You Know?

Gallery

Frequently Asked Questions

What is a dead key on a keyboard?

A dead key is a special key that produces no visible character when pressed alone but instead modifies the letter you type immediately after it. It essentially holds a diacritic in reserve until the next keystroke supplies the base letter to attach it to.

How does a dead key behave on a typewriter versus a computer?

On a mechanical typewriter, striking a dead key leaves the paper carriage in place, so nothing is printed. On a computer, the key temporarily remaps the keyboard layout so that the very next keypress outputs the accented variant of that letter.

Why are dead keys considered efficient for typing accented characters?

A single dead key can pair with many different base letters, eliminating the need for a dedicated key for every possible accented combination. This keeps the physical layout compact while still covering a broad range of diacritic-marked characters.

Can dead keys produce letters with more than one diacritic?

Yes. Unicode defines over one hundred precomposed characters that carry two diacritics at once, so a dead-key workflow can generate complex accented letters well beyond a single mark.

What do dead-key shortcuts look like in a real operating system?

AmigaOS, for instance, maps Alt+F to acute, Alt+G to grave, Alt+H to circumflex, Alt+J to tilde, and Alt+K to trema. You press the modifier, then the base letter, and the accented result appears on screen.

More in Computer Keyboards, Part 3 1-24

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →