> ## Content Index
> Fetch the complete content index at: https://huizhou92.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Without Monitors, Programmers Edited Code Blind on 10-cps Paper Rolls — Yet Set Today's Terminal and vi Keys
- URL: https://huizhou92.com/teletype-asr33-to-crt-vi-terminal-en/
- Published: 2026-12-01T01:41:35.000Z
- Updated: 2026-12-01T01:41:35.000Z
- Description: In 1970 Bell Labs had no monitors. Programmers wrote Unix on 10-cps Teletype paper rolls until a $995 ADM-3A CRT terminal gave vi its hjkl and ESC keys.
- Author: huizhou92
- Tags: #lang-en, Technology, Software Engineering, Programming, Unix, Computer History

### From Teletype 33 ASR paper rolls to the $995 ADM-3A — why Unix keeps two-letter commands and hjkl

In 1970 at Bell Labs in Murray Hill, New Jersey, Ken Thompson and Dennis Ritchie were writing early Unix on a DEC minicomputer. No glass monitors sat on their desks, only **Teletype Model 33 ASR** teleprinters adapted from telegraph hardware (the origin of `/dev/tty` in Linux). A continuous paper roll fed behind a cylindrical metal printhead, stamping uppercase letters through an ink ribbon at every command.

![Ken Thompson and Dennis Ritchie in 1973](https://upload.wikimedia.org/wikipedia/commons/1/1b/Ken_Thompson_and_Dennis_Ritchie--1973.jpg)

*Unix creators Ken Thompson (left) and Dennis Ritchie (right) in 1973, photographed in front of DEC PDP-11 equipment at Bell Labs. Bell Labs / Jargon File, Public Domain, via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:Ken%5FThompson%5Fand%5FDennis%5FRitchie--1973.jpg?ref=huizhou92.com)*.*

The ASR-33 handled uppercase letters alone over a **110-baud** serial line. Counting start and stop bits alongside data, each character consumed 11 bits, capping top print speed at 10 characters per second. Typing one command meant listening to the printhead hammer across the paper for seconds while echoing back your own line.

![Teletype Model 33 ASR at the Computer History Museum](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/ASR-33_at_CHM.agr.jpg/1280px-ASR-33_at_CHM.agr.jpg)

*A Teletype Model 33 ASR teleprinter displayed at the Computer History Museum, with its continuous paper roll mounted behind the platen. Photo by ArnoldReinhold, CC BY-SA 3.0, via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:ASR-33%5Fat%5FCHM.agr.jpg?ref=huizhou92.com)*.*

## Waiting 0.2 seconds for the printhead and debugging a single question mark

At the end of every line, a spring mechanism pulled the printhead back down its track to column 1\. That mechanical return took **200 milliseconds**, enough time for two more bytes to arrive down the wire and print mid-page unless the line paused. To let hardware settle, teletypes split every new line into a carriage return `CR` (`\r`), a line feed `LF` (`\n`) to roll paper forward, and timing padding, leaving Windows with `\r\n` while Unix folded both steps into `\n` inside its device driver.

Heavy mechanical key travel made long words painful, and every extra byte cost 0.1 seconds of paper feed. Early Unix shrunk everyday commands to two letters (`ls`, `cp`, `mv`, `rm`) while staying silent on success because omitting twenty letters saved two seconds of hammering. Only when Bell Labs' patent office needed lowercase text and math symbols for applications did Unix adopt the upgraded Teletype Model 37\. Dennis Ritchie documented that trade in 1984:

> "At the time, they were evaluating a commercial system for this purpose; the main advantages we offered (besides the dubious one of taking part in an in-house experiment) were two in number: first, we supported Teletype's model 37 terminals, which, with an extended type-box, could print most of the math symbols they required; second, we quickly endowed roff with the ability to produce line-numbered pages, which the Patent Office required..."

Paper rolls moved upward in one direction with no way to erase ink in place. When Thompson built the `**ed**` line editor in 1969, programmers worked blind without surrounding context. Inspecting line 18 required typing `18p` so the printer hammered line 18 at the bottom edge of the roll, followed by `18s/prit/print/` to fix a typo. Hit a syntax error, and `ed` spent 0.1 seconds printing a solitary `?` unless you asked for details with `h`.

## An editor for mortals at Queen Mary College

By autumn 1975 at Queen Mary College in London, Professor George Coulouris wrote an interactive single-line editor for Unix on an early video display. After Thompson stopped by the lab to see a demo, his reaction gave the program its name, **`em`**:

> "By the way, 'em' stands for 'editor for mortals' — I christened it that after Ken Thompson visited our lab at QMC while I was developing it and said something like: 'yeah, I've seen editors like that, but I don't feel a need for them, I don't want to see the state of the file when I'm editing.'"

Over a 110-baud line, keeping line numbers in your head beat repainting glass. Cheap cathode-ray terminals soon shifted that arithmetic.

