This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: good .Xdefaults


Alexander Gottwald wrote:
The colors are defined in /usr/X11R6/lib/X11/rgb
If the file is not installed, broken or somehow the xserver tries to use
a different file then the colors are not defined.

I have a /usr/X11R6/lib/X11/rgb.txt. I also created a symbolic link, rgb->rgb.txt.


showrgb should print a lot of entries if everything is ok.

It does.


$ showrgb | grep black
  0   0   0             black

Still, I get Warning: Color name "black" is not defined.

Attention Thomas Dickey: By the way, there's a wrap-around error when that message is printed; it double-backs onto itself. TERM=xterm, latest Xorg, xterm, and terminfo.

Despite the warning, the colors do take effect! That is, my .Xdefaults contains
xterm*Foreground: white
xterm*Background: black


and the xterm gets the colors appropriately, although when it just starts, the background is washed white, and only turns to black after I do /usr/bin/clear.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]