Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Lost Job Control
- X-seq: zsh-workers 2588
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: awick@xxxxxxxxxx (Andy Wick)
- Subject: Re: Lost Job Control
- Date: Mon, 16 Dec 1996 00:54:46 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199612152216.RAA18253@xxxxxxxxxxxxxxxxxxxxxxx> 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();
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author