From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7822 invoked by alias); 21 Aug 2010 22:31:55 -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: 15315 Received: (qmail 4303 invoked from network); 21 Aug 2010 22:31:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Sun, 22 Aug 2010 00:31:46 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: Synchronous vs. Asynchronous Message-ID: <20100821223146.GD16241@prunille.vinc17.org> Mail-Followup-To: zsh-users@zsh.org References: <100820083501.ZM29362@torch.brasslantern.com> <20100820164507.419dc0bc@csr.com> <100820103638.ZM29775@torch.brasslantern.com> <20100821194122.583e05e4@pws-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100821194122.583e05e4@pws-pc> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-6127-vl-r38670 (2010-08-14) I've noticed differences between Mac OS X Tiger and GNU/Linux (Debian). On 2010-08-21 19:41:22 +0100, Peter Stephenson wrote: > cat >(sleep 100) > > is uninterruptible, while [...] Under Mac OS X, I get: prunille% cat >(sleep 100) cat: /dev/fd/31: Permission denied ^C^C^C^C^C^C^C^C ^C^C^C^C^C^C^C prunille% Under Linux: xvii% cat >(sleep 100) ^C^C^C^C^C Both are uninterruptible, but I get an error under Mac OS X. Now... prunille% printf "a%s\n" {1..9} >>(while read s; do sleep 1; echo $s; done) a1 a2 a3 ^Ca4 ^C^C^Ca5 ^C^C^Ca6 ^C^Ca7 a8 a9 prunille% is uninterruptible, but not under Linux: xvii% printf "a%s\n" {1..9} >>(while read s; do sleep 1; echo $s; done) a1 a2 a3 ^C% xvii% a4 a5 a6 a7 a8 a9 xvii% -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)