The TTY Demystified (2008)
20after4
63 points
9 comments
May 19, 2026
Related Discussions
Found 5 related stories in 629.2ms across 14,015 title embeddings via pgvector HNSW
- The full stack of terminals explained ludicrousdispla · 24 pts · July 05, 2026 · 59% similar
- The Teensy Executable Revisited ankitg12 · 21 pts · June 24, 2026 · 52% similar
- Ghostty – Terminal Emulator oli5679 · 690 pts · March 01, 2026 · 51% similar
- Using a 1978 terminal in 2026 (DEC VT-100) · Nikhil Jha rbanffy · 13 pts · April 29, 2026 · 50% similar
- Using a 1978 terminal in 2026 (DEC VT-100) ninjha · 16 pts · April 28, 2026 · 50% similar
Discussion Highlights (3 comments)
20after4
The low level details of the Linux TTY driver is a surprisingly deep subject. This very old page taught me a lot about it and a recent HN discussion reminded me to dig up the old link. Hopefully others find it as enlightening as I have.
Joker_vD
Frankly, the way the functionality needed to implement LF-to-CRLF conversion on output/CR-to-LF conversion on input/line editing/session and process management is split between the terminal itself, the kernel, and the application code is quite awkward. And of course, the concerns of the serial line driver are thrown into the mix too, for the added entertainment.
teddyh
The “index.php” in the URL is redundant.