Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eng.sun.COM!smarks From: smarks@eng.sun.COM (Stuart W. Marks) Newsgroups: comp.windows.x Subject: Re: xterm with Sun Open Windows 1.0 Message-ID: <9003202004.AA09762@trantor.Eng.Sun.COM> Date: 20 Mar 90 20:04:00 GMT References: <8490@cg-atla.agfa.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 32 | We have just begun using some of the X11 features of our X11/NeWS | server (OPEN WINDOWS 1.0), and are having some birthing pains. | When we try to run xterm from a System V client, the server returns | the following error: | | X Protocol error detected by server: integer parameter out of range | Failed request major op code 2 X_ChangeWindowAttributes | Failed request minor op code 0 (if applicable) | ResourceID 0x40001a in failed request (if applicable) | Serial number of failed request 72 | Current serial number in output stream 77 | | Can anyone explain what is going on? What, if anything, can we | do to fix the problem? It looks like you're using an old version of xterm. Versions of xterm dating from X11R3 and before have a bug where they set a window's do-not-propagate mask to an illegal value, ~0. (This mask is restricted to device events only, and ~0 contains mask bits for non-device events.) Older servers (X11R3 and before) didn't detect this error. Newer servers, such as X11/NeWS and X11R4, will generate the error you're seeing. The only real fix is to get a more recent version of xterm. I believe that xterm doesn't set the illegal value until it creates a scrollbar, so you might not get the error if you turn off xterm's scrollbar. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Window Systems Group UUCP: sun!smarks Sun Microsystems, Inc.