Fix corrupted terminal output

Stephen Hurd hurds at sasktel.net
Wed Sep 24 00:59:23 UTC 2008


Try this one:
perl -e 'print "\x0f"'

----- Original Message -----
From: Chris St Denis <chris at smartt.com>
Date: Tuesday, September 23, 2008 5:09 pm
Subject: Fix corrupted terminal output

> Occasionally, I accidentially cat a binary file or a directory 
> casing 
> the terminal output to be corrupted with text looking like (don't 
> know 
> if this will make it through the mail cleanly)
> 
>    E???? ??? ?? ?????????.
>    ????2#
> 
> 
> To fix this normally I just close the window and open a new ssh 
> connection, but I am wondering if there is a more clean way to do 
> this. 
> I've tried reset(1), but it doesn't seem to help any.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list