From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26236 invoked by alias); 20 Apr 2011 10:27:30 -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: 15969 Received: (qmail 26475 invoked from network); 20 Apr 2011 10:27:28 -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 autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.43 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:mime-version :content-type:content-disposition:user-agent; bh=x43wlkuD3nQvsyqfaWyBLLCx1KBszH4dNiReyt+Lo4Q=; b=BtcERYS3YMeuelOd23wsWmrn9OpAJQ3IIIhy6nhbZZeWJW1Me/CqCtqVmRjFzJZ+0o haXyS9h4ZW6UkqktDSDM5lWhdNg9300KcziUyKksAIzcaf3qkSD4rJlg854/BCpDwK1n TxJ8XylsCMULKC2Q5eoot1J0uOfh+Hbrwscdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=rXP3tEKaFPn/6djVPEvXDVYbGvzvozEiLt5pPygG7R1/L7aa3pEvpSdmgi943LgL1U cIHm5rzuRTIq+pijVqFqB8bwRN2AQiL3k3Qx2XcU1HNs9c87DpXmQ9vj9RRtma/0y83s PIoFpqS0Mi5xT1ngJZ+b82n1d+xYdZlXLm5HU= Date: Wed, 20 Apr 2011 12:19:11 +0200 From: Anthony Charles To: zsh-users ml Subject: Signal handling/zcurses Message-ID: <20110420101911.GA6357@layslair.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi guys, I have a script which loops over zcurses input to get user input and I set a trap on USR1 to launch a function. If I kill -USR1 this script, the function is executed as planned but then zcurses input terminated and ends the loop. Why does zcurses terminated on USR1 ? Is there a way to change that apart of changing module source code (or maybe this is a bug) ? Thanks. -- Anthony CHARLES