The 1-second `reset` delay dates to 1979 mechanical terminals; rauchg's AI-written Zig tool does it in 2ms

cramforce · x · 2026-08-25

rauchg noticed the terminal reset command was oddly slow, and dug in: 3BSD's 1979 tset contains a sleep(1) meant to let mechanical printer-and-ink terminals "settle down" — still inherited today.

He had AI coding tool 𝚏𝚡 write an open-source Zig replacement, rst:

He also published a fun explainer on ncurses, tset, terminfo and the many ways a terminal gets "cursed," marveling at how far back the stack goes and how enduring good system design is.

Original post →

More from coding & agent

coding & agent channel →