Hi!

I need to use lynx in an ip-up.d script to update certain files
everytime a user goes online (daily at most):

For downloading the file I use lynx with:

        lynx -dump -width=100000 $URL > $dest

unfortunatly this does not work since lynx really wants a terminal
(for no reason imho):

lynx prints the following to stderr and exits:

        Your terminal lacks the ability to clear the screen or position the 
cursor.

Does somebody have any hints on how to workaround this lynx feature?



You can easily test it with:

        ssh localhost lynx -dump http://localhost/
                (or any other URL)

since ssh with a command and without the -t switch does not allocate a
terminal on the remote site.



I prefer using lynx over wget since lynx is Priority: standart and
wget is optional.

Thanks in advance.

                                        yours,
                                        peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/

Attachment: pgpktNzI85woj.pgp
Description: PGP signature

Reply via email to