When the screen goes berserk after cat some-binary-file (you may not be able to see the command echoed as you type):
$ reset