From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1c26b8335f6da8a5 X-Google-Attributes: gidfee84,public From: Sharon Kraft Subject: Re: X Windows Colours Date: 1995/12/01 Message-ID: #1/1 X-Deja-AN: 120699773 references: <30BB7544.41C6@golay.med.unc.edu> <30BD5E3D.2A0E@pi.net> content-type: TEXT/PLAIN; charset=US-ASCII organization: University of New Hampshire - Durham, NH mime-version: 1.0 reply-to: slk@hopper.unh.edu newsgroups: comp.unix.osf.osf1 Yes, there is a work-around: On Wed, 29 Nov 1995, chefren wrote: > Gernot M. Fuchs wrote: > > > > Hello, > > > > I'm experiencing problems with colour mapping on my DEC Alphas running > > OSF1 3.2 and Digital Unix respectively. When running Netscape on these > > machines, it seems there are too view colours available to display the > > graphics provided by the servers without dithering. Any other machine > > here (SGI, Linux-PC and SUN) does this properly with Netscape. > > > > My question is: Am I doing something wrong with my X-Server, or is this > > a general limitation of the DEC X-Servers, or is this a Netscape > > Problem? > > > > IF SOMEONE KNOWS A SOLUTION FOR THIS PROBLEM: PLEASE HELP, I'M TRYING FOR > MONTHS!!! > No it's not really a Netscape problem, except that Netscape tries to add lots to the default color map. And I may not be using the exact correct terms, but have encountered in several applications in the past the limited number of 'active' colors available in the Digital UNIX color map. (Makes for some very interesting pictures with color substitution.) But buried in the Netscape help is the -install command line option, which causes Netscape to use a private colormap, and get all its colors right. Has the side effect that it makes all the background colors of the inactive windows into unusual color combinations, but that's kind of interesting too. One caveat, see further below. >From the Netscape help file: Command line options See the online release notes for more information. -help (lists all options) -geometry =WxH+X+Y (to position and size the window) -visual (to use a specific server visual) -install (to install a private colormap) <-- here's the one! -no-install (to use the default colormap) -ncols (when not using -install, set the maximum number of colors to allocate for images) -mono (force 1-bit-deep image display) -xrm (to set a specific X resource) -remote (to execute a command in an already-running Netscape process) -id (the id of an X window to send the -remote commands; if unspecified, the first window found is used) Here's the caveat, from the release notes: Applets will not display correctly on 8-bit visuals if you use the -install flag. ___________________________________________________________________________ | "There are many people that are quite sure that they are not confused, | | but they are in fact totally confused." | | | | "Call Them Irresistible" - Philip Anderson (1995, Princeton) | | | | slk@hopper.unh.edu slk@snakes.unh.edu | | http://pubpages.unh.edu:80/~slk s_kraft@unhe.unh.edu | |___________________________________________________________________________| PGP Key fingerprint = E2 D0 B2 F9 4D 91 7C 91 AE 38 62 F3 F3 33 E0 0B