Date: Sun, 23 May 1999 12:56:08 -0700 (PDT) From: <unknown@riverstyx.net> To: Shaun <shaun@thecore.com> Cc: Ben Smithurst <ben@scientia.demon.co.uk>, Kit Mitchell <kit@hypostasis.com>, questions@FreeBSD.ORG Subject: Re: Cron and Lynx Message-ID: <Pine.LNX.4.04.9905231254520.32075-100000@hades.riverstyx.net> In-Reply-To: <Pine.BSF.4.05.9905230952340.21975-100000@thecore.com>
next in thread | previous in thread | raw e-mail | index | archive | help
If I were you, I'd ditch the Lynx approach and use lwp-request from the libwww Perl module. NAME lwp-request, GET, HEAD, POST - Simple WWW user agent SYNOPSIS lwp-request [-aeEdvhx] [-m method] [-b <base URL>] [-t <timeout>] [-i <if-modified-since>] [-c <content-type>] [-C <credentials>] [-p <proxy-url>] [-o <format>] <url>... I've used it to good effect in similar situations. --- tani hosokawa river styx internet On Sun, 23 May 1999, Shaun wrote: > On Sun, 23 May 1999, Ben Smithurst wrote: > > > Exiting via interrupt: 15 > > > > Any idea where lynx could be getting that from? What could be sending > > lynx a SIGTERM while it's doing it's stuff? That could well be the > > problem. > > I have a different problem with lynx that is producing the exact > same error message. I posted a question to the "lynx-dev@sig.net" > mailing list about a week ago and got zero responses. Below is a > copy of my original question to them. > > --------------------------------------------------------------------- > I am attempting to automate some alpha pages to my beeper via a > cgi-bin app the beeper vendor has online. I wrote a little shell > script that looks like this: > > #!/bin/sh > # > echo "PIN=5551212&MSSG=$1" > /tmp/page > echo '---' >> /tmp/page > # > lynx -post_data < /tmp/page http://www.pagercom.com/cgi-bin/wwwpage.exe > > Here's the problem...This works great using version 2.7.1 of lynx, > which I have on one of my systems (luckily)...but it doesn't work > using version 2.8.1rel1 of lynx on another system I have here. Now > I originally had the lynx call looking like this: > > lynx -post_data http://www.pagercom.com/cgi-bin/wwwpage.exe < /tmp/page > > until I saw a message in the lynx mailing archives that suggested the > URL last on the cmdline for another problem involving -get_data, so > I figured, why not give it a shot. But either way fails with this > error message: > > Exiting via interrupt: 15 > > lynx: Can't access startfile http://www.pagercom.com/cgi-bin/wwwpage.exe > > The two systems are both running FreeBSD if that helps at all. > > Anyone have a clue why the newer version of lynx barfs on this? > Is there a better method to get this to work? Should this work? > > P.S. The URL in the above examples is ficticious. > --------------------------------------------------------------------- > > +-- http://www.download.net ------------- http://www.thecore.com --+ > | Shaun M. Finn TechnoCore Communications, Inc. | > | shaun@download.net Internet Web Services & Access | > | VOICE: (732)928-7400 P.O. Box 106 | > | FAX: (732)928-7402 Jackson, NJ 08527-0106 | > +------------------------------------------------------------------+ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.9905231254520.32075-100000>