Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: localtraps
- X-seq: zsh-workers 21198
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: localtraps
- Date: Wed, 27 Apr 2005 14:09:31 +0000
- In-reply-to: <200504270954.j3R9sujP029445@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050425063521.GA17598@xxxxxxxxxxxxxxxxx> <1050425163202.ZM25027@xxxxxxxxxxxxxxxxxxxxxxx> <20050426030308.GA21501@xxxxxxxxxxxxxxxxx> <200504261834.j3QIYHSa018951@xxxxxxxxxxxxxx> <1050427053638.ZM28743@xxxxxxxxxxxxxxxxxxxxxxx> <200504270954.j3R9sujP029445@xxxxxxxxxxxxxx>
On Apr 27, 10:54am, Peter Stephenson wrote:
}
} OK, this one's fairly straightforward: starttrapscope() and
} endtrapscope() don't run inside traps.
This works much better now, though there's still this extra newline
being printed just before INNER on each alternate interrupt:
-----
schaefer<501> TRAPINT() { setopt localoptions localtraps; echo OUTER; \
trap 'echo INNER' INT; sleep 2 }
schaefer<502> OUTER
INNER
OUTER
INNER
OUTER
INNER
OUTER
INNER
OUTER
INNER
schaefer<502>
-----
Plus the prompt not reprinted until accept-line or send-break, but that
probably isn't a bug.
} Are we reasonably confident the other problems are specific to the
} NetBSD style of signal handling?
I'm not confident of that, no. Let's wait and see what Vincent has to
say after this patch is applied.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author