Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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).




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: