From owner-freebsd-ports@FreeBSD.ORG Wed Jul 25 21:44:45 2007 Return-Path: Delivered-To: FreeBSD-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BADDD16A417; Wed, 25 Jul 2007 21:44:45 +0000 (UTC) (envelope-from cwt@networks.cwu.edu) Received: from nsc0.cwu.edu (nsc0.cwu.edu [198.104.69.44]) by mx1.freebsd.org (Postfix) with ESMTP id 917F413C478; Wed, 25 Jul 2007 21:44:45 +0000 (UTC) (envelope-from cwt@networks.cwu.edu) Received: from n.cwu.edu (n.cwu.edu [198.104.69.57]) by nsc0.cwu.edu (8.13.8/8.13.8) with ESMTP id l6PLBIQ4097193; Wed, 25 Jul 2007 14:11:18 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) Received: from n.cwu.edu (localhost [127.0.0.1]) by n.cwu.edu (8.13.3/8.13.3) with ESMTP id l6PLBI9P047938; Wed, 25 Jul 2007 14:11:18 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) Received: from localhost (cwt@localhost) by n.cwu.edu (8.13.3/8.13.1/Submit) with ESMTP id l6PLBIV2047935; Wed, 25 Jul 2007 14:11:18 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) X-Authentication-Warning: n.cwu.edu: cwt owned process doing -bs Date: Wed, 25 Jul 2007 14:11:18 -0700 (PDT) From: Chris Timmons X-X-Sender: cwt@n.cwu.edu To: FreeBSD-ports@freebsd.org Message-ID: <20070725140614.G47677@n.cwu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (nsc0.cwu.edu [198.104.69.44]); Wed, 25 Jul 2007 14:11:18 -0700 (PDT) Cc: krion@freebsd.org Subject: x11/xterm-227 does not like FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 21:44:45 -0000 Greetings, When I upgraded to x11/xterm-227, I noticed that "rows" and "columns" as reported to the terminal device by xterm were set to 0: system:/home/cwt/xterm-227> stty all speed 38400 baud; 0 rows; 0 columns; Terminal applications would not properly recognize the window size until I re-sized the window manuall. After doing some research I found this in the xterm-228 release notes: # amend changes to handshake in patch #226 to accommodate Solaris, which relies on the extra setting of the terminal size after I/O initialization. Do this by adding new resource ptySttySize, which is false for Linux and MacOS X, i.e., true for for Solaris and other SVR4 platforms, as well as FreeBSD (reports by David Wood, Renato Botelho). You may want to hold off on that 'portupgrade -a' that you know wasn't a good idea to begin with until the port is upgraded :) -Chris