Hacker News new | ask | show | jobs
by kjs3 1165 days ago
Perhaps more important, as a line editor, 'ed' would often work when your terminal was otherwise too borked up for vi or pico to work.
1 comments

Though in most cases, you can just type “reset” to reset your terminal to a sane state. If the problem is not the terminal’s state, but how software is trying to talk to it, setting TERM=vt100 (with a “reset” for good measure afterwards) usually works for most if not all terminals nowadays.
I used 'stty sane' or mucked with 'tset' directly. To many possibilities of 'reset' being aliased to something I might not want.

setting TERM=vt100 (with a “reset” for good measure afterwards) usually works for most if not all terminals nowadays

Kids these days and their 'everything is a vt100'. Perhaps true nowadays, but certainly not always (looks at his HP700/96).