lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev calling lynx from xterm


From: Stef Caunter
Subject: Re: lynx-dev calling lynx from xterm
Date: Tue, 3 Feb 2004 21:28:18 -0500 (EST)

Two things occur to me.

Environment variables HAVE to be exported to be seen by
lynx.

Have you tried -dump to see if the lines don't get
truncated?

lynx -dump www.someurl.com > output.txt

__Stef

On Tue, 3 Feb 2004, Harland Christofferson wrote:

> 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
>

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

reply via email to

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