In message <[EMAIL PROTECTED]>, Jeff Lewis writes:
> > Are you using GNU-readline-2.0? If so, it may solve the problem to replace
> > the library with the one distributed with bash-2.0. I tested it under
> > Solaris2.5 without modifying the Hugs source files.
>
> Excellent point. Under linux, when compiled *without* readline-2.0
> (the version distributed as a standalone library), interrupts are
> properly handled. However, I just checked my SunOS version of
> hugs, and it works fine *with* readline-2.0. Does anyone have it
> running under Linux with the bash version of readline?
I cannot say anything about Linux since I do not have Linux environment
at hand. The difference between Solaris 1 and 2 , however, is as follows.
I hope this may help you solve the problem.
Solaris1 (BSD) manages interrupt signals during longjump() differenctly
from Solaris2 (SYSV). More specifically, Solaris1-setjmp stores
interrupt context, while Solaris2-setjmp does not. Please refer to the
manual page of setjmp(2 or 3c), and check the semantics of setjmp().
If Linux setjmp() does not save the interrupt contect, I guess that bash-2.0
readline library is worth trying.
----
Yoshihiko Ichikawa, Dept of Info Sci, Fac of Sci, Ochanomizu University
Phone: +81-3-5978-5708 (Dial-in) / +81-3-5978-5704 (Library of Department)
Fax: +81-3-5978-5898 (Faculty) / +81-3-5878-5705 (Library of Department)
E-mail: [EMAIL PROTECTED]