FAQ : Platform Support (Linux, Windows) : Q: Why do some VA Smalltalk colors show as black on UNIX?
Q: Why do some VA Smalltalk colors show as black on UNIX?
Problem
On UNIX, some of VA Smalltalk's basic colors like "pure dark grey", "pure dark brown", "pure dark red", "pure dark green", "pure dark magenta" and "pure dark cyan" show as black.
Cause
VA Smalltalk maps color names (like "pure dark red") to color values (RGB) using the standard X11 technique of a color mapping file (rgb.txt). On Windows an rgb.txt file is shipped with the product (<vastroot>\pkgsupt\rgb.txt). However on UNIX platforms, VA Smalltalk uses the system’s /usr/lib/X11/rgb.txt file (or whatever other file is setup for use by X11). In particular, the "pure ...." color names do not usually appear in this file.
Solution
You can augment the distributed /usr/lib/X11/rgb.txt file by adding entries that define the "pure ...." colors:
128 0 128 PureDarkMagenta
128 128 128 PureDarkGrey
128 128 0 PureDarkBrown
0 128 0 PureDarkGreen
128 0 0 PureDarkRed
0 128 128 PureDarkCyan
Last modified date: 01/29/2015