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

Re: passing xterm parameters


On Tue, Feb 03, 2004 at 12:52:26PM -0500, Harland Christofferson wrote:
> i have several lynx sessions that are being piped to text files, 
> i.e., lynx www.somewebpage.com > temp.txt. in order to capture the 
> entire web page, i have found that i have to run this from an xterm 
> session w/ the window opened to at least the row/column width of 
> the web page of interest. i wish to have these lynx sessions run 
> as a cron job without having to open an xterm session. i am sure 
> there are environment variables set for the number of rows and colunms 
> in the xterm session that are passed to lynx when lynx is called 
> from the xterm command line. how can i pass these parameters to lynx 
> such that the script can be started via a cron job and never have 
> to have an xterm session open?

$ COLUMNS=40 LINES=10 lynx www.blam.org

Be happy!

Reply to: