From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3466 invoked by alias); 10 Apr 2015 21:16:25 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20130 Received: (qmail 1717 invoked from network); 10 Apr 2015 21:16:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=Cq+lMF2NlYYHEYpFm/9yQdAmzXQvXq+GWMHflDQ/TZY=; b=ZNJ+z1XAmYRzfKm/Rc4o2JUFBJvlJWvILuA8DGFdVxoD6+wYnJ+VErfT7IUESUMF6q TUGdDbVMxO5v+oWximI2Q0K5LMZlzkdTNBlT6cfuQgtY5T3QjSV1dyz6kewmTc2Y4foq A0PP0C6jmsqT3lPpZBFj9KGuoGXlXpLS//x1LVGaXh1JWKducmSoGdEWwqq8LnIdt/Ww YInpZKVPsgmaQNYocrnKUB6PvmvIilI+d3ZxnKqjVIU+8Q9VDu3sqdWcMy5CLeN0H9oX hxB26PRYp7iHjs5bpCpR8C14/6eJcmQPAQSx20/4tXXZqcDM1wcAUVcfYua3iXVv4OMH FCMA== X-Gm-Message-State: ALoCoQlxpTqb0K3VfuUH7RXBj8oa4YDmEB6SyFz4UsXDjUHSG14TCjTOZrnngIFA82mIegFLUu1R X-Received: by 10.202.89.131 with SMTP id n125mr77777oib.91.1428700581263; Fri, 10 Apr 2015 14:16:21 -0700 (PDT) From: Bart Schaefer Message-Id: <150410141615.ZM26557@torch.brasslantern.com> Date: Fri, 10 Apr 2015 14:16:15 -0700 In-Reply-To: <20150410172833.3a359f39@ntlworld.com> Comments: In reply to Peter Stephenson "Re: How to trap EXIT like in bash" (Apr 10, 5:28pm) References: <150404113557.ZM14788@torch.brasslantern.com> <1428167314.5875.2.camel@niobium.home.fifi.org> <150404114859.ZM14898@torch.brasslantern.com> <150404132528.ZM14947@torch.brasslantern.com> <150404135557.ZM14999@torch.brasslantern.com> <150404142524.ZM15073@torch.brasslantern.com> <20150410172833.3a359f39@ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: How to trap EXIT like in bash MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 10, 5:28pm, Peter Stephenson wrote: } Subject: Re: How to trap EXIT like in bash } } > } } > } http://www.zsh.org/mla/workers//2004/msg00460.html } > } } > } It seems asserted in that thread that the Bash behavior is not only not } > } compatible with FreeBSD, but is also not POSIX compliant, which is why } > } the default for zsh got changed. } > } > Hmm, except that the NEWS file and the early part of that thread claim } > that TRAPS_ASYNC is the default for zsh because of historic behavior, } > } > Was this just a botch in 19858 (should have been OPT_ZSH ?) that no one } > ever noticed? } } Would guess so, given the discussion, and I don't suppose we're going to } find out after this length of time, so maybe this should be rectified. The Yodl doc was changed to match the code, though, so perhaps given that it has been 10+ years, the thing to do is to put a correction in the NEWS file and leave the option defaults alone. Clearly it doesn't make that much difference in real life, except for the rare cases where it's critical.