From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: awick@purple.org (Andy Wick)
Cc: zsh-workers@math.gatech.edu
Subject: Re: Lost Job Control
Date: Mon, 16 Dec 1996 00:54:46 +0100 (MET) [thread overview]
Message-ID: <199612152354.AAA01269@hzoli.ppp.cs.elte.hu> (raw)
In-Reply-To: <199612152216.RAA18253@people-eater.purple.org> from Andy Wick at "Dec 15, 96 05:16:05 pm"
> xclock &
> xclock &
> %1
> <Control-C>
> %
> <Control-C>
> %
> (ZSH Output: zsh: can't set tty pgrp: invalid argument)
The fix is below.
Zoltan
*** Src/builtin.c 1996/12/14 01:21:07 3.1.0.11
--- Src/builtin.c 1996/12/15 23:43:26
***************
*** 531,537 ****
if (curjob != -1 && !(jobtab[curjob].stat & STAT_INUSE)) {
curjob = prevjob;
setprevjob();
! if (curjob != -1 && !(jobtab[curjob].stat & STAT_INUSE)) {
curjob = prevjob;
setprevjob();
}
--- 531,538 ----
if (curjob != -1 && !(jobtab[curjob].stat & STAT_INUSE)) {
curjob = prevjob;
setprevjob();
! if (curjob != -1 && !((jobtab[curjob].stat & STAT_INUSE) &&
! curjob != thisjob)) {
curjob = prevjob;
setprevjob();
}
next prev parent reply other threads:[~1996-12-16 0:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-15 22:16 Andy Wick
1996-12-15 23:54 ` Zoltan Hidvegi [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-11-12 2:08 Andy Wick
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=199612152354.AAA01269@hzoli.ppp.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).