Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: xfish question Message-ID: <3648@helios.ee.lbl.gov> Date: 21 Aug 89 16:19:05 GMT References: <11419@polya.Stanford.EDU> <427@npiatl.UUCP> <1334@speedy.mcnc.org> Sender: usenet@helios.ee.lbl.gov Distribution: na Lines: 41 # In article <11419@polya.Stanford.EDU>, lma@polya.Stanford.EDU (Larry M. Augustin) writes: > > In article <1334@speedy.mcnc.org> jwb@mcnc.org.UUCP (Jack W. Buchanan Jr.) writes: > :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 > ::... > : > :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. > > I've made this sort of change in a number of programs. It's very easy > to do, but it's just as easy to query the display depth using > XDefaultDepth, and it makes the application much more portable. Weelll, I tried it on our Vaxstation 2000 4-plane color machines, and after it puts up the background water (aquamarine in color) with some bubbles, and it lowers itself to the bottom of the window stack, the whole system gets wedged. Soon, no one on the machine can do anything, AND the HALT button on the back doesn't even work! Has anyone else tried it on a VS2000 (4-plane color)? Running X11.3 with patches 1-9, Ultrix 3.0 _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory We don't need no signatures! f o d d e r