> 
> I downloaded lynx 2.8.3dev22 patch today, applied it, did a make clean, 
> removed the config.cache, and did a configure and make.  The resultant 
> lynx now displays a background of black with blue lettered links and grey 
> letters static text - whereas before lynx displayed a grey background, 
> blue letters for links, and black letters for the static text.  This is 
> within a dtterm window on SPARC Solaris 2.6.  In both cases, I am using ncurses. 
>  
>  
> Is there some simple change I need to make to get lynx to revert the 
> background and foreground colors?  I see in the changes file the reference 
> to  

I'm assuming this is with the recent version of ncurses (patches since
December) - which has the assume_default_colors() function.  I did this
change about a month ago, and _thought_ I had it working properly (though
I'll double-check anyway).

> * use assume_default_colors() extension from upcoming ncurses 5.1 and related 
>   support to provide more flexible coloring.  If the user's configuration files 
>   do not specify "default", the default-color support is suppressed, and the 
>   displayed colors default to white/black.  The original behavior matches 
>   SVr4 curses, which assumes the default colors of the screen but does not 
>   ensure that they match the assumption -TD 
>  
> However, I am uncertain which configuration files I need to modify to 
> return to the previous behavior... 

It _should_ be the COLOR:0 value in lynx.cfg (but I just had a thought that
perhaps my long-ago logic to coordinate that with ncurses's color pair #0
might be the problem that you are seeing.  (Lynx assigns the normal text
to another color pair number to avoid letting the curses library force
its colors to the terminal's default foreground/background).

But try making that
        COLOR:0:default:default

(I'll look at this closer tonight)

> Larry W. Virden <mailto:[EMAIL PROTECTED]> 

-- 
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey

Reply via email to