zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Sven Wischnowsky" <wischnow@informatik.hu-berlin.de>,
	<zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: loop killing
Date: Fri, 25 Jun 1999 17:21:50 +0400	[thread overview]
Message-ID: <000e01bebf0d$af2f5f30$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <199906240908.LAA27110@beta.informatik.hu-berlin.de>

>
>   zcat ... | while true; do zcat ...; done
>
> Here we need two ^C's to interrupt the whole thing.

I just tried it (zcat | while true; do zcat ; done) and it stops at the first
^C. May be, there are subtleties I miss or it has something to do with the last
process group patch.

Well done, really!

Ooops! Just found something weird:

bor@itsrm2:~%> zcat | while true
do
zcat
done
Now press ^\ (QUIT)
bor@itsrm2:~%>

??? QUIT is supposed to give you core ... Once more:

bor@itsrm2:~%> zcat | while true
do
zcat
done
^Zzsh: suspended  zcat | while true; do; zcat; done
bor@itsrm2:~%> fg
[13]  - continued  zcat | while true; do; zcat; done
^\zsh: quit (core dumped)  zcat | while true; do; zcat; done

(note, that I have noticeable delay between ^\ and core dumped message ... but,
may be, it is related to wrinting core ...)

It is even worse

bor@itsrm2:~%> while true
do
zcat
done
^Z^Z^Z^Z^Z^Z^Z

Nothing happens at all.

/andrej

This is with all but the last patch of Peter (typeset -g).


  parent reply	other threads:[~1999-06-25 13:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-24  9:08 Sven Wischnowsky
1999-06-24  9:00 ` Peter Stephenson
1999-06-25 13:21 ` Andrej Borsenkow [this message]
1999-06-24 11:55 Sven Wischnowsky
1999-06-25 14:21 Sven Wischnowsky
1999-06-25 15:00 ` Andrej Borsenkow
1999-06-25 16:23   ` Andrej Borsenkow
1999-06-25 16:29     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000e01bebf0d$af2f5f30$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).