Click to See Complete Forum and Search --> : shell question


mikeparks
06-15-2001, 05:27 PM
There's been times when I accidentally issued cat on a binary file. If it is a large file, it will output garbled characters, and then my prompt is garbled, and everything I type afterwards. I know there is a way to recover, I remember someone telling me how a long time ago, but I just can't seem to recall the command. Does anyone know?

PLBlaze
06-15-2001, 11:51 PM
Just use clear command to clear the screen...hope this helps.

Craig McPherson
06-16-2001, 12:07 AM
If clear doesn't work, use reset. I think clear just issues a clearscreen character, whereas reset resets the terminal paramters and clears the screen, which should fix any weird stuff that's going on.

EscapeCharacter
06-16-2001, 12:10 AM
i had the same thing happen to me a couple weeks ago and someone suggested adding "\^O" to your PS1 that way you will never have that problem