Re: lynx upgrade issue?
- To: debian-user@lists.debian.org
- Cc: "i'll teach you to turn away." <crank@got.net>
- Subject: Re: lynx upgrade issue?
- From: Thomas Dickey <dickey@radix.net>
- Date: Thu, 14 Aug 2008 19:44:43 -0400
- Message-id: <[🔎] 20080814234443.GA14049@saltmine.radix.net>
- In-reply-to: <b0Dzz-4wL-11@gated-at.bofh.it>
- References: <b01NC-6Lx-21@gated-at.bofh.it> <b01NC-6Lx-23@gated-at.bofh.it> <b01ND-6Lx-25@gated-at.bofh.it> <b01ND-6Lx-27@gated-at.bofh.it> <b01ND-6Lx-29@gated-at.bofh.it> <b01ND-6Lx-31@gated-at.bofh.it> <b01ND-6Lx-33@gated-at.bofh.it> <b01ND-6Lx-35@gated-at.bofh.it> <b01NC-6Lx-15@gated-at.bofh.it> <b0Dzz-4wL-11@gated-at.bofh.it>
On Thu, Aug 14, 2008 at 07:30:17AM +0200, i'll teach you to turn away. wrote:
> Thomas Dickey <dickey@radix.net> wrote:
> TD> You don't have to run it with root: "oldlynx" is a script that calls lynx.
> TD> So you could put "oldlynx" in your path and just run it...
>
> $ oldlynx
> ./oldlynx: line 9: 3D/tmp/lynxcfg22579: No such file or directory
> ./oldlynx: line 13: 3D/tmp/lynxcfg22579: No such file or directory
> ./oldlynx: line 14: 3D/tmp/lynxcfg22579: No such file or directory
>
> Configuration file "3D3D/tmp/lynxcfg22579" is not available.
That's mime-encoding (a nuisance to get rid of unless your newsreader
understands the attachments). Here's another try (omitting the signature
which triggered the wrapping):
#!/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
http://invisible-island.net
ftp://invisible-island.net
Reply to: