Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Adding hook to SIGWINCH
- X-seq: zsh-workers 22985
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Adding hook to SIGWINCH
- Date: Wed, 8 Nov 2006 20:32:07 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=dEfzk1OpVwW/bTN/zy5ITPGO+w2b5BouZ/C0CwV/GDzdhUHyZ2ZYT9lx7pQ/j1XXJgXBpdGpyd6eZ58FD4PcoaUA11VkIthiJo/cfTHz8WvKTQLP1Vg2RJOOgpEqETWghLGWs788l3fw4KlJX4qXKXvY00mpaVwa3pB5mJz6+bs=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author