[Top][All Lists]

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

Re: [Lynx-dev] Lynx Colors

From: Thomas Dickey
Subject: Re: [Lynx-dev] Lynx Colors
Date: Sat, 26 Jan 2013 14:30:15 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Jan 26, 2013 at 06:46:12PM +0100, address@hidden wrote:
> I would like to receive guidance on how to change the green links into
> blue links and how to change the yellow activated links into red
> activated links.

There is a script "oldlynx" which is part of the lynx sources (in the samples
directory) which does this (works for 99% of users...).  It is short, and
can be used as-is, or as a guide to customizing lynx:

# invoke lynx built with color-style, overriding the color options to use the
# non-color-style scheme -TD

trap "rm -f $my_cfg" 0 1 2 5 15

rm -f "$my_cfg"
echo "DEFAULT_COLORS:off" >>$my_cfg
if test -n "$LYNX_CFG" ; then
        echo "include:$LYNX_CFG" >>$my_cfg
echo "COLOR_STYLE:" >>$my_cfg
echo "NESTED_TABLES:off" >>$my_cfg

export LYNX_CFG
unset LYNX_LSS

${LYNX_PROG-lynx} "$@"

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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