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

Re: zsh exits suddenly.



In article <980623112518.ZM375@xxxxxxxxxxxxxxxxxxxxxxx>,
  "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> writes:

> I finally figured out where that's happening -- it's in ing%tc(), which
> is called from the SIGINT handler() via inerrflush().  However, I still
> don't know how to fix the problem.

Why following fix is wrong?

------------------------------------------------------------
--- signals.c.org	Wed Jun 24 04:38:45 1998
+++ signals.c	Wed Jun 24 04:40:24 1998
@@ -479,6 +479,7 @@
                 breaks = loops;
                 errflag = 1;
 		inerrflush();
+                lexstop = 0;
             }
         }
         break;
------------------------------------------------------------

Although I found that setopt ignoreeof prevents exiting zsh suddenly
in exchange for annoying errors...
-- 
[Tanaka Akira]



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