From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id FAA04127 for ; Sun, 25 Aug 1996 05:09:48 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA04029; Sat, 24 Aug 1996 15:04:14 -0400 (EDT) Resent-Date: Sat, 24 Aug 1996 15:04:14 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960824120507.ZM758@candle.brasslantern.com> Date: Sat, 24 Aug 1996 12:05:07 -0700 In-Reply-To: Janos Farkas "3.0.0: job table full causes fg to fail?" (Aug 24, 6:41pm) References: Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.729 29jul96) To: Janos Farkas , zsh-workers@math.gatech.edu Subject: Re: 3.0.0: job table full causes fg to fail? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"FxiGE3.0.t-.k8r7o"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2063 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Aug 24, 6:41pm, Janos Farkas wrote: } Subject: 3.0.0: job table full causes fg to fail? } } I've just run into a problem, and can't imagine how it could be fixed. } } [iceq] /usr/src 514> ping ancient >/dev/null & } zsh: job table full } [iceq] /usr/src 514> fg } fg: no current job } } What? Now, how am I supposed to kill 'em? There isn't any "current" job, because the most recent job you tried to start failed to run. But if you do "jobs" you'll see the numbered list as usual, and you can `kill %1` to kill the oldest job (kill being a shell builtin, and thus not needing a job slot), or `kill %-` to kill the most recent job, or whatever. I suppose the job code could be smarter about restoring the current job when one fails to run, as happens when the current job exits, but there's no real bug here. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"