diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2006-09-19 00:44:51 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2006-09-19 00:44:51 -0400 |
commit | 29b077007f10f28f8e16ec608e490c0fc28e183a (patch) | |
tree | ae46c1681a7f87d70165531ae9e17978e56b50ea /samples | |
parent | 24a47fee30cfc3e2da82571f9c13c896a601a8df (diff) | |
download | lynx-snapshots-29b077007f10f28f8e16ec608e490c0fc28e183a.tar.gz |
snapshot of project "lynx", label v2-8-6pre_4
Diffstat (limited to 'samples')
-rw-r--r-- | samples/blue-background.lss | 2 | ||||
-rw-r--r-- | samples/lynx.lss | 2 | ||||
-rw-r--r-- | samples/mild-colors.lss | 2 | ||||
-rwxr-xr-x | samples/oldlynx | 20 |
4 files changed, 20 insertions, 6 deletions
diff --git a/samples/blue-background.lss b/samples/blue-background.lss index 7bc256b7..9c5d4925 100644 --- a/samples/blue-background.lss +++ b/samples/blue-background.lss @@ -35,13 +35,11 @@ tt: dim: gray: blue h1: bold: yellow: blue label: normal: magenta: blue value: normal: green: blue -high: bold: brightmagenta: blue q: normal: yellow: magenta small: dim: gray: blue big: bold: yellow: blue sup: bold: yellow: blue sub: dim: gray: blue -lh: bold: yellow: magenta # glitch fixes area: normal: lightgray: blue diff --git a/samples/lynx.lss b/samples/lynx.lss index 9349de72..2d02eb18 100644 --- a/samples/lynx.lss +++ b/samples/lynx.lss @@ -33,7 +33,6 @@ small: dim: default big: bold: yellow sup: bold: yellow sub: dim: gray -lh: bold: yellow: magenta li: normal: magenta code: normal: cyan cite: normal: cyan @@ -57,7 +56,6 @@ alert: bold: yellow: red whereis: reverse+underline: magenta: cyan # currently not used #value:normal:green -#high:bold:brightmagenta menu.bg: normal: black: lightgray menu.frame: normal: black: lightgray diff --git a/samples/mild-colors.lss b/samples/mild-colors.lss index 8f352ce5..2807e501 100644 --- a/samples/mild-colors.lss +++ b/samples/mild-colors.lss @@ -36,13 +36,11 @@ tt: normal: white: black h1: bold: cyan: black label: normal: cyan value: normal: cyan -high: bold: cyan q: normal: cyan small: dim: cyan big: bold: cyan sup: bold: cyan sub: dim: cyan -lh: bold: cyan code: normal: cyan span.htmlsrc_comment:normal:white 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} "$@" |