From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18620 invoked by alias); 4 Apr 2015 21:25:29 -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: 20093 Received: (qmail 8164 invoked from network); 4 Apr 2015 21:25:28 -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=w+bPIu6kWXDgZ+7Qc1xCBMqcDBkqUxVDwn30PDgBLZI=; b=jV0zn9Stuk95LGu9B6xxHmZQQ2jbXMt4Du0XBsbPCQUC+8nL9TNwtWSFBaNijWRy9S v3nrsvrT7HDGafvIZ7jtODrmSjd/K6wjhSPwJ6CUa00FJYHzN2S9kuYAOuPnmYN8WXEL ba4rmeqSENteCXGn4yh+UCy2RSO8EU8Zx/wqZrmbuJgcZqFQpSUmvJVRA5uZdwshCTjz 2sLbMYxWEqcavkciPlXjRJfAp2zHv15DDonH6UjVX0KRydwJRC/d5JWTPhsdFa5t4ruq u9TFK2FtyzidUk/nATwGD4Dr2Hq/0LMlu6tJxBXiw6UhCAG2c1EgcMFH5p8sqG+oNUjM N5+A== X-Gm-Message-State: ALoCoQl13Rxlte+9yjF6jXmnaxDetd4XUY9bf9g/11QkBtGAjUuEwNX08JBx8TxVqcGHwSwrmmjq X-Received: by 10.60.149.166 with SMTP id ub6mr10012377oeb.41.1428182727353; Sat, 04 Apr 2015 14:25:27 -0700 (PDT) From: Bart Schaefer Message-Id: <150404142524.ZM15073@torch.brasslantern.com> Date: Sat, 4 Apr 2015 14:25:24 -0700 In-Reply-To: <150404135557.ZM14999@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: How to trap EXIT like in bash" (Apr 4, 1:55pm) 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> 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 4, 1:55pm, Bart Schaefer wrote: } } 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, but then workers/19858 changes OPT_EMULATE|OPT_NONBOURNE to 0 so that TRAPS_ASYNC is never on by default. Was this just a botch in 19858 (should have been OPT_ZSH ?) that no one ever noticed? I can't tell from the archived discussion whether this was done intentionally.