From owner-freebsd-questions Sun May 23 12:49: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hades.riverstyx.net (hq-port-89.harbour-dhcp-pool.infinetgroup.com [207.23.37.89]) by hub.freebsd.org (Postfix) with ESMTP id 1065814E44 for ; Sun, 23 May 1999 12:49:00 -0700 (PDT) (envelope-from unknown@riverstyx.net) Received: from localhost (unknown@localhost) by hades.riverstyx.net (8.9.3/8.9.3) with ESMTP id MAA14922; Sun, 23 May 1999 12:56:08 -0700 Date: Sun, 23 May 1999 12:56:08 -0700 (PDT) From: To: Shaun Cc: Ben Smithurst , Kit Mitchell , questions@FreeBSD.ORG Subject: Re: Cron and Lynx In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ] [-t ] [-i ] [-c ] [-C ] [-p ] [-o ] ... 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