logoalt Hacker News

The TTY Demystified (2008)

43 pointsby 20after4yesterday at 6:40 PM8 commentsview on HN

Comments

20after4yesterday at 8:21 PM

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.

teddyhyesterday at 11:14 PM

The “index.php” in the URL is redundant.

Joker_vDyesterday at 11:13 PM

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.

show 1 reply