lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Problems with lss - color style support


From: Ilya Zakharevich
Subject: Re: lynx-dev Problems with lss - color style support
Date: Thu, 22 Jul 1999 19:06:22 -0400
User-agent: Mutt/0.96.3i

On Thu, Jul 22, 1999 at 08:41:00AM -0500, Klaus Weide wrote:
> > >> 1) Is there a way to configure lynx (compiled with lss support) so that
> > >> the general background
> > >> gets a different color than black? (If not, I think this should be
> > >> possible in future releases)
> > >
> > >It should be possible, see the blue-background example, but you may have
> > >to add the background color explicitly to all styles in the .lss, and also
> > >specify a style for "normal" explicitly.
> > >
> > >You may use "default" in place of a color, but how that works out may
> > >depend on terminfo and ncurses version used.
> > 
> > The patch I sent several days ago:
> > 
> >   http://www.flora.org/lynx-dev/html/month0799/msg00546.html
> > 
> > enables exactly this (among many other things): 
> 
> Please clarify.  What do you mean with "exactly this"?
> Are you saying what I have described does not work without being
> "enabled" by your patch?

AFAIK, "style:bw-descr:default:default" means (on color display)
white:black without my patch (or whatever are 0:1 colors).  With my
patch it means the same - unless the

 default:ignored:fg_color:bg_color

line is present *below* the current line of .lss file.

> If I understand your patch right, it changes the meaning of "default"
> in the place of a fg or bg color.  Right?  If yes, this seems to
> conflict with the previous meaning of "default".  AFAIK, "default"
> means the same as in the non-lss color specifications: the "default"
> bg (or fg) as determined by ncurses and special terminfo capabilities
> if available.  (Tom knows more about that...)

See above.  Nothing should be changed by my patch - unless "default:*"
line is provided.

> Does it have to be the last line?  Why?

Since the .lss file is processed backwards.  :-(  [This may be changed
if the default:* directive is processed on the first pass, not on the
second pass.]

Together with INCLUDE: directive (added in the same patch) one can
write a short .lss

  INCLUDE:/usr/local/lib/lynx.lss
  default:normal:brightcyan:blue

and get the "same" scheme as in /usr/local/lib/lynx.lss but with a
different foreground/background.

Ilya

reply via email to

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