Better HN
topnewbestaskshowjobs
Log inSign up

shwinted

13 karma · joined Jul 28, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

Even after reading this, TTYs will surprise you. I've done my share of TTY programming in Linux and here be dragons.

From modes to tty types to control chars and signals, the TTY system is itself a bloated relic whose stink becomes apparent when you try to connect it to the rest of the unix philosophy, where everything is supposed to be a stateless text stream.

This stuff is really interesting for historical reasons and made sense 20 years ago, but I long for the day where the TTY system is gone and character drivers work on some standard JSON stream or something.