From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2994 invoked from network); 18 May 1998 08:14:40 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 18 May 1998 08:14:40 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id EAA17668; Mon, 18 May 1998 04:10:07 -0400 (EDT) Resent-Date: Mon, 18 May 1998 04:10:07 -0400 (EDT) Message-ID: <19980518011037.A25015@dtthp169.pdx.intel.com> Date: Mon, 18 May 1998 01:10:37 -0700 From: Clint Olsen To: zsh-workers@math.gatech.edu Subject: Re: 3.0.5: eval `resize` messes up References: <19980512092717.A13425@dtthp169.pdx.intel.com> <199805180745.AA013327509@rfcom704.kobe.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8 In-Reply-To: <199805180745.AA013327509@rfcom704.kobe.hp.com>; from Tatsuo Furukawa on Mon, May 18, 1998 at 04:45:09PM +0900 Organization: Intel Corporation, Hillsboro, OR X-Disclaimer: Mutt Bites! Resent-Message-ID: <"Hgkon3.0._J4.Up-Nr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3986 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On May 18, Tatsuo Furukawa wrote: > > Is this problem "If you evaluated `resize`, zsh is not measure > terminal size"? Yes. Resize alone seems to corectly meausre the new window size. > If so, this is normal zsh action. (Your setting is sufficient.) Zsh > 3.0.5 trust LINES and COLUMNS. If you don't set LINES and COLUMNS, zsh > measures terminal size. But If you set LINES and COLUMNS, zsh trusts its > value. Therefore, if you execute "eval 'resize`", you must always > execute "eval `resize`" when terminal size is changed. Setting LINES and COLUMNS is precisely why I use "eval `resize`". It seems to work on every other shell except Zsh. In fact it worked on Zsh 3.0.2. -Clint