Re: lynx upgrade issue?
Thomas Dickey <dickey@radix.net> wrote:
TD> On Thu, Jul 31, 2008 at 08:00:21PM +0200, i'll teach you to turn away. wrote:
>> there's nothing in there about color_style. in fact, the only
>> thing in the entire directory about color_style is in
>> /etc/lynx-cur/lynx.cfg.dpkg-dist, whatever that is. & it's already
>> commented out:
>> #COLOR_STYLE: lynx.lss
TD> The commented-out values correspond (or should...) to the default values
TD> compiled into lynx.
...but i don't want the default values. isn't that the point?
>> COLOR_STYLE: ~/.lynx/colors
TD> The data in the COLOR_STYLE file is organized differently from lynx.cfg
yes, i agree... so how do i get them to relate?
TD> The "oldlynx" script (which may be part of the package) suppresses the
TD> color-style file, which makes it look very close to the old version.
ok, but how do i make it recognize this, or...? my apologies, i'm
a bit lost on what to do next.
TD> For reference (the script):
TD>
TD> #!/bin/sh
TD> # invoke lynx built with color-style, overriding the color options to use the
TD> # non-color-style scheme -TD
TD>
TD> my_cfg=${TMPDIR:-/tmp}/lynxcfg$$
TD> trap "rm -f $my_cfg" 0 1 2 5 15
TD>
TD> rm -f "$my_cfg"
TD> echo "DEFAULT_COLORS:off" >>$my_cfg
TD> if test -n "$LYNX_CFG" ; then
TD> echo "include:$LYNX_CFG" >>$my_cfg
TD> fi
TD> echo "COLOR_STYLE:" >>$my_cfg
TD> echo "NESTED_TABLES:off" >>$my_cfg
TD>
TD> LYNX_CFG=$my_cfg
TD> export LYNX_CFG
TD> unset LYNX_LSS
TD>
TD> ${LYNX_PROG-lynx} "$@"
lish
crank@got.net
Reply to: