HN Hall of Fame Weekly email

The TTY demystified (2008)

www.linusakesson.net Books & learning Tutorials & guides Software engineering Candidate
Screenshot of www.linusakesson.net captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 17 calendar years, with breakout response in 6 of them.

submissions
32
submitters
32
observed span
2009–2025
peak thread · 46 comments
243 pts
latest 20+ return · 2025-08-26
96 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

One of the most important commands I learned was "reset", especially when I was working with anything that would want to do something special. From the man page: "When invoked as reset, tset sets cooked and echo modes, turns off and raw modes, turns on newline translation and resets any unset characters to their default values before doing the terminal described above. This is useful after a program dies a terminal in an abnormal state." Except, it is also useful…

> Line editing...a backspace key is often useful. This could of course be implemented by the applications themselves, but in accordance with the UNIX design philosophy, applications should be kept as simple as possible. So as a convenience, the operating system provides an editing buffer Actually this is backwards. Line discipline is a historical artifact. Typically mainframes had IO front ends (AKA channel controllers) than managed IO so that the CPU (which BTW was what was charged for) could be…

gumby·218-point thread·

What would a clean-slate implementation of a serial terminal look like today? I work in embedded, and a serial terminal is practically a must in any system, if only for debug. A way to provide input and receive output. You'll definitely want a FIFOs for RX/TX. You also likely want control chars and a way to shortcut the FIFO, if only to interrupt output. The FIFO means you can abstract away the exact physical communication medium. TUI interfaces mean you…

Things like this, with quirks due to decades and decades of history, always make me wonder what things would be like if we started over, with a clean slate. In so many places, when you start digging, you find something that references the way mainframes worked in the sixties or teletypes way before that etc. I mean, it's probably not practical, and it would probably be killed by committee or reimplemented in JavaScript anyway, but you can't help but wonder...

klum·168-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
6

100+ points or 50+ comments

Total points
1786

reference only — not used in Hall rules or ranking

Total comments
292

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2009-06-15The TTY demystifiedsurki9313
2010-07-13The tty demystifiedfs11140
2011-01-27The Linux TTY demystifiedmmastrac40
2011-08-27From physical teletypes to the modern day Linux TTY Subsystemachille10
2011-12-07The TTY demystifiedVeXocide20
2012-02-26The TTY demystifiedxtacy50
2012-04-11TTY Explainedrandhckr30
2012-06-04The TTY demystifiedFirst breakoutiveney16117
2012-09-19The TTY Demystifiednatex15746
2013-08-04The TTY demystifiedthealphanerd50
2014-06-26The TTY demystifiedthomie10
2014-07-27The TTY demystifiedluu21821
2015-08-15The TTY demystified (2008)r4um12731
2015-11-26The TTY demystifiedtim_sw16840
2016-12-15The TTY demystifieddkarapetyan30
2017-01-23The TTY demystifiedwilllll30
2017-02-04The TTY demystified (2008)brandur20
2017-02-05The TTY demystified (2008)Best threadIvoah24343
2018-05-24The TTY demystifiedvedanshbhartia20
2018-08-05The TTY demystifiedadambyrtek20
2018-08-15The TTY demystified (2008)kjeetgill9812
2018-09-18The TTY demystifiedkburman10
2019-05-22The TTY Demystifiedjiux20
2020-01-15The TTY Demystified (2008)tosh30
2020-02-20The TTY Demystified (2008)wbsun10
2020-05-09The TTY DemystifiedArun200910
2021-04-14The TTY Demystified (2008)csomar18735
2021-11-02The TTY Demystifiedthebeardisred40
2022-04-24The TTY Demystified (2008)dp-hackernews14622
2023-08-11The TTY Demystifiedbpierre30
2024-01-14The TTY Demystified (2008)thunderbong403
2025-08-26The TTY Demystified (2008)Latest 20+ point returnjonasdegendt969