Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
trapping WINCH fails in 3.0.3-test4
- X-seq: zsh-users 843
- From: Roderick Schertler <roderick@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: trapping WINCH fails in 3.0.3-test4
- Date: Mon, 28 Apr 1997 20:25:32 -0400
- Sender: roderick@xxxxxxxxxx
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@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author