zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Job control bug with pws-25
Date: Sat, 03 Jul 1999 14:19:34 +0200	[thread overview]
Message-ID: <9907031219.AA13740@ibmth.df.unipi.it> (raw)

Actually, as soon as I had I chance to look I found some more job control
bugs (hope I got all the right patches into pws-25).  If you do

while true; do zcat; done

and hit ^C repeatedly, the zcat gets killed but the loop continues.
Eventually, however, you catch the shell when it's not running zcat and the
loop exits.  Doing this a few times gives the message

zsh: job table full

and you can't run any more external jobs, so it's not getting deleted
properly.


Secondly (and this really makes me suspect I've missed a patch):

% fn() { sleep 2; print foo; }
% fn
^Zzsh: 13719 suspended  fn
% bg
[1]  - continued  fn
<after a while>
% jobs -l
[1]  - 13719 running    fn
% fg %1
^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^Z^Z^Z

no effect.  Shell has to killed with -9 from somewhere else.  Note that it
has forked, as expected, and doesn't seem to be doing anything.

     pws 13719 26505   0 14:15:24  pts/0  0:00 ./zsh 
     pws 26505 41151   0 14:15:16  pts/0  0:00 ./zsh 

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


             reply	other threads:[~1999-07-03 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-03 12:19 Peter Stephenson [this message]
1999-07-03 13:16 ` Geoff Wing
1999-07-05 10:00 Sven Wischnowsky
1999-07-05  9:48 ` Peter Stephenson
1999-07-05 11:06 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=9907031219.AA13740@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --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).