zsh-workers
 help / color / mirror / code / Atom feed
* Adding hook to SIGWINCH
@ 2006-11-08 19:32 Nikolai Weibull
  2006-11-08 19:34 ` Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: Nikolai Weibull @ 2006-11-08 19:32 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-08 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-08 19:32 Adding hook to SIGWINCH Nikolai Weibull
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

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).