Back in the day, when the screen/terminal was borked, due to <i>cat</i>ting a binary or other reasons, we used to do;<p><pre><code> stty sane Ctrl-J
</code></pre>
or other variants. It mostly worked. Last resort was to switch the terminal off and on, and/or to kill the login shell from another terminal, IIRC.<p>See: man stty