From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27316 invoked by alias); 21 Apr 2011 14:32:10 -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: 15980 Received: (qmail 15570 invoked from network); 21 Apr 2011 14:31:59 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=86ILB3kg5gLlzXzcRybp9h3mutxmN90Jh3cXvU6R3Us=; b=qZiqGEzZu2uhhVK0oOJIZdxxMr/LE44ASI/tblRYFkxwssVCta9GuPOQPWTS0KLKhq 2SAtGmftj4LGbhb5IxPTDRV0oSDAdBYZrtLTVm1q0+Pohmy53JhvrG/w7yWks79bIOsg WHhKfFWlu1nnhJU7eNNNHvy699q3RZmMRAlb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=W/sRYGBFy79nspAo3p9X0L3IS1RyzaQ3eec0mTZ4lKvCMr/6C33GU6B9SKfyr5fwqT lodq7awlsfJ4eKfZrA/0mJIJ4RbdBdk91tR1f9vtGnYbGu1J42hyWf2oS8VA6yuNIMtu sgFoz5yC44SEncPG7w5KmQxPlYmOP0PaN43OQ= Date: Thu, 21 Apr 2011 16:31:45 +0200 From: Anthony Charles To: zsh-users@zsh.org Subject: Re: Signal handling/zcurses Message-ID: <20110421143145.GC6357@layslair.ath.cx> References: <20110420101911.GA6357@layslair.ath.cx> <110420074048.ZM16389@torch.brasslantern.com> <20110420192234.GB6357@layslair.ath.cx> <110421014823.ZM17325@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <110421014823.ZM17325@torch.brasslantern.com> User-Agent: Mutt/1.5.21 (2010-09-15) Thanks for the info. Even SIGWINCH breaks the loop and terminate my script, which is quite annoying. man 3 getch says about wgetch in portability section that it may not be interrupted by signals or it may return ERR with errno set to EINTR depending of the implementation and OS. In my case, on Debian it seems it's the second choice :) -- Anthony CHARLES