Normalizing terminal prompt (or putty prompt) after catting a binary file
Some binaries or some command output (unexpected) can contain control sequence which can cause a terminal to interpret it as changing character set. That's why the prompt becomes unreadable and keystrokes abnormal (lines).
To fix this, there are few possible solutions:
$ echo -e '\017'
$ stty sane