From owner-freebsd-stable@FreeBSD.ORG Sat Nov 27 00:52:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEFD316A4CE for ; Sat, 27 Nov 2004 00:52:19 +0000 (GMT) Received: from mailout2.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9D2C43D39 for ; Sat, 27 Nov 2004 00:52:18 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mailout2.barnet.com.au (Postfix, from userid 27) id 55B3570743C; Sat, 27 Nov 2004 11:52:17 +1100 (EST) X-Viruscan-Id: <41A7CFC100017A9B8B6F38@BarNet> Received: from mail2-auth.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id 1506F707439; Sat, 27 Nov 2004 11:52:17 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 72548707436; Sat, 27 Nov 2004 11:52:16 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 361B9610F; Sat, 27 Nov 2004 11:52:15 +1100 (EST) Date: Sat, 27 Nov 2004 11:52:15 +1100 From: Edwin Groothuis To: Brian Candler Message-ID: <20041127005215.GA1108@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Brian Candler , freebsd-stable@freebsd.org References: <20041126140751.GA1996@uk.tiscali.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041126140751.GA1996@uk.tiscali.com> User-Agent: Mutt/1.5.6i cc: freebsd-stable@freebsd.org Subject: Re: Bug in xterm? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 00:52:19 -0000 On Fri, Nov 26, 2004 at 02:07:51PM +0000, Brian Candler wrote: > I can cause xterm to hang reliably with the following command: > > perl -mDigest::MD5 -e 'print pack("H*",Digest::MD5::md5("test"))' > > A control-middlebutton-"Do Full Reset" is needed to get out of this state. It's not a bug in xterm on itself. If you cat a binary file you might end up in the same situation. [~] edwin@k7>perl -mDigest::MD5 -e 'print pack("H*",Digest::MD5::md5("test"))' | hexdump -C 00000000 9f 4d f1 3c ae 73 67 46 |.M.<.sgF| This shows that it outputs some high-ascii data, which causes the xterm to stop output. If you do "echo hi > /tmp/aaa" while in this state (be alert for typos), you see that it still accepts commands, but doesn't show them anymore. In other words, don't worry too much about it but make sure you redirect binary output to files or pipes and not the console. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/