Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: terminal parameter changed problem



stringfellow> This patch was for zsh 3.0.3 but I think that it should
stringfellow> work for later versions - although it's small enough to
stringfellow> edit the file Src/jobs.c by hand.

stringfellow> This patch doesn't appear to have made it into later
stringfellow> versions of zsh, i.e. it was only ever reported as a
stringfellow> patch and slipped through the net whenlater versions
stringfellow> were produced.

stringfellow> Here is Peter's patch:

	*** ./Src/jobs.c.old Wed Jun 4 17:51:43 1997
	--- ./Src/jobs.c Wed Jun 4 17:53:39 1997
	***************
	*** 155,161 ****
	}
	}

	! if (shout && !ttyfrozen && !jn->stty_in_env)
	gettyinfo(&shttyinfo);

	if (isset(MONITOR)) {
	--- 155,161 ----
	}
	}

	! if (shout && !ttyfrozen && !jn->stty_in_env && inforeground)
	gettyinfo(&shttyinfo);

	if (isset(MONITOR)) {

I got the follow (lines 158) for Src/jobs.c (zsh 3.0.5):

    if (shout && !ttyfrozen && !jn->stty_in_env &&
	job == thisjob && !somestopped && !(jn->stat & STAT_NOSTTY))
	gettyinfo(&shttyinfo);

Will this conver the inforeground patch?  Anyone knows?

					-- Paul  02/02/98  11:50 AM --



Messages sorted by: Reverse Date, Date, Thread, Author