## How a $995 ADM-3A terminal and a 300-baud modem shaped vi

In summer 1976, Coulouris carried a magnetic tape holding the `em` source code on sabbatical to UC Berkeley, passing it to graduate students Bill Joy and Chuck Haley. Both extended it into `ex` right as Berkeley computing rooms received the Lear Siegler **ADM-3A** CRT terminal, released in July 1976\. Earlier buffered terminals cost two to three thousand dollars, whereas the ADM-3A cut the price to around $995 and displayed 24 rows by 80 columns of green text, retaining punched-card width on glass.

![Lear Siegler ADM-3A CRT terminal](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/2024-10-20-Lear-Siegler-ADM-3A-Teleprint.jpg/1280px-2024-10-20-Lear-Siegler-ADM-3A-Teleprint.jpg)

*The Lear Siegler ADM-3A video terminal introduced in July 1976, bringing 24-by-80 glass screens into university rooms at roughly $995\. Photo by Gunnar Klack, CC BY-SA 4.0, via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:2024-10-20-Lear-Siegler-ADM-3A-Teleprint.jpg?ref=huizhou92.com)*.*

With full-page updates available on screen, Joy built visual editing mode `vi` atop `ex`. Keeping the ADM-3A below $1,000 forced Lear Siegler to omit a dedicated arrow cluster, stamping left, down, up, and right arrows onto `H`, `J`, `K`, and `L` instead. Joy mapped `vi` cursor motion straight to those four keys.

![ADM-3A H J K L cursor keycaps diagram](https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Cursor_keys--ADM-3A.svg/1280px-Cursor_keys--ADM-3A.svg.png)

*Close-up diagram of the ADM-3A keyboard showing left, down, up, and right arrows printed on `H`, `J`, `K`, and `L`. Diagram by Engicoder, Public Domain, via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:Cursor%5Fkeys--ADM-3A.svg?ref=huizhou92.com)*.*

Two more quirks from that plastic housing stuck around. The `**ESC**` key sat right beside `Q` where modern keyboards place `Tab`, putting mode switching beneath the left pinky. Up in the top-right corner, `HOME` shared a keycap with `~`, prompting Joy to adopt `~` as the home-directory shortcut in the C Shell.

![Full keyboard layout of the ADM-3A terminal](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/KB_Terminal_ADM3A.svg/1280px-KB_Terminal_ADM3A.svg.png)

*Complete ADM-3A key layout illustrating `ESC` beside `Q` and `HOME` paired with `~` in the upper right. Diagram via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:KB%5FTerminal%5FADM3A.svg?ref=huizhou92.com)*, CC BY-SA 3.0.*

Phone lines at home pushed `vi` commands just as hard. Dialing Berkeley on a **300-baud** modem delivered around 30 characters per second, meaning a full 24-by-80 screen refresh took 64 seconds. Looking back in August 1984, Joy explained the tight single-letter keystrokes:

> "It was really hard to do because you've got to remember that I was trying to make it usable over a 300 baud modem. That's also the reason you have all these funny commands. It just barely worked to use a screen editor over a modem. It was just barely fast enough. A 1200 baud modem was an upgrade."

Two years later, DEC launched the 1978 VT100 terminal with a standalone four-arrow cluster on the right, and personal computers later pushed `ESC` up to the top-left corner.

![DEC VT100 terminal at the Living Computer Museum](https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/DEC_VT100_terminal.jpg/1280px-DEC_VT100_terminal.jpg)

*A DEC VT100 terminal (1978) preserved at Seattle's Living Computer Museum, with dedicated arrow keys above the main keypad. Photo by Jason Scott, CC BY 2.0, via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:DEC%5FVT100%5Fterminal.jpg?ref=huizhou92.com)*.*

Terminals changed shape as hardware fell in price, yet BSD Unix carried `vi` and the C Shell across every computing lab. Ten characters per second on a 1970 paper roll and one $995 keyboard from 1976 stay alive under modern fingers through `ls`, `\r\n`, `~`, `hjkl`, and `ESC`.

### References

1. Teletype Corporation, *Bulletin 310B: Model 33 Teletypewriter Set Technical Manual*, 1963.
2. Dennis M. Ritchie, *The Evolution of the Unix Time-sharing System*, *Bell Laboratories Technical Journal*, Vol. 63, No. 8, October 1984\. ([Bell Labs Archive](https://www.bell-labs.com/usr/dmr/www/hist.html?ref=huizhou92.com))
3. George Coulouris, *em: Editor for Mortals — Historical Notes*, Queen Mary College, University of London (1975-1976).
4. Jim Joyce, *Interview with Bill Joy*, *Unix Review*, August 1984.
5. Lear Siegler, Inc., *ADM-3A Dumb Terminal Operators Manual*, July 1976.