zsh-users
 help / color / mirror / code / Atom feed
From: Andrew Main <zefram@tao.co.uk>
To: hzoli@frontiernet.net (Zoltan Hidvegi)
Cc: jahwan@math.lsa.umich.edu, zsh-users@math.gatech.edu
Subject: Re: zsh always resets LINES to 24.
Date: Wed, 3 Sep 1997 09:27:20 +0100 (BST)	[thread overview]
Message-ID: <199709030827.JAA21965@taos.demon.co.uk> (raw)
In-Reply-To: <199709030440.AAA01426@hzoli.home> from "Zoltan Hidvegi" at Sep 3, 97 00:40:18 am

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


  reply	other threads:[~1997-09-03  8:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-03  2:55 Jahwan Kim
1997-09-03  4:40 ` Zoltan Hidvegi
1997-09-03  8:27   ` Andrew Main [this message]
1997-09-03 15:44     ` Bart Schaefer
1997-09-03 16:13       ` Andrew Main
1997-09-04  1:15   ` Jahwan Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199709030827.JAA21965@taos.demon.co.uk \
    --to=zefram@tao.co.uk \
    --cc=hzoli@frontiernet.net \
    --cc=jahwan@math.lsa.umich.edu \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).