[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TERM=vt100 for lynx in rules ?



Package: lynx
Version: 2.8.3-1
Severity: normal

On Fri, Oct 27, 2000 at 10:37:54AM +0900, Taketoshi Sano wrote:
> The debian/rules of ph2v23 has 
> 
>   lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text
> 
> But lynx do not work without TERM setting if build is started as a batch process
> (using "at" for ex.)
> 
> Can you use this patch for debian/rules ?
[...]
> -       lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text
> +       TERM=vt100 lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text
[...]
>    lynx -dump -nolist debian/local/XFree86-FAQ.html >
> debian/local/XFree86-FAQ.text
> 
>    Your terminal lacks the ability to clear the screen or position the
> cursor.
> 
>    make: *** [debian/stampdir/build] Error 1

This looks to me like a bug in lynx.  If it's running in dump mode it has
no reason to worry about terminal characteristics at all, except perhaps
the width.  If it can't get that it should assume 80 columns.

-- 
G. Branden Robinson             |
Debian GNU/Linux                |   Never attribute to malice that which can
branden@debian.org              |   be adequately explained by stupidity.
http://www.debian.org/~branden/ |

Attachment: pgpMmQ2COmBmw.pgp
Description: PGP signature


Reply to: