On Saturday 28 October 2000 18:37, Thomas Dickey wrote:
> On Sat, Oct 28, 2000 at 02:02:06PM -0500, Fiber McGee wrote:
> > The message below from Daniel Fisher
> > <address@hidden> was forwarded by
> > the list moderator.
> >
> > >Is it possible to script lynx to perform a series of commands?
>
> 2.8.4dev.x does this
>
> -cmd_log=FILENAME
> log keystroke commands to the given file
> -cmd_script=FILENAME
> read keystroke commands from the given file (see
> -cmd_log)
>
Thanks Thomas,
That works great.
The only problem is when you invoke lynx with -cmd_script it expects a
terminal.
I've got a command that looks like this:
lynx -accept_all_cookies -trace -tlog -cmd_script=keystrokes \
http://website.com 2>log
Then i go back and look at the log file to see what happened.
However this needs to run on a cron.
Is there any way to do this without a terminal?
thanks again,
--
Daniel Fisher
Web Application Research & Development, Virginia Tech