Xref: utzoo gnu.emacs.help:1254 comp.sys.sgi:8463 Path: utzoo!utgpu!watserv1!watmath!uunet!wuarchive!usc!apple!bionet!ames!sgi!shinobu!odin!odin.corp.sgi.com!gold From: gold@sgi.com (Michael Gold) Newsgroups: gnu.emacs.help,comp.sys.sgi Subject: Re: Problems with emacs on IRIS under X Message-ID: Date: 23 Feb 91 12:10:33 GMT References: <1991Feb22.141525.25281@ndl.com> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 47 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... Brought to you by Super Global Mega Corp .com