🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98503

termio & X11 problems with 18.57 under RTU 4.0a

#98503
From: cjross
Date: Fri, 28 Jun 1991 00:09
52 lines
2585 bytes
The emacs built from the fresh-out-of-the-box 18.57 distribution under
RTU 4.0A gets a
	Fatal error (3).Quit (core dumped)
when you type a ^G.  The problem is in init_keyboard().  Masscrap RTU has
termio, but s-rtu.h doesn't define USG, so a signal handler is never set
for SIGQUIT.  The following fixes the problem (though I'm not sure if
it's appropriate for other systems.)



*** keyboard.c.old	Tue Jan  8 20:40:31 1991
--- keyboard.c	Thu Jun 27 19:08:07 1991
***************
*** 2098,2108 ****
    if (!noninteractive)
      {
        signal (SIGINT, interrupt_signal);
! #ifdef USG
!       /* On USG systems, C-g is set up for both SIGINT and SIGQUIT
! 	 and we can't tell which one it will give us.  */
        signal (SIGQUIT, interrupt_signal);
! #endif /* USG */
  /* Note SIGIO has been undef'd if FIONREAD is missing.  */
  #ifdef SIGIO
        signal (SIGIO, input_available_signal);
--- 2098,2108 ----
    if (!noninteractive)
      {
        signal (SIGINT, interrupt_signal);
! #ifdef HAVE_TERMIO
!       /* For systems with SysV TERMIO, C-g is set up for both SIGINT and
! 	 SIGQUIT and we can't tell which one it will give us.  */
        signal (SIGQUIT, interrupt_signal);
! #endif /* HAVE_TERMIO */
  /* Note SIGIO has been undef'd if FIONREAD is missing.  */
  #ifdef SIGIO
        signal (SIGIO, input_available_signal);


There are also serious problems with the X11 handling under RTU.  When
xemacs is run without -nw, it does not respond to keyboard or mouse input.
The only way to stop it is with kill, which terminates the process but
leaves the window on the screen.

I'd tackle this problem as well, if only the RTU debugger weren't so utterly
hopeless.  I can live without the X features.


chris ross   <cjross@bbn.com>   BBN Advanced Simulations   (617) 873-3272
	  Lisp in action is like a finely choreographed ballet.
	   Ada in action is like a waltz of drugged elephants.
       C in action is like a sword dance on a freshly waxed floor.
Technical Details
Message-ID: <9106280020.AA17614@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!bbn.com!cjross

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,11efd94d78b8cb4d,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-06-27 17:09:29 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!bbn.com!cjross
From: cjross@bbn.com
Newsgroups: gnu.emacs.bug
Subject: termio & X11 problems with 18.57 under RTU 4.0a
Message-ID: <9106280020.AA17614@life.ai.mit.edu>
Date: 28 Jun 91 00:09:29 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 52
Approved: bug-gnu-emacs@prep.ai.mit.edu