Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!ncsuvx!mcnc!jwb
From: jwb@mcnc.org (Jack W. Buchanan Jr.)
Newsgroups: comp.windows.x
Subject: Re: xfish question
Message-ID: <1334@speedy.mcnc.org>
Date: 18 Aug 89 15:07:39 GMT
References: <427@npiatl.UUCP>
Reply-To: jwb@mcnc.org.UUCP (Jack W. Buchanan Jr.)
Distribution: na
Organization: Microelectronics Center of NC; RTP, NC
Lines: 28

In article <427@npiatl.UUCP> dkelly@npiatl.UUCP (Dwight Kelly) writes:
>Can xfish run on a 4-bit (16 color) display?  I am getting a X protocol
>error while creating the bitmap (invaild argument).  Do I need a 8-bit
>display to run xfish in the distributed form?
>
>--
>Dwight Kelly            UUCP: gatech!npiatl!dkelly
>Director R&D            AT&T: (404) 962-7220
>Network Publications, Inc    2 Pamplin Drive     Lawrenceville, GA  30245
>             Publisher of "The Real Estate Book" nationwide!

I have gotten this to work.  It's easy.  In the file xfish, about midway
through is the error message.  Change the planes <8 to <4.  This will stop
the error message.  Then there are two calls to something like 
XCreate_Window.  In the parameter list there are two 8s.  Change the first
one in each call to 4.  This is the depth of the display.  Incidently, since
I only had a monochrome ultrix vaxstation, I displayed on a 4 plane VMS
vaxstation 2000 and it worked fine (somewhat to my amazement).  To do this
set host from the VMS machine (server) to the ultrix client.  on ultrix
issue setenv DISPLAY YOUR_VMS_HOSTNAME::WSA0:  This will use the VMS machine
as the X server.  This will only work for ultrix (or other unix running
decnet) because the VMS X server doesn't yet know how to use tcp/ip as the
transport medium.
	Jack Buchanan
	Medicine and Biomedical Engineering
	UNC-Chapel Hill
	buchanan@odin.bme.unc.edu