From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22665 invoked by alias); 10 Mar 2015 11:16:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34695 Received: (qmail 8871 invoked from network); 10 Mar 2015 11:16:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) 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.2 X-Originating-IP: [86.6.153.127] X-Spam: 0 X-Authority: v=2.1 cv=RdIeCjdv c=1 sm=1 tr=0 a=39NrsSuza2clQiZR/7fYWQ==:117 a=39NrsSuza2clQiZR/7fYWQ==:17 a=kj9zAlcOel0A:10 a=NLZqzBF-AAAA:8 a=j_Gp4ghXjSQNwvQsDDQA:9 a=CjuIK1q_8ugA:10 Date: Tue, 10 Mar 2015 11:16:39 +0000 From: Peter Stephenson To: John , "zsh-workers@zsh.org" Subject: Re: Bug: ZSH crashes upon receiving SIGINT Message-ID: <20150310111639.72c44286@ntlworld.com> In-Reply-To: <20150310104653.181bd618@ntlworld.com> References: <262321015.1750177.1425923203098.JavaMail.yahoo@mail.yahoo.com> <20150310104653.181bd618@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 10 Mar 2015 10:46:53 +0000 Peter Stephenson wrote: > The error at the end comes from a specific point in the shell line > editor: if it finds it can't read from the TTY, and the error isn't one > of the small number it thinks are recoverable, it will exit. In this > case the error appears to be EIO. So this certainly ties in with the > behaviour you're seeing. Minor update here: on looking a little more closely, I see the shell will only exit on the second occurrence of EIO when reading from the TTY. On the first it will attempt to fix things up by forcing itself to be the TTY foreground process. It's possible this is part of the puzzle. pws