Path: utzoo!attcan!uunet!munnari.oz.au!uhccux!ames!apple!snorkelwacker.mit.edu!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: Help with colormaps on Xr4 Message-ID: <9012010746.AA03498@Larry.McRCIM.McGill.EDU> Date: 1 Dec 90 07:46:26 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 > [...] but I still cannot seem to understand how to change colormaps > from the default. [...] I only can access the 16 colors in the > default colormap. It may be that your server does not permit you to access anything else. Run xdpyinfo and check the output for the availability of a PseudoColor or DirectColor visual. If all you have is a StaticColor visual, you can't get arbitrary colors out of it. (This is true of TrueColor and StaticGray as well. These three are the "static" visuals; you can't change colormaps for these ones. The other three, GrayScale and the two I suggested you search for, are "modifiable": you can store into them. I'd be glad to mail you the details; drop me a line.) > Also can anyone tell me what they think is the best documentation for > Xlib programming? Well, I just use the files in mit/doc/Xlib.... :-) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu