lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV colored lynx


From: Klaus Weide
Subject: Re: LYNX-DEV colored lynx
Date: Fri, 29 Nov 1996 20:11:30 -0600 (CST)

On Sat, 30 Nov 1996, Rob Partington wrote:
> Scott McGee (Personal) wrote:
    Scott> Is there a resource out there describing what can be
    Scott> done with the color on lynx? I recall a few discussions
    Scott> of it, but didn't save them since I had no colorized
    Scott> version.

    Rob> For the plain slang version or the (wondrous) styles version?
    Rob> ;-) With the plain slang, there's very little fine-grain
    Rob> colour customisation you can do.  You can say that colour
    Rob> 1=red (which will apply to links or something) but the plain
    Rob> slang version is merely a curses-style to slang-colour
    Rob> translator; eg bold=>red, bold+underline=>blue, etc.

    Rob> My styles patch is altogether more configurable, down to
    Rob> individual elements.  (class support a la CSS coming soon,
    Rob> full CSS support hopefully sometime in the future)

    Scott> Also, since with slang and (presumably) ncurses, we have
    Scott> such coloring, can (and should) we consider honoring HTML
    Scott> color requests such as (snip)
             <BODY BGCOLOR="#FFFF80" TEXT="#004080" LINK="#8080FF" 
                   VLINK="#800080" ALINK="#FF0080"> 
    Scott> What say ye?

    Rob> Yes, if I come up with a sensible mapping from the 16 ncurses
    Rob> colours to the 24 bit colour schemes that are allowed.  Also
    Rob> assuming that I can code something to avoid light purple on
    Rob> dark purple being magenta on magenta (I read Klaus's mail
    Rob> before replying to this, I'm not psychic).

I don't know which mail you are referring to (I am also not psychic :) ),
but here is another thing that you might want to consider for the
character-style system:

On the Linux console, you have no intensity bit for the background color,
that's already known and probably also a "feature" of many other systems.
But in addition, when switching the console to use a 512-character code
page (which is necessary e.g. for displaying Ethiopic characters), you
also lose the intensity bit for foreground color.  So every color 
combination where fg would differ from bg only by intensity makes text
invisible, when such a font is loaded.

So it is probably best not to assume that any intensity bit will be
honoured in all cases, or will have the desired effect.

   Klaus


;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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