zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Disowning a stopped job
Date: Tue, 29 May 2001 15:12:11 +0000	[thread overview]
Message-ID: <1010529151211.ZM13398@candle.brasslantern.com> (raw)
In-Reply-To: <200105290928.LAA09000@beta.informatik.hu-berlin.de>

On May 29, 11:28am, Sven Wischnowsky wrote:
} Subject: Re: Disowning a stopped job
}
} Bart Schaefer wrote:
} 
} > Using "disown" on a stopped job leaves the job stopped.  There should be at
} > least a warning about this.
} 
} Nobody answered -- or did I miss something?

It's been difficult to get opinions out of people lately.  I think we're
having -pre-X burnout.

} The other possibilities would of course be to generate an error, not
} disowning the job or to call makerunning() on it before clearing the job
} table entry.
} 
} Of these, I think I prefer the former. The user can then still call `bg'
} and then `disown'.

I suppose the former with an option to do the latter would not work, as
bg/fg/disown have always interpreted their first argument as a string to
match against job names.

Here's the thing to consider:  `disown %1' is equivalent to `%1 &!'.  I
won't go so far as to say it's "intuitive," but the latter certainly looks
as though it should cause the job to run.

Would it be weird (or even possible) to have those two variants work in
different ways in this case?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-05-29 15:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-22 20:45 Bart Schaefer
2001-05-29  9:28 ` Sven Wischnowsky
2001-05-29 15:12   ` Bart Schaefer [this message]
2001-05-30  7:26     ` Sven Wischnowsky
2001-05-30 13:42     ` Sven Wischnowsky
2001-05-26 16:24 tag-order problem? Tanaka Akira
2001-05-28  8:26 ` Sven Wischnowsky
2001-05-28  9:23   ` Tanaka Akira
2001-05-28 10:30     ` Sven Wischnowsky
2001-05-31 12:35       ` PATCH: " Sven Wischnowsky
2001-05-31 14:15         ` Disowning a stopped job Bart Schaefer
2001-05-31 15:28           ` Sven Wischnowsky

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=1010529151211.ZM13398@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).