[comp.unix.ultrix] What Version of X in Ultrix 3.1

edwards@dogie.macc.wisc.edu (mark edwards) (11/11/89)

What version of X is Ultrix supporting?

In X.h I saw something that leads me to believe it is X11R0.

How compatible is this version with X11R3?

(I was trying to experiment with different apps, like xaquarium but
 it croaked on my PC Xsight. Then I tried it directly on the Vaxstation
 where it croaked with the same error message. What gives?)

mark
-- 
    edwards@vms.macc.wisc.edu
    UW-Madison, 1210 West Dayton St., Madison WI 53706

graham@fuel.dec.com (kris graham) (11/11/89)

> 
> What version of X is Ultrix supporting?

The UWS 2.1 release notes touts X11R3 compliance.
> 
> In X.h I saw something that leads me to believe it is X11R0.

Wrong.
> 
> How compatible is this version with X11R3?

You have to read the release notes for all the gory
details ;-)

> 
> (I was trying to experiment with different apps, like xaquarium but
>  it croaked on my PC Xsight. Then I tried it directly on the Vaxstation
>  where it croaked with the same error message. What gives?)
> 

What you are experiencing may well be a combination of problems.
You should have described the hardware and display/graphics type
of your workstation.

I will  make some guesses -  assuming it could be a monochrome, 4-plane,
or 8-plane system.

I took a look at the  xaquarium program.

The DECwindows window manager (dxwm)  won't allow  the mask bit name 
"CWOverrideRedirect" to happen (ICCCM-related....long story).
Change that name to something like "CWEventMask" in xfish.c.  That should
make an 8-plane ULTRIX workstation running dxwm happy...so you can run
xaquarium.

For a 4-plane system,  change the first 8s in the XCreateImage calls to 4 .
This  parameter specifies the depth of the display.

A more  portable way though, is to make the code handle different displays of 
different depths - use  XDefaultDepth to query for the depth of the display.

For a monochrone system, here are the diffs.  You will get get a black back-
ground, white bubbles and realistic fishes.

Here is a "diff -c" of the changes.

*** temp
--- xfish.c
***************
*** 244,251 ****
      else {
        for (i = 0; i < (rcolors+1); i++)
                cmap[i] = black;
!       cmap[0] = cmap[rback] = white;
!       bcolor = black;
        }
      cmap[rback] = cmap[0];
      }
--- 244,251 ----
      else {
        for (i = 0; i < (rcolors+1); i++)
                cmap[i] = black;
!       cmap[0] = black;
!       bcolor = white;
        }
      cmap[rback] = cmap[0];
      }
--


Christopher Graham
Ultrix Resource Center
Digital Equipment Corp
New York City.

swatt@cup.portal.com (Steven Edward Watt) (11/13/89)

edwards@vms.macc.wisc.edu asked:
>
>What version of X is Ultrix supporting?
>
>In X.h I saw something that leads me to believe it is X11R0.
>
>How compatible is this version with X11R3?
>
>(I was trying to experiment with different apps, like xaquarium but
> it croaked on my PC Xsight. Then I tried it directly on the Vaxstation
> where it croaked with the same error message. What gives?)
>

Our Xperience (sorry, couldn't resist the pun...:-) puts the Ultrix 2.1
somewhere around X11R2.5...  Probably misc. patches...

Steve Watt
swatt@cup.portal.com   ...!ucbvax!sun!cup.portal.com!swatt

jg@max.crl.dec.com (Jim Gettys) (11/15/89)

X.h defines the X protocol.  Indeed, all versions of X11 now in the
field are minor protocol revision 0.
There have been no changes to the X11 protocol since its initial release
(though people are
beginning to discuss the possibilty of an upward compatible rev 1 in the
next couple years).

Protocol revisions have nothing to do with MIT "releases"; referred to
by things like X11R?.

What is on Ultrix 3.1 UWS 2.1 is roughly R3.

I hope this makes things clearer.


Jim Gettys
Digital Equipment Corporation
Cambridge Research Laboratory