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

Re: PATCH: exit after 10 EOF's



Bart Schaefer wrote:
> This is a backwards-incompatible change, and I 
> object to it.  The default behavior of ZLE on receiving an EOF character 
> is supposed to be identical to the default behavior of 4.3BSD csh upon 
> receiving an EOF character.  That is, either exit (when not ignoreeof) or 
> print a warning (when ignoreeof) if the character is received at the start 
> of an empty buffer.

Well, hence the exit after 10 characters, which was what made the
behaviour actually compatible... I still consider the behaviour before
my previous patch confusing well past the point of unusability.

I'm prepared to consider another option, such as zle_ignore_eof (meaning
that ignore_eof really did what csh used to, and zle_ignore_eof would be
my current proposal, or something such), or anything other than what was
there just before...

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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



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