lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Lynx colors


From: Laura Eaves
Subject: Re: lynx-dev Lynx colors
Date: Thu, 10 Sep 1998 23:35:42 -0400 (EDT)

The way you specify colors in lynx depends on
how lynx was configured when it was built.
If it was configures with --enable-color-style,
you need to create a file -- say, lynx.lss -- containing
color specs for various html elements.  (For a sample lynx.lss,
see the samples subdirectory.)  Then run lynx as follows:
        lynx -lss=lynx.lss

If your lynx was not configured for color styles, you can still
define COLOR specs in lynx.cfg.  (Edit lynx.cfg and search for COLOR.
Read the comments to see how to specify colors.)  These define
colors for various attributes: for example, normal text, or combinations of
bold/reverse/underline.

If you are not the one who built lynx to begin with,
you can find the lynx.cfg used by your ISP by running lynx -trace.
The location of lynx.cfg (usually /usr/local/lib/lynx.cfg) is near the beginning
of the trace output.
Edit this file as desired and put it in a local file. Then run
        lynx -cfg=mylynx.cfg

Now, after all that, I've found that  defining the background
color to be anything but black for normal text yields unexpected
results.

Good luck.  Hope that helps.
--le

PS: lynx needs to be compiled with ncurses or slang to handle colors.

reply via email to

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