From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9663 invoked by alias); 21 Apr 2011 08:48:36 -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: 15979 Received: (qmail 15969 invoked from network); 21 Apr 2011 08:48:34 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110421014823.ZM17325@torch.brasslantern.com> Date: Thu, 21 Apr 2011 01:48:23 -0700 In-reply-to: <20110420192234.GB6357@layslair.ath.cx> Comments: In reply to Anthony Charles "Re: Signal handling/zcurses" (Apr 20, 9:22pm) References: <20110420101911.GA6357@layslair.ath.cx> <110420074048.ZM16389@torch.brasslantern.com> <20110420192234.GB6357@layslair.ath.cx> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Signal handling/zcurses MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 20, 9:22pm, Anthony Charles wrote: } } About the loop, it's as follow : } while zcurses input $main_screen inp spe_inp } do } ... } done Looking at Src/Modules/curses.c ... this is implmented using one of wget_wch() or wgetch() depending on the version of libcurses that is linked. So in all likelihood it's somewhere in libcurses that this is getting interrupted, and it's unclear whether there's any way for the caller to determine why that call failed and thereby decide to retry it.