[comp.windows.x] Problems with X11R4 Xqvss under ultrix 2.0

ben@cunixf.cc.columbia.edu (Ben Fried) (01/06/90)

OS: Ultrix 2.0
C compiler: gcc 1.35
Machine: VaxStation II.

I haven't been able to get Xqvss to work:

I've had to re-compile qvss_io.c, oscolor.c, and access.c, with cc to
overcome various problems tied to using gcc 1.35 (I think).  These
problems included: -fpcc-struct-return wasn't working in oscolor.c;
qvss_io.c core dumped when trying to initialize the display.

Now, I'm getting very strange behavior from Xqvss.  It seems to start
fine - it stipples the window and brings up the right sort of cursor,
which tracks the mouse, but attempting to open any application on it
results in the X server exiting (or at least disappearing for a second
and then reappearing in a reset state).  The application (for example
xterm) gives the message: xterm: Error 15, errno 25: Not a typewriter.

Oh- the xterm is R4, too, and is running under a root id.

Anyone have any ideas what's doing this?  

Ben
--
Benjamin Fried
ben@cunixf.cc.columbia.edu				rutgers!columbia!ben

keith@EXPO.LCS.MIT.EDU (Keith Packard) (01/07/90)

> OS: Ultrix 2.0
> C compiler: gcc 1.35
> Machine: VaxStation II.

You've got two strikes here (other than using a VaxStation II).  First:
Ultrix 2.0 is pretty old and we've never built R4 using it (I've been
using Ultrix 3.1 on my VS2000).  Second; I suspect you've not
used the 'fixincludes' shell script which is included with gcc to
make the ioctl's work correctly (this from the error message
'ENOTTY' from xterm which indicates an ioctl which the terminal
driver doesn't understand).

The second is certainly a problem; you'll have to run fixincludes and
rebuild quite a bit of the distribution (anything using ioctl needs to get
recompiled).  This is why compiling ddx/dec/qvss with /bin/cc caused the
server to start working; it can use the old ioctl mechanism.

The first problem is just something you should look into fixing sometime;
you'd be better off running a more current revision of the system.

I've built the entire X distribution using GCC 1.35 on a Tektronix 4319 and
a mac II, and built the server on the Vax (qdss and qvss) and
Sun.

Keith Packard
MIT X Consortium