zsh-users
 help / color / mirror / code / Atom feed
From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>,
	zsh-users@zsh.org, zzapper <zsh@rayninfo.co.uk>
Subject: Re: disown -a
Date: Wed, 3 Mar 2021 08:57:15 +0100	[thread overview]
Message-ID: <CAP+y1xAVdL+vVcppNhy7zLeZXpy+x-33D36fjh3PxTcRHE6-=w@mail.gmail.com> (raw)
In-Reply-To: <20210303071549.oessnssr3n4w4acj@chazelas.org>

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

out of curiosity, how have you assembled this informations? from memory or
digging in the source trees?

Il giorno mer 3 mar 2021 alle 08:16 Stephane Chazelas <stephane@chazelas.org>
ha scritto:

> 2021-03-03 00:05:38 +0000, Daniel Shahaf:
> [...]
> > zsh is not a bug-for-bug reimplementation of bash.
> >
> > As to a workaround, you don't specify what -a should do, but perhaps
> this:
> >
> > disown %${(k)^jobstates[(R)suspended:*]}
> [...]
>
> For the record, AFAICT "disown" is a zsh invention. Already
> there in 1.0 in 1990.
>
> ksh added it in ksh93 (a rewrite) released in late 1993.
>
> bash in 2.0 released in late 1996 (so the path there is likely
> to be zsh -> ksh93 -> bash, as ksh93 is generally the shell bash
> took inspiration from). With also a -h option.
>
> yash in 2.0a2 in 2008.
>
> In fish, disown is a wrapper function around its disown builtin
> added in 2.6b1 in 2017.
>
> pdksh-based, ash-based, csh-based ones don't seem to have a
> disown builtin.
>
> Of the ones that have a disown builtin above, only bash and yash
> support -a (also --all in yash).
>
> bash added that option (as well as -r) in 2.02 (1998).
>
> To this day, it seems the -h and -r options are specific to
> bash. ksh93's disown supports the usual
> --help/--usage/--nroff/--man/--author... like all its builtins.
>
> See also the related hup and nohup builtins of tcsh (from 1993).
>
> --
> Stephane
>
> --
Pier Paolo Grassi

[-- Attachment #2: Type: text/html, Size: 1956 bytes --]

  reply	other threads:[~2021-03-03  7:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-02 11:34 quonting and globbing Pier Paolo Grassi
2021-03-02 11:58 ` Mikael Magnusson
2021-03-02 12:24   ` Pier Paolo Grassi
2021-03-02 23:31 ` disown -a zzapper
2021-03-03  0:05   ` Daniel Shahaf
2021-03-03  7:15     ` Stephane Chazelas
2021-03-03  7:57       ` Pier Paolo Grassi [this message]
2021-03-03 10:23         ` Finding out where features come from (Was: disown -a) Stephane Chazelas
2021-03-03 14:00           ` Pier Paolo Grassi
2021-03-03 14:45             ` Pier Paolo Grassi
2021-03-03  9:36       ` disown -a zzapper
2021-03-03  9:40         ` Peter Stephenson
2021-03-03 20:12         ` Daniel Shahaf
2021-03-03  0:12   ` Daniel Shahaf
2021-03-03 10:17     ` zsh

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='CAP+y1xAVdL+vVcppNhy7zLeZXpy+x-33D36fjh3PxTcRHE6-=w@mail.gmail.com' \
    --to=pierpaolog@gmail.com \
    --cc=d.s@daniel.shahaf.name \
    --cc=zsh-users@zsh.org \
    --cc=zsh@rayninfo.co.uk \
    /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).