Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: EOF exiting shell

Peter Stephenson wrote:
> > (although for me it never exits with IGNOREEOF set).
> Right, I suppose that's a real bug, although I don't know anything about
> its history.  It's not documented, anyway, but possibly someone decided the
> current way was good enough to avoid shells hanging around too long.

Any comments on this?  Should I install the patch, giving the documented
behaviour?  Or should I fix the documentation to say that IGNOREEOF ignores
an arbitrary number of EOFs in zle?  Or does anyone think zle is supposed
to handle this internally, requiring a bigger fix?

I'm inclined to think the first option is the safest, unless anyone
remembers what's going on.

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author