Recovering Corrupted Bash Shell

David Kramer david at thekramers.net
Sat Feb 24 23:42:09 EST 2007


Kristian Hermansen wrote:
> Sometimes weird characters cause my bash shell to get corrupted, but
> it still accepts input.  I believe that this is supposed to be a way
> to switch language modes, but I would like to know what characters
> cause this corruption and how to recover from it.  I know it is
> possible because I have done it in the past, but I googled and can't
> find the way to fix it again :-(

The most likely cause of this is non-printable characters being sent to
the shell that happen to match control characters that configure it.

The most likely fix is to run the command "stty sane".


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list