zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@m17n.org>
To: zsh-workers@sunsite.auc.dk
Subject: suspend while loop.
Date: 17 May 2000 03:41:48 +0900	[thread overview]
Message-ID: <hvon1lqfic3.fsf@serein.m17n.org> (raw)

Z(4):akr@serein% Src/zsh -f
serein% cat |while read line; do echo $line; done
<C-z>

This doesn't suspend the job.

Z(4):akr@serein% ps jax|sed -n -e 1p -e /2380/p
 PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
28769  2380  2380 28769 ttyp5     2381 S    23483   0:00 Src/zsh -f
 2380  2381  2381 28769 ttyp5     2381 T    23483   0:00 cat
28772  2393  2392 28772 ttyp9     2392 S    23483   0:00 sed -n -e 1p -e /2380/p

`cat' is suspended.  But zsh wait something yet...
-- 
Tanaka Akira


             reply	other threads:[~2000-05-16 18:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-16 18:41 Tanaka Akira [this message]
2000-05-16 19:02 ` Bart Schaefer
2000-05-18  6:55   ` Bart Schaefer
2000-05-18  8:37 Sven Wischnowsky

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=hvon1lqfic3.fsf@serein.m17n.org \
    --to=akr@m17n.org \
    --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).