highlightColor support?

Martin Stubenschrott stubenschrott at gmx.net
Fri Mar 17 04:04:10 CET 2006


hi,

I just started using urxvt, an its really great, especially the searchable 
scrollback buffer rocks.

The only thing I am desperatly missing is support for a thing like xterm's 
highlightColor:

From the xterm man page:

       highlightColor (class HighlightColor)
               Specifies the color to use for the background of selected or
               otherwise highlighted text.  If not specified, reverse video
               is used.  The default is ``XtDefaultForeground.''


I am using a black-on-white terminal and used to highlight selected text with 
*highlightColor: #E0E0E0
in .Xdefaults (similar like mentioned in man 7 urxvt).

The result was, that highlighted text was with a very light gray background 
color, but the text was still black.

URxvt doesn't seem to support the highlightColor resource, so I had to change 
the colorRV resource with all other side effects. But the problem here is, 
that when I set colorRV to the same light color, I can't read anything on my 
black-on-white terminal, because the foreground color for reverse video 
always is inverted, so I get white foreground on light gray background :(

Is there any chance to support the highlightColor attribute to support real 
selection of the selected text background color, and with a heuristic to set 
the foreground color accordingly to the background color?

best regards,
-- 
Martin Stubenschrott




More information about the rxvt-unicode mailing list