lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev calling lynx from xterm


From: Harland Christofferson
Subject: lynx-dev calling lynx from xterm
Date: Tue, 3 Feb 2004 17:06:08 -0500

i currently use lynx in a sript as follows:

lynx -cmd_script=myscript -term=vt100 www.someurl.com > output.txt

i have to run this script in an xterm that is large enough such that 
the COLUMNS and LINES environment variables are 163 and 80 resopectively 
to aquire all of the site content and pipe it to the output.txt file.


i wish to call this script from crontab. i tried changing the sript 
as follows:

COLUMNS=163 LINES=80 lynx -cmd_script=myscript -term=vt100 www.someurl.
com > output.txt

but it is as if the aforementioned environment variables are set 
to very small values as most of the data is missing from the piped 
output file (is like using lynx w/ a very small xterm window. 

how may i run lynx and spoof the COLUMNS and LINES environment variable 
values?

by the way, i have tried the -width=163 lynx parameter but this does 
not seem to help me.












; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]