Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2008 00:22:51 -0700
From:      Chris St Denis <chris@smartt.com>
To:        Andreas Davour <ante@Update.UU.SE>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Fix corrupted terminal output
Message-ID:  <48D9EACB.9070107@smartt.com>
In-Reply-To: <Pine.LNX.4.64.0809240213010.22228@Psilocybe.Update.UU.SE>
References:  <48D98542.6090007@smartt.com> <Pine.LNX.4.64.0809240213010.22228@Psilocybe.Update.UU.SE>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Davour wrote:
> On Tue, 23 Sep 2008, Chris St Denis wrote:
>
>> 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.
>
> What termnial emulator are you using? KDE Konsole have an "Edit->Reset 
> & Clear Terminal" menu alternative that usually manages to clear such 
> problems up for me.
>
> /Andreas
>

I use putty ssh client (on windows). I had thought it was a console 
change rather than terminal editor specific.

I'll try the things people have suggested here next time it happens.


Thanks for the suggestions.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D9EACB.9070107>