On Sat, Jan 26, 2013 at 06:46:12PM +0100, [email protected] 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:
#!/bin/sh
# invoke lynx built with color-style, overriding the color options to use the
# non-color-style scheme -TD
my_cfg=${TMPDIR:-/tmp}/lynxcfg$$
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
fi
echo "COLOR_STYLE:" >>$my_cfg
echo "NESTED_TABLES:off" >>$my_cfg
LYNX_CFG=$my_cfg
export LYNX_CFG
unset LYNX_LSS
${LYNX_PROG-lynx} "$@"
--
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
_______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
