zsh-workers
 help / color / mirror / code / Atom feed
From: Greg Klanderman <greg@klanderman.net>
To: zsh-workers@zsh.org
Subject: Re: have '&' automatically disown?
Date: Thu, 02 Sep 2010 10:57:50 -0400	[thread overview]
Message-ID: <m3vd6oyyz5.fsf@klanderman.net> (raw)
In-Reply-To: <100207143647.ZM9122@torch.brasslantern.com> (Bart Schaefer's message of "Sun, 07 Feb 2010 14:36:47 -0800")

>>>>> On February 7, 2010 Bart Schaefer <schaefer@brasslantern.com> wrote:

> On Feb 7,  9:34pm, Peter Stephenson wrote:
> } Subject: Re: have '&' automatically disown?
> }
> } Greg Klanderman wrote:
> } > 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.

> Disowning a job makes it immune to HUP signals, etc.  That's not what
> nomonitor is for -- turning off monitor is supposed to make zsh act
> like the old Bourne shell, where jobs still "belonged" to the shell
> and would be HUP'd if the terminal connection dropped, but the shell
> had no way move them between background and foreground.

[sorry for neglecting to reply for so long]

Would it make sense to auto-disown if both nomonitor and nohup are set?

Greg


  reply	other threads:[~2010-09-02 15:06 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05 17:01 Greg Klanderman
2010-02-05 17:33 ` Peter Stephenson
2010-02-05 17:36   ` Peter Stephenson
2010-02-06  3:26     ` Greg Klanderman
2010-02-07 18:20       ` Peter Stephenson
2010-02-07 21:06         ` Greg Klanderman
2010-02-07 21:34           ` Peter Stephenson
2010-02-07 22:36             ` Bart Schaefer
2010-09-02 14:57               ` Greg Klanderman [this message]
2010-09-05 19:11                 ` Bart Schaefer
2010-09-06  1:50                   ` Greg Klanderman
2010-02-07 21:59           ` Mikael Magnusson
     [not found] <gak@klanderman.net>
2009-06-26 20:40 ` bug in ztrftime(): '%e' and '%f' specifiers swapped Greg Klanderman
2009-06-26 21:23   ` Peter Stephenson
2009-06-26 21:57     ` Greg Klanderman
  -- strict thread matches above, loose matches on Subject: below --
2009-05-17  4:55 PATCH: make PROMPT_SP end-of-line marker configurable Greg Klanderman
2009-05-17 17:27 ` Peter Stephenson
2009-05-17 18:04   ` Greg Klanderman
2009-05-17 19:23     ` Peter Stephenson
2009-05-18  1:00       ` Greg Klanderman
2009-05-18 18:27       ` Greg Klanderman
2009-01-13  7:32 treatment of empty strings - why is this not a bug? Greg Klanderman
2009-01-13 19:24 ` Peter Stephenson
2009-01-13 22:08   ` Peter Stephenson
2009-01-15 20:11     ` Greg Klanderman
2009-01-15 20:29       ` Peter Stephenson
2009-01-16 10:02         ` Peter Stephenson
2009-01-15 20:28     ` Greg Klanderman
2009-01-15 20:34       ` Peter Stephenson
2009-01-16  4:19 ` Bart Schaefer
2009-01-16 17:35   ` Greg Klanderman
2009-01-16 17:55     ` Peter Stephenson
2009-01-16 19:40       ` Greg Klanderman
2009-01-16 23:26         ` Richard Hartmann
2009-01-17  3:45         ` Bart Schaefer
2009-01-17  3:35     ` Bart Schaefer
2009-01-17  5:31       ` Greg Klanderman
2009-01-17 17:53         ` Peter Stephenson

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=m3vd6oyyz5.fsf@klanderman.net \
    --to=greg@klanderman.net \
    --cc=zsh-workers@zsh.org \
    /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).