Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: pws-22: killing the ZSH loops problem
- X-seq: zsh-workers 6669
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>, "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: pws-22: killing the ZSH loops problem
- Date: Wed, 16 Jun 1999 13:09:06 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> It does not happen, if I use 'zsh -c "read line"' (that is, the whole
> loop is killed), but as it stays with every external command I tried.
>
Sorry for all these followups. It looks, like the problem happens with programs,
that catch SIGINT (sh, gzip, gzcat) but not with programs, that leave it default
(cat, zsh). In the latter case, Zsh gets information about child being
interraupted by SIGINT and reacts correctly. In the former case, Zsh only knows,
that program (normally) exited for whatever reason.
Looks, like Zsh cannot rely on child info and must handle INT itself. I wonder,
how 3.0.5 behaves in this case.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author