On different Linux distributions I experienced that pressing ctrl-c to stop a program (like 'cmp') or completion causes the terminal (usually xterm or gnome-terminal) to not echo the input any more. Blindly typing 'reset' fixes the terminal again. Does anyone else experiences this or even better knows how to fix it? I find it hard to reproduce and I am certain that some years ago it worked reliable.
closed as unclear what you're asking by Gilles, G-Man, Kusalananda♦, Archemar, Networker Jul 18 '16 at 9:31
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
The problem occurs because some programs do not cleanup properly when they are interrupted. The usual fix would be to use
reset (you'll get less satisfactory results using
sends a newline even when your settings are messed up.