zsh-workers
 help / color / mirror / code / Atom feed
From: "Nikolai Weibull" <now@bitwi.se>
To: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Adding hook to SIGWINCH
Date: Wed, 8 Nov 2006 20:32:07 +0100	[thread overview]
Message-ID: <dbfc82860611081132r28c1e19r15388f256e4d1380@mail.gmail.com> (raw)

It would be nice if one could be notified when a SIGWINCH has been
received so that things depending on $LINES or $COLUMNS can adjust to
their new values.  I'm guessing that the patch is trivial, i.e., a
callhookfunc("winch", NULL, 1); somewhere in adjustwinsize(), but I
don't know enough about what's going on in this function to actually
be able to provide a patch (I'm guessing the line can be added at the
end of the function).  Also, winch may be a bit on the short side,
perhaps zshwinch?  Oh well, just a suggestion.

(By the by, shouldn't shttyinfo be spelled with an 'i'? ;-)

Thanks.

  nikolai


             reply	other threads:[~2006-11-08 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08 19:32 Nikolai Weibull [this message]
2006-11-08 19:34 ` Peter Stephenson
2006-11-08 19:41   ` Nikolai Weibull
2006-11-08 21:35     ` Peter Stephenson
2006-11-08 21:42       ` Nikolai Weibull

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=dbfc82860611081132r28c1e19r15388f256e4d1380@mail.gmail.com \
    --to=now@bitwi.se \
    --cc=zsh-workers@sunsite.dk \
    /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).