zsh-workers
 help / color / mirror / code / Atom feed
From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@sunsite.auc.dk
Subject: Re: Job control bug with pws-25
Date: 3 Jul 1999 13:16:55 GMT	[thread overview]
Message-ID: <slrn7ns3a7.m03.mason@coral.primenet.com.au> (raw)
In-Reply-To: <9907031219.AA13740@ibmth.df.unipi.it>

Peter Stephenson <pws@ibmth.df.unipi.it> typed:
: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.

Didn't really have a problem with this.  I was able to stop it with little
grief.

: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

Never saw this.

: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

% ps 13719
  PID TT  STAT      TIME COMMAND
13719 p0  T      0:00.00 zsh

That's why you had to kill -9 it. 
Now, what's this bit: "[1]  - 13719"...
                            ^
			    ^ ?????
% fg
fg: no current job
% %
fg: no such job: 2

:% fg %1
:^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^Z^Z^Z

Regards,
-- 
Geoff Wing : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874


  reply	other threads:[~1999-07-03 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-03 12:19 Peter Stephenson
1999-07-03 13:16 ` Geoff Wing [this message]
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=slrn7ns3a7.m03.mason@coral.primenet.com.au \
    --to=mason@primenet.com.au \
    --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).