Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: have '&' automatically disown?
- X-seq: zsh-workers 27684
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: gak@xxxxxxxxxxxxxx
- Subject: Re: have '&' automatically disown?
- Date: Sun, 7 Feb 2010 22:59:09 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=QbQ03FG5hMO29dNILDhgpK2nVrilJkeT1/pbY9K0c7I=; b=YQ1lAe6Z40i24uXv7Lb00CBxlZ6Y+rS99gmzXQSQZXJjZe6zj/PwgQj091rgvnqx1N 6fywDYizVw36Sv8aiyBVo9r9iv9JqpV/9Bhw91qijhsW24PHWy4XSNOxOE6DAsY4vIsB E4hD1hNiBHyp1MUF5Nc2iIpOdSo8deBBe6694=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wkf27S6GlOqK8AuPmekODG/gAuImGWnsRnVG7OxGwGj9JYiyMrpc+GDK+627Fl8diu vZb/6NGS3yJW2Z4GpVZ3V0YiSpyyuaOD5xVhR6/YDiBgS/+X9981TxzvWfrcfWp08CzW K3GI0YAV+nmjXOxLc3m1aJZmxyj/yeD4uxMkk=
- In-reply-to: <m3sk9c7o33.fsf@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <19308.20198.797192.607014@xxxxxxxxxxxxxxxxxx> <201002051733.o15HXBZB025656@xxxxxxxxxxxxxx> <201002051736.o15HaMlN025726@xxxxxxxxxxxxxx> <m3vdeb6o3v.fsf@xxxxxxxxxxxxxx> <20100207182028.0f7c51ab@pws-pc> <m3sk9c7o33.fsf@xxxxxxxxxxxxxx>
On 7 February 2010 22:06, Greg Klanderman <gak@xxxxxxxxxxxxxx> wrote:
>>>>>> On February 7, 2010 Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
>
>> If you start going looking for them you'll still find them.
>
> Certainly not the end of the world...
>
>> I don't know if that's good enough for your needs or not.
>
> nohup + nocheckjobs does most of what I care about I guess.
> I just noticed the later before starting this thread.
>
>> 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.
>
>> If it means you still need job control to work continuously, then
>> certainly turning off "monitor" isn't an option.
>
> I don't actually want to use job control on the jobs started while
> monitor was off, but since they are still there, chances are I will at
> some point shoot myself in the foot.
>
> Would it make sense to just auto-disown when monitor is off?
This will probably get really annoying quickly...
_self_insert() { [[ ! -o monitor && $KEYS = '&' ]] &&
RBUFFER=!$RBUFFER; zle .$WIDGET; ((CURSOR++)) }
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author