At Tuesday, 10 February 2004, you wrote:

>On Mon, 9 Feb 2004, Harland Christofferson wrote:
>
>> i am still wrestling w/ running lynx from a cron job ...
>>
>>
>> i have tried:
>>
>> stty cols 160 rows 80
>
>stty is likely to be less effective than setting environment variables
>$LINES and $COLUMNS
>
>> lynx -cmd_script=myscript http://www.url.com > /dev/stty3 > outfile.
txt
>>


i have tried this however w/o success ... this is why i looked into 
piping it through /dev/tty3

in my cron job bash script, i have tried:

export LINES=80
export COLUMNS=160
lynx -cmd_script=myscript http://www.url.com > outfile.txt


there has to be something i am overlooking here. the outfile.txt 
has data from the navigation of the website in it. however, it looks 
like the entire web page is piped to the outfile using row and column 
parameters that are much lower than the ones exported. it appears 
that lynx is using parameters for standard output that are  smaller 
than the rows and columns of the webpage. the sizes i have selected 
in the cron job script i know to be sufficient to display an entire 
webpage from this site via lynx. i have seen this when runnin lynx 
in an xterm.

this is an interesting problem to me.










; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to