On Wed, 18 Apr 2001 at 11:12pm (-0400), Wes Owen wrote:

> I'm trying to get lynx to parse a .html document and write it out to
> /tmp/file.txt.  So I used the command:
>
> /usr/bin/lynx -dump -nolist
> -term=vt100 /home/www/htdocs/index.html
>
> Which works great when I run it
> when I'm logging into the system, but when I try and run it from cron, I
> get the following message:
>
> Your terminal lacks the ability to clear the screen or position the cursor.
>
> How can I get around this?  I'm surprised lynx complains about a screen if
> I'm asking it to dump the file out to the screen!
>
> Thanks for any/all help.
>

Hi Wes,

        I use lynx in a similar way in a perl script and found taht even
with the -term= argument, unless environment variable TERM was set to
something 'acceptable' it still wouldn't work.  If i exported TERM=vt100
before calling lynx then everything worked as expected.  I guess that's a
bug really but it's pretty easy to work around.

M.

-- 
WebCentral Pty Ltd           Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road.           Network Operations - Systems Engineer
PO Box 4169, East Brisbane.                       phone: +61 7 3249 2557
Queensland, Australia.                            pgp key id: 0x900E515F



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to