The TTY Demystified (2008)

20after4 63 points 9 comments May 19, 2026
www.linusakesson.net · View on Hacker News

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.

Semantic search powered by Rivestack pgvector
8,303 stories · 78,303 chunks indexed