zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: awick@purple.org (Andy Wick)
Cc: zsh-workers@math.gatech.edu
Subject: Re: Lost Job Control (Again :(
Date: Fri, 10 Jan 1997 12:47:40 +0100 (MET)	[thread overview]
Message-ID: <199701101147.MAA02168@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199701100454.XAA02582@people-eater.purple.org> from Andy Wick at "Jan 9, 97 11:54:14 pm"

Andy Wick wrote:
> I guess other people must actually use the jobs command instead of blindly 
> using %.  Call me % happy or something! :)
> 
> xclock &
> disown %
> %
> 
> zsh: can't set tty pgrp: invalid argument

This should fix that.

Zoltan


*** Src/builtin.c	1997/01/08 12:30:48	3.1.1.12
--- Src/builtin.c	1997/01/10 11:42:56
***************
*** 410,416 ****
  	scanjobs();
  
      /* Make sure we have a suitable previous job set. */
!     if (curjob != -1 && !(jobtab[curjob].stat & STAT_INUSE)) {
  	curjob = prevjob;
  	setprevjob();
  	if (curjob != -1 && !((jobtab[curjob].stat & STAT_INUSE) &&
--- 410,417 ----
  	scanjobs();
  
      /* Make sure we have a suitable previous job set. */
!     if (curjob == thisjob ||
! 	(curjob != -1 && !(jobtab[curjob].stat & STAT_INUSE))) {
  	curjob = prevjob;
  	setprevjob();
  	if (curjob != -1 && !((jobtab[curjob].stat & STAT_INUSE) &&


      reply	other threads:[~1997-01-10 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-10  4:54 Andy Wick
1997-01-10 11:47 ` Zoltan Hidvegi [this message]

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=199701101147.MAA02168@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=awick@purple.org \
    --cc=zsh-workers@math.gatech.edu \
    /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).