* trapping WINCH fails in 3.0.3-test4
@ 1997-04-29 0:25 Roderick Schertler
0 siblings, 0 replies; only message in thread
From: Roderick Schertler @ 1997-04-29 0:25 UTC (permalink / raw)
To: zsh-users
I can't get a trap on SIGWINCH to work in 3.0.3-test4:
e:1% zsh-3.0.3-test4 -f
eeyore% TRAPWINCH() { echo here }
eeyore% kill -WINCH $$
eeyore% _
I wanted to use this to reset my $LESS variable based on the new window
size. In place of the above I've just installed
function precmd {
[[ $LINES != $saved_lines ]] && {
saved_lines=$LINES
eval LESS=$LESS_eval
}
}
in my .zshrc, can anyone suggest a better way?
--
Roderick Schertler
roderick@argon.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-29 0:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-29 0:25 trapping WINCH fails in 3.0.3-test4 Roderick Schertler
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).