From owner-freebsd-ports@FreeBSD.ORG Tue Aug 12 06:32:29 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA5337B405 for ; Tue, 12 Aug 2003 06:32:29 -0700 (PDT) Received: from hotmail.com (bay8-f87.bay8.hotmail.com [64.4.27.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCD2643F85 for ; Tue, 12 Aug 2003 06:32:28 -0700 (PDT) (envelope-from evantd@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 12 Aug 2003 06:32:28 -0700 Received: from 12.229.123.246 by by8fd.bay8.hotmail.msn.com with HTTP; Tue, 12 Aug 2003 13:32:27 GMT X-Originating-IP: [12.229.123.246] X-Originating-Email: [evantd@hotmail.com] From: "Evan Dower" To: allbery@ece.cmu.edu Date: Tue, 12 Aug 2003 06:32:27 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Aug 2003 13:32:28.0694 (UTC) FILETIME=[2CC5E360:01C360D6] cc: freebsd-ports@freebsd.org Subject: Re: fcrontab and script command nonexecution X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 13:32:29 -0000 [CC'ing the list so that others may benefit if they have similar problems] I would consider this to be a desirable feature. Also, I notice that it is not documented in script(1). I would very much like to keep the script calls, since they allow me to have the output sent to me and store a copy in a few well organized file for more detailed perusal. Perhaps I'll take a look at the script code and see if I can divine a way to make it not dependent on a terminal. Thanks very much, E >From: "Brandon S. Allbery KF8NH" >To: "Evan Dower" >Subject: Re: fcrontab and script command nonexecution >Date: Tue, 12 Aug 2003 03:55:19 -0400 > >On Tuesday 12 August 2003 01:09, Evan Dower wrote: > > I wrote a script to do a -current build (and it works from the command > > line), but when I put it in my fcrontab, the calls to script don't seem >to > > call their command argument. Any input would be greatly appreciated. A > >"script" expects to be connected to a terminal, and will malfunction when >invoked without one (as cron does). > >In this kind of situation I run the script with "sh -x"; the result doesn't >really look that much like the output of "script" but is generally usable. > >-- >brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net >system administrator [WAY too many hats] allbery@ece.cmu.edu >electrical and computer engineering KF8NH >carnegie mellon university ["better check the oblivious first" -ke6sls] > _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail