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

Re: long-standing tty related issue: wrapped Emacs not suspended



On Tue, 25 Sep 2018 22:47:44 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Sep 25, 2018 at 3:38 AM Peter Stephenson
> But if you ^Z a function and then background it, the parent still
> believes it to be running even though it has instantly stopped:

Yes, I mentioned that problem --- it's not new, at least 5.5 behaved
that way, and it's related to the fact that we have STAT_NOPRINT
associated with the subjob, which is what's actually being suspended.
I'm not sure how to fix this without unleashing a torrent of new
messages, but it's possible the key is ensuring the superjob and subjob
are aligned and printing a message if we update both --- since the point
here is to pretend to the user that they're acting as a single job.
(They bloody aren't, I can tell you...)

pws



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