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

Often when TTY settings are messed up by a full-screen program, you need to type «Control-J stty sane Control-J». It's necessary to use Control-J (i.e. newline) explicitly instead of pressing Return or Enter, because those generally send CR (Carriage Return, Control-M) and CR-to-newline translation is off.


Very true I instinctly do a ctrl-c first, but once you learn to not cat binary's/unsanatised data to your terminal you learn to add strings or use OD instead.




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

Search: