Für Bash tippe ich normalerweise nur reset
und es repariert alles, was "lustig" war. Sieht aus, als wäre es auch bekannt als, tset
aber jeder Aufruf bewirkt etwas anderes.
tset, reset - terminal initialization When invoked as reset, tset sets cooked and echo modes, turns off cbreak and raw modes, turns on newline translation and resets any unset special characters to their default values before doing the terminal initialization described above. This is useful after a program dies leaving a terminal in an abnormal state. Note, you may have to type <LF>reset<LF> (the line-feed character is normally control-J) to get the terminal to work, as carriage-return may no longer work in the abnormal state. Also, the terminal will often not echo the command.