mvh@cfashap.harvard.edu (Mike Van Hilst) (08/22/89)
My application has a problem with the server on VAXstation 2000's which does not occur with the server on Sun 3's or DECstation 3100's (both server flavors and Motif). When I call XAllocColorCells() to reserve 200 cells in the default color map (contig=0, nplanes=0), VS2000's return 1 as the status and the first 200 pixels_return are set to their indexes (0-199). When I try to do XStoreColors() for those cells, no colors change. The machine on which I run the application makes no difference. Actually, once when I connected to the VAX server from my Sun 3/60, most of the objects on the screen turned black (my application starts with a gray scale with black for low values) and then the session manager terminated all applications on the screen. But usually nothing happens. The problem is exhibited by both 2.2 and 3.0 Ultrix GPX servers. Colors obtained by XAllocColor() are correct and correctly displayed. Can somebody point me towards the solution? Mike VanHilst Smithsonian Astrophysical Observatory mvh@cfa.harvard.edu