zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: Vincent Stemen <zsh@hightek.org>
Cc: zsh-users@sunsite.dk
Subject: Re: FreeBSD compatability feature request
Date: Sun, 18 Apr 2004 19:10:09 +0100	[thread overview]
Message-ID: <20040418181010.8714C8543@pwstephenson.fsnet.co.uk> (raw)
In-Reply-To: "Vincent Stemen"'s message of "Sat, 17 Apr 2004 17:22:22 CDT." <20040417222222.GA27230@quark.hightek.org>

Vincent Stemen wrote:
> Zsh's sh compatibility works great for the most part.  However, there
> is one unimplemented feature that I know of that prevents us from
> being able to use it as a plug in replacement for /bin/sh on FreeBSD.
> The "set -T" option.  This is used in a few places in the FreeBSD-5.x
> init scripts.
> 
> Here is the FreeBSD manual entry:
> 
>   -T trapsasync
>         When waiting for a child, execute traps immediately.  If this
>         option is not set, traps are executed after the child exits,
>         as specified in IEEE Std 1003.2 (``POSIX.2'')

This question came up before.  It can probably be done in certain
controlled circumstances --- usually it's dangerous to run traps
asynchronously, but with appropriate tests around a wait it ought to be
possible.  It doesn't sound too difficult.

If someone with a FreeBSD system wants to implement this, please go
ahead, but otherwise (i) it's ultralow priority (ii) we can't compare
the result with what it's supposed to do.

(We get quite a lot of feature requests and very few people offering to
implement new features, unfortunately.  So unless it's really of general
interest it tends not to get done.)

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


  reply	other threads:[~2004-04-18 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17 22:22 Vincent Stemen
2004-04-18 18:10 ` Peter Stephenson [this message]
2004-04-19 11:28 ` 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=20040418181010.8714C8543@pwstephenson.fsnet.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-users@sunsite.dk \
    --cc=zsh@hightek.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).