[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2044.0. "Where is the colo(u)r name file?" by WPOMM2::ZAMBOTTI () Tue Jan 16 1990 01:37

Hi people,

I would like to know where the color names file lives.  Sorry that I don't know
what it's offical name is!

What I need to know is where can I find a list of color names that will be
accepted by the XAllocNamedColor() function?  It seems there should be a .h
file somewhere with this, but I can't find it.

I remember seeing an entry in one of the conferences that made a reference to
its location but I can't even find that note.

Can anybody help ?

Walter Zambotti.
T.RTitleUserPersonal
Name
DateLines
2044.1dir sys$manager:*rgb*GOLLY::MILLERI need 'Deeper Understanding'Tue Jan 16 1990 06:119
                     <<< Note 2044.0 by WPOMM2::ZAMBOTTI >>>
                     -< Where is the colo(u)r name file? >-
    
    
Directory SYS$COMMON:[SYSMGR]

DECW$RGB.COM;1           20  26-OCT-1989 16:34:46.99  (RWED,RWED,RWED,RE)

Total of 1 file, 20 blocks.
2044.2or /usr/lib/X11/rgb.txt on UltrixWAIT::DESAIJatin DesaiTue Jan 16 1990 09:314
On ultrix it is /usr/lib/X11/rgb.txt

Jatin
2044.3Can't rely on those4GL::SCHOELLERWho&#039;s on first?Wed Jan 17 1990 22:396
These are a good guide but are not guaranteed to work.  The file is read by the
server.  If the server is not on the same host as the client (especially if the
client and server hosts come from different vendors) the set you can get may be
quite different.

Dick
2044.4WAIT::DESAIJatin DesaiThu Jan 18 1990 09:426
Correct me it I am wrong, but I thought you can only use named color that the 
server knows about. Any similar files on the client side does not come into 
picture at all.

Jatin
2044.5Not totally uselessCLTVAX::dickDick Schoeller - Failed XperimentThu Jan 18 1990 10:348
Jatin,

That's right.  However, most of the servers have approximately the same list
which came from the X11 tape (which came from the VT241 definitions, I think).
Therefore, you can use the client side info. (if it exists) to guess at what
might be available on your server.

Dick
2044.6XListNamedColors()??IOUONE::BRYSONTue Jan 23 1990 15:587
I have often wondered why there is not an X request to list the named colors known
to a server.  We have XListFonts, XListExtensions, XListHosts, ... but no listing
of the named colors know by a server.  I ran into this problem with v1.0 between
ULTRIX and VMS because the color databases differed.  Maybe one day...

David