From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 00:59:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 573EF106564A for ; Wed, 24 Sep 2008 00:59:23 +0000 (UTC) (envelope-from hurds@sasktel.net) Received: from misav03.sasknet.sk.ca (misav03.sasknet.sk.ca [142.165.20.164]) by mx1.freebsd.org (Postfix) with ESMTP id 1DAAA8FC12 for ; Wed, 24 Sep 2008 00:59:22 +0000 (UTC) (envelope-from hurds@sasktel.net) Received: from bgmpomr2.sasknet.sk.ca ([142.165.72.23]) by misav03 with InterScan Messaging Security Suite; Tue, 23 Sep 2008 18:29:21 -0600 Received: from sasktel.net ([192.168.234.97]) by bgmpomr2.sasknet.sk.ca (SaskTel eMessaging Service) with ESMTP id <0K7O001L2C0X2W30@bgmpomr2.sasknet.sk.ca> for freebsd-questions@freebsd.org; Tue, 23 Sep 2008 18:29:21 -0600 (CST) Received: from [192.168.234.24] (Forwarded-For: [216.31.211.11]) by cgmail1.sasknet.sk.ca (mshttpd); Tue, 23 Sep 2008 17:29:21 -0700 Date: Tue, 23 Sep 2008 17:29:21 -0700 From: Stephen Hurd To: Chris St Denis Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.20 (built Feb 27 2006) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal Cc: "freebsd-questions@freebsd.org" Subject: Re: Fix corrupted terminal output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 00:59:23 -0000 Try this one: perl -e 'print "\x0f"' ----- Original Message ----- From: Chris St Denis 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"