From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15320 invoked from network); 27 Oct 1998 16:29:56 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Oct 1998 16:29:56 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id LAA12393; Tue, 27 Oct 1998 11:19:04 -0500 (EST) Resent-Date: Tue, 27 Oct 1998 11:19:04 -0500 (EST) Message-Id: <199810271622.BAA01468@pop1.ngy.3web.ne.jp> From: Tatsuo Furukawa To: schaefer@brasslantern.com CC: zsh-workers@math.gatech.edu, olsenc@ichips.intel.com In-reply-to: <981024114334.ZM30186@candle.brasslantern.com> (schaefer@brasslantern.com) Subject: Re: [3.0.5] patch for resize problem Mime-Version: 1.0 (generated by tm-edit 7.52) Content-Type: text/plain; charset=US-ASCII Date: Wed, 28 Oct 1998 01:22:24 +0900 X-Dispatcher: impost version 0.99i (Apr. 6, 1997) Resent-Message-ID: <"ZyNt41.0.a13.u9VDs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4461 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi, Bart> Unfortunately, what you did, except for irrelevant details in Bart> params.c, is revert back to the 3.0.4 code. Oh! Ouch!! Bart> Although I don't entirely like the 3.0.5 behavior, *I've* never Bart> had a problem with eval $(resize) setting LINES and COLUMNS Bart> correctly (which was Clint's original complaint). Yes, me too. My (original, unpatched) zsh 3.0.5 does not have a problem about "eval $(resize)". Zsh always set correct LINES and COLUMNS when I invoke eval $(resize). But I hope I don't have to invoke "eval $(resize)". I hope zsh always set LINES and COLUMNS to right value automatically. Because I use RPROMPT. As you know, to use RPROMPT, I must always set COLUMNS to right value. To do this, I must invoke "eval $(resize)" every time when I change the terminal size. It makes me irritated. Bart> If all you care about is having zsh believe SIGWINCH signals, Bart> then a much simpler patch to 3.0.5, which doesn't back out the Bart> other bug fixes, is: (snip) Cool! It works well! Thank you Bart. With this patch, I can say Goodbye to "eval $(resize)". -- Tatsuo Furukawa (frkwtto@wnn.club.or.jp)