[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cat-ting binary files to the console



On Thu, Feb 08, 2001 at 11:18:34AM -0600, Benjamin Pharr wrote:
> Every once in a while I slip up at cat a binary file to the console. (Or 
> just forget to give mkisofs the -o flag.)  This causes the console to use 
> WEIRD characters, just plain gibberish.  Is there any way to get rid of 
> this without rebooting?  Thanks!

Typing 'reset' and/or 'stty sane' in the console helps most of the times.
Then there's some echo (echo <ctrl-V><ctrl-O> maybe) that also resets the
console.

You could also use a shell that doesn't corrupt your display, like zsh. :)


-- 
Tommi Komulainen                                 Tommi.Komulainen@iki.fi
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

Attachment: pgp3UnLW4a9IX.pgp
Description: PGP signature


Reply to: