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

Re: have '&' automatically disown?



Greg Klanderman wrote:
> > I can well believe all of this, but it's not clear to me why its
> > relevant.
> 
> Because if I turn monitor back on I can completely wedge my shell.

Hmm, yes, I can see that makes it relevant.  MONITOR wasn't really
designed to be dynamic, it just kind of evolved in a complex way like
everything else.

> Would it make sense to just auto-disown when monitor is off?

That *does* make a lot of sense, actually: if job control's turned off,
there's no point in half-pretending it isn't.  Disowning existing
background jobs at that point at least makes more sense than having them
come back in a zombified fashion.  I'll think about it tomorrow.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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