[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21.2 C-g problems on HP-UX-B.10.20, 11.11, Solaris 5.7 and 5.8
From: |
Klaus Zeitler |
Subject: |
21.2 C-g problems on HP-UX-B.10.20, 11.11, Solaris 5.7 and 5.8 |
Date: |
26 Jul 2002 17:56:05 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "Richard" == Richard Stallman <address@hidden> writes:
Richard>
Richard> Are there any people on HPUX and Solaris that can try to debug
Richard> these problems with C-g? The HPUX case may have been fixed by
Richard> the recent change regarding SA_RESTART; if so, it is conceivable
Richard> that adding
Richard>
Richard> #define BROKEN_SA_RESTART
Richard>
Richard> in the s/*.h file for Solaris might fix the problem. Does it?
Richard>
I've started looking into this on Solaris 5.8 in cvs version.
The first question that came up was, is it really necessary to set
BROKEN_SIGINFO and use polling instead?
Since I don't know I made sure that BROKEN_SIGINFO is not set, i.e.
I've added to sol2-5.h the line:
#undef BROKEN_SIGIO
this alone didn't do it cause then the function unrequest_sigio
isn't defined (properly) in sysdep.c.
Thus I made sure that FASYNC is defined (from /usr/include/sys/file.h) by
adding to sysdep.c (seems that there's no define for SOLARIS2_5)
#ifdef SOLARIS2_4
#include <sys/file.h>
#endif
with these changes emacs appears to work (i.e. C-g works, but I haven't
thoroughly tested yet, especially since I don't know the developers
intentions to disable SIGIO)
Still I think that the problem why C-g doesn't work with polling instead
of SIGIO may need further investigation.
If I'm on the right track I can investigate Solaris 5.7 and HP-UX next week.
Klaus
--
------------------------------------------
| Klaus Zeitler Lucent Technologies |
| Email: address@hidden |
------------------------------------------
---
I didn't know it was impossible when I did it.