[NTLUG:Discuss] Automating Lynx
Kenneth Loafman
ken at lt.com
Tue May 14 07:19:13 CDT 2002
Chris Cox wrote:
>
> Kenneth Loafman wrote:
>
> > It appears that one should be able to automate lynx with popen3(),
> > however, lynx seems to want to go directly to the console rather than
> > stdin. I seem to remember a mechanism to fool it, but its been a long
> > time sine then, so I'm asking anyone here... Is it possible to script
> > lynx?
>
> I guess there could be a reson to do this.... I would use Tcl expect.
> http://expect.nist.gov/
>
> However... it all depends on what needs to be done... for many tasks,
> wget may be sufficient.
>
> I'm curious... what exactly are you trying to do?
Automate reporting of spam via SpamCop. Once I've determined its spam,
SpamCop does not allow me to fire and forget. It still wants a
multistep review process. For me, that's strictly a robotic exercise,
so what's the best robot, a computer. Lynx looked like the simplest
solution.
...Ken
More information about the Discuss
mailing list