zsh-users
 help / color / mirror / code / Atom feed
From: Haakon Riiser <haakon.riiser@fys.uio.no>
To: zsh-users@zsh.org
Subject: Re: Problems with zsh's job control and running jobs
Date: Thu, 2 Sep 2010 17:04:03 +0200	[thread overview]
Message-ID: <20100902150403.GA9741@snowbird.venod.com> (raw)
In-Reply-To: <20100902153710.64d137cd@csr.com>

[Peter Stephenson]

> On Thu, 2 Sep 2010 15:30:26 +0100
> Peter Stephenson <Peter.Stephenson@csr.com> wrote:
> 
> > On Thu, 2 Sep 2010 15:47:47 +0200
> > Haakon Riiser <haakon.riiser@fys.uio.no> wrote:
> > > If not, is it possible to make "&" disown jobs by default?
> > 
> > I got this to work.
> 
> ... though it does exceed the requirements a bit.  If you background a job,
> it will pick it up and disown that.  That may or may not be a feature.  If
> it isn't you need to look at a history to get this proposal to work.

Thank you very much for this code!  Not only did it solve my problem
perfectly, it also taught me about the handy hooks mechanism.
The fact that it disowns bg'd jobs is a feature in my book. :-)

-- 
 Haakon


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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-02 13:47 Haakon Riiser
2010-09-02 14:30 ` Peter Stephenson
2010-09-02 14:37   ` Peter Stephenson
2010-09-02 15:04     ` Haakon Riiser [this message]
2010-09-02 15:58   ` Bart Schaefer
2010-09-04 18:03     ` John Eikenberry
2010-09-04 20:12       ` PJ Weisberg
2010-09-02 14:54 ` Greg Klanderman
2010-09-02 15:53 ` Bart Schaefer

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=20100902150403.GA9741@snowbird.venod.com \
    --to=haakon.riiser@fys.uio.no \
    --cc=zsh-users@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).