Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ll-xn!mit-eddie!husc6!bbn!diamond.bbn.com!mlandau From: mlandau@bbn.com (Matt Landau) Newsgroups: comp.windows.x Subject: Re: Xtk on Sun 3/50 does it work? Message-ID: <10256@slate.BBN.COM> Date: Thu, 29-Oct-87 14:06:20 EST Article-I.D.: slate.10256 Posted: Thu Oct 29 14:06:20 1987 Date-Received: Wed, 4-Nov-87 01:35:38 EST References: <299@tropix.UUCP> <8710291421.AA28436@LYRE.MIT.EDU> Reply-To: mlandau@bbn.com (Matt Landau) Organization: BBN Laboratories Incorporated, Cambridge, MA Lines: 18 In comp.windows.x (<8710291421.AA28436@LYRE.MIT.EDU>), Ralph R. Swick writes: > > [In reference to "Bad source value for 'String' to 'Color' conversion > messages.] > >The most common cause for this problem is a missing or invalid rgb >database; check to make sure /usr/lib/X11/rgb.{dir,pag} exist (and check >server/include/site.h to verify the pathname wasn't changed). The -co >server command line argument will also point it at a different database. Nope. The toolkit programs ALWAYS give these error messages when run on a monochrome machine, even if the rgb database is there. The problem is that there's code in lib/oldXrm/XrmConvert.c that ought to be #ifdef'ed out. Comparing lib/oldXrm/XrmConvert.c with lib/Xrm/XrmConvert.c will show you which lines. -- Matt Landau Waiting for a flash of enlightenment mlandau@bbn.com in all this blood and thunder