diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-20 02:08:17 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-20 02:08:17 -0500 |
commit | bc0fa578036583231edb567b328b4f69ce6860fe (patch) | |
tree | 99b322070bf62270218a0d80257a1f50bbefe147 /samples/oldlynx | |
parent | bb5fd6e44e480f571bcb713788cc50eea44095e5 (diff) | |
download | lynx-snapshots-bc0fa578036583231edb567b328b4f69ce6860fe.tar.gz |
snapshot of project "lynx", label v2-8-8dev_11
Diffstat (limited to 'samples/oldlynx')
-rwxr-xr-x | samples/oldlynx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/samples/oldlynx b/samples/oldlynx new file mode 100755 index 00000000..11fde3b0 --- /dev/null +++ b/samples/oldlynx @@ -0,0 +1,20 @@ +#!/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} "$@" |