lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Re: Better color settings


From: Klaus Weide
Subject: lynx-dev Re: Better color settings
Date: Fri, 27 Nov 1998 10:42:12 -0600 (CST)

[ please include address@hidden in the reply]

On Wed, 25 Nov 1998, William Park wrote:
> On Sun, 22 Nov 1998, Klaus Weide wrote:
> > On Sat, 21 Nov 1998, William Park wrote:
> > 
> > > Hi,
> > > 
> > > I upgraded from lynx-2.6 to lynx-2.8.1.  I liked partial display of
> > > page while it is being downloaded.  
> > > 
> > > But, the default color scheme is a bit lame.  When I do search (/),
> > > lynx moves forward to the location, but the searched pattern is not
> > > highlighted.  When color is disabled (-color), the search works as
> > > expected.
> > 
> > Which operating system, and what kind of terminal?  Is thins in an xterm?
> > 
> > Is Lynx compiled with slang, ncurses, curses?  With --enable-color-style?
> > 
> > Do you have uncommented COLOR settings in lynx.cfg?
> 
> Oh yeah, my apology... I was in a hurry.  I am using Linux Slackware
> 3.3.  Lynx-2.8.1 was compiled with
>     ./configure --with-screen=ncurses --enable-default-colors
> The COLOR settings are enabled from ~/.lynxrc, and the system defaults
> in lynx.cfg are not changed.  I think my ncurses is a bit old
> (libncurses.so.1.9.9e); it came with the system.

That may be a problem; I don't know whether Tom (ar anyone) still is
testing against that version.  AFAIK the newer versions should be much
better supported.

Highlighting of search targets is done with a combination of
bold+reverse+underline attributes, at least if FANCY_CURSES is defined
(which should apply fur NCURSES).  See LYstartTargetEmphasis() in
LYCurses.c.  But how that actuall appears on the screen depends on the 
ncurses lib and on the terminfo data.

On the linux console, underline isn't actually supported as such, but
is simulated as a different color.  You may be able to set that to
a different color, and thereby make search targets visible, by using
`setterm -ulcolor', for example
   setterm -ulcolor bright magenta

    Klaus


reply via email to

[Prev in Thread] Current Thread [Next in Thread]