[comp.sys.sgi] Problems with emacs on IRIS under X

gilley@ndl.ndl.com (Greg Gilley) (02/22/91)

I am having trouble getting a version of emacs 18.57 built on an SGI
Personal IRIS running IRIX 3.2.  It builds fine, and starts up fine
(display works, it reads and successfully executes .emacs, etc.).  As
soon as a key is hit, however, it dies a horrible death along the
lines of:

X Error of failed request:
  Major opcode of failed request:  0 ()
  Minor opcode of failed request:  0
  Resource id in failed request:  0x0
  Serial number of failed request:  65480
  Current serial number in output stream:  116
Fatal error (1).Hangup

Has anyone already encountered, work around this problem?  Thanks,

					Greg

P.S.  Please email, my news server is a little behind.
-- 
-------------------------------------------------------
  Greg Gilley
  gilley@ndl.COM   [Numerical Design Limited]
  919-929-2917 (voice)

scotth@corp.sgi.com (Scott Henry) (02/23/91)

g> I am having trouble getting a version of emacs 18.57 built on an SGI
g> Personal IRIS running IRIX 3.2.  It builds fine, and starts up fine
g> (display works, it reads and successfully executes .emacs, etc.).  As
g> soon as a key is hit, however, it dies a horrible death along the
g> lines of:

g> X Error of failed request:
g>   Major opcode of failed request:  0 ()
g>   Minor opcode of failed request:  0
g>   Resource id in failed request:  0x0
g>   Serial number of failed request:  65480
g>   Current serial number in output stream:  116
g> Fatal error (1).Hangup

g> Has anyone already encountered, work around this problem?  Thanks,

GNU Emacs 18.57 has been updated to reflect the changes between Irix
release 3.2 and 3.3. The easiest solution is to either use v18.55 (I think
18.56 also has the Irix 3.3 fixes), or (preferably) upgrade to Irix 3.3.2.

Sorry I couldn't be more help, but I don't have the 18.55 config files
around any more to diff.

--
 Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
 Information Services,       / Help! My disclaimer is missing!
 Silicon Graphics, Inc      / Politicians no baka!

gold@sgi.com (Michael Gold) (02/23/91)

   g> I am having trouble getting a version of emacs 18.57 built on an SGI
   g> Personal IRIS running IRIX 3.2.  It builds fine, and starts up fine
   g> (display works, it reads and successfully executes .emacs, etc.).  As
   g> soon as a key is hit, however, it dies a horrible death along the
   g> lines of:

   g> X Error of failed request:
   g>   Major opcode of failed request:  0 ()
   g>   Minor opcode of failed request:  0
   g>   Resource id in failed request:  0x0
   g>   Serial number of failed request:  65480
   g>   Current serial number in output stream:  116
   g> Fatal error (1).Hangup

   g> Has anyone already encountered, work around this problem?  Thanks,


You should read ~emacs/PROBLEMS.  I found the following there, which
worked for me.  Note that under IRIX 3.3 and emacs 18.57, this was not
necessary:

>>  
>>  * X Windows doesn't work if DISPLAY uses a hostname.
>>  
>>  People have reported kernel bugs in certain systems that cause
>>  Emacs not to work with X Windows if DISPLAY is set using a host
>>  name.  But the problem does not occur if DISPLAY is set to
>>  `unix:0.0'.  I think the bug has to do with SIGIO or FIONREAD.
>>  
>>  You may be able to compensate for the bug by doing (set-input-mode
>>  nil nil).  However, that has the disadvantage of turning off
>>  interrupts, so that you are unable to quit out of a Lisp program
>>  by typing C-g.
>>  
>>  The easy way to do this is to put
>>  
>>  (setq x-sigio-bug t)
>>  
>>  in your site-init.el file.
>>  

--
    Michael I. Gold	 	You go your way, I'll go mine,
    Silicon Graphics Inc.	I don't care if we get there on time,
    Internet: gold@sgi.com	Everybody's searching for something they say,
    Voice: (415) 335-1709	I'll get my kicks on the way...