From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21545 invoked from network); 3 Sep 1997 08:43:52 -0000 Received: from math.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 3 Sep 1997 08:43:52 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id EAA02990; Wed, 3 Sep 1997 04:28:22 -0400 (EDT) Resent-Date: Wed, 3 Sep 1997 04:28:04 -0400 (EDT) From: Andrew Main Message-Id: <199709030827.JAA21965@taos.demon.co.uk> Subject: Re: zsh always resets LINES to 24. To: hzoli@frontiernet.net (Zoltan Hidvegi) Date: Wed, 3 Sep 1997 09:27:20 +0100 (BST) Cc: jahwan@math.lsa.umich.edu, zsh-users@math.gatech.edu In-Reply-To: <199709030440.AAA01426@hzoli.home> from "Zoltan Hidvegi" at Sep 3, 97 00:40:18 am X-Loop: zefram@tao.co.uk X-Headers: in preparation X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"rB3vK3.0.3k.J-H3q"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/998 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zoltan Hidvegi wrote: >The patch below is an attempt to cure this. When you manually set >LINES or COLUMNS to something which is different from the last value >returned by TIOCGWINSZ, zsh will not touch it unless it receives a real >SIGWINCH signal. I hope this helps. If anyone has a better solution, >please tell me. Better solution: when setting LINES or COLUMNS, use the appropriate ioctl to set the tty window size to the user-specified value. -zefram