From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14887 invoked from network); 23 Jun 1998 18:42:31 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 23 Jun 1998 18:42:31 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id OAA26016; Tue, 23 Jun 1998 14:36:42 -0400 (EDT) Resent-Date: Tue, 23 Jun 1998 14:24:13 -0400 (EDT) From: "Bart Schaefer" Message-Id: <980623112518.ZM375@candle.brasslantern.com> Date: Tue, 23 Jun 1998 11:25:17 -0700 In-Reply-To: Comments: In reply to Tanaka Akira "zsh exits suddenly." (Jun 23, 11:45pm) References: X-Mailer: Z-Mail (4.0b.820 20aug96) To: zsh-users@math.gatech.edu, Tanaka Akira Subject: Re: zsh exits suddenly. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"_d65p1.0.4u5.CB_Zr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1645 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jun 23, 11:45pm, Tanaka Akira wrote: } Subject: zsh exits suddenly. } } I have a trouble that zsh exits as following. } } carbon% ls <^D> } zsh: do you wish to see all 848 possibilities? <^C>n } carbon% ls <^M> } akr@carbon% 3.1.4 has the same problem. This is exactly the bug that I described in (article 4037 if you use the FTP archive (thanks, Geoff)) -- interrupting a read() with SIGINT causes zsh to set lexstop to 1, which eventually causes the shell to exit. I finally figured out where that's happening -- it's in ingetc(), which is called from the SIGINT handler() via inerrflush(). However, I still don't know how to fix the problem. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com