Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh exits suddenly.
- X-seq: zsh-users 1645
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx, Tanaka Akira <akr@xxxxxxxxxxx>
- Subject: Re: zsh exits suddenly.
- Date: Tue, 23 Jun 1998 11:25:17 -0700
- In-reply-to: <rsqbtrkw50q.fsf@xxxxxxxxxxxxxxxxxxxxx>
- References: <rsqbtrkw50q.fsf@xxxxxxxxxxxxxxxxxxxxx>
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
<http://www.zsh.org/mla/workers-1998/msg00372.html> (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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author