From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22629 invoked from network); 7 May 2007 05:57:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 May 2007 05:57:10 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 90891 invoked from network); 7 May 2007 05:57:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 May 2007 05:57:05 -0000 Received: (qmail 7597 invoked by alias); 7 May 2007 05:57:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23398 Received: (qmail 7584 invoked from network); 7 May 2007 05:57:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 May 2007 05:57:01 -0000 Received: (qmail 90661 invoked from network); 7 May 2007 05:57:01 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 7 May 2007 05:56:58 -0000 Received: from torch.brasslantern.com ([71.116.88.130]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JHN00IIRPUBDYA9@vms040.mailsrvcs.net> for zsh-workers@sunsite.dk; Mon, 07 May 2007 00:56:36 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l475uYuw009290 for ; Sun, 06 May 2007 22:56:34 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l475uYjq009289 for zsh-workers@sunsite.dk; Sun, 06 May 2007 22:56:34 -0700 Date: Sun, 06 May 2007 22:56:34 -0700 From: Bart Schaefer Subject: Re: [PATCH] exec compatibility In-reply-to: <20070504130023.df33e042.pws@csr.com> To: zsh-workers@sunsite.dk Message-id: <070506225634.ZM9288@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20070501002620.GA95730@redoubt.spodhuis.org> <20070504130023.df33e042.pws@csr.com> Comments: In reply to Peter Stephenson "Re: [PATCH] exec compatibility" (May 4, 1:00pm) On May 4, 1:00pm, Peter Stephenson wrote: } } This is what I've ended up with for the exec patch. One thing that rather annoys me about all this is that zsh% - exec sh and zsh% exec - sh seem no longer to be equivalent. Am I wrong about that? I'd be inclined to have these -c/-l/-a flags depend on the emulation mode, or on POSIX_BUILTINS (though they aren't really POSIX, are they?) or on something else, so that they're not available in default "zsh mode". (Hmmm: Make them a zmodload -F feature of the zsh/main module ...?)