From owner-freebsd-ports@FreeBSD.ORG Wed Dec 5 07:51:00 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CD0916A417 for ; Wed, 5 Dec 2007 07:51:00 +0000 (UTC) (envelope-from raj@csub.edu) Received: from mh0.csub.edu (mh0.csub.edu [136.168.1.94]) by mx1.freebsd.org (Postfix) with ESMTP id 687A013C447 for ; Wed, 5 Dec 2007 07:51:00 +0000 (UTC) (envelope-from raj@csub.edu) Received: from [192.168.1.200] (adsl-75-15-254-8.dsl.bkfd14.sbcglobal.net [75.15.254.8]) (authenticated bits=0) by mh0.csub.edu (8.13.8/8.13.8) with ESMTP id lB57ocGl068177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Dec 2007 23:50:40 -0800 (PST) (envelope-from raj@csub.edu) Message-ID: <47565847.3030302@csub.edu> Date: Tue, 04 Dec 2007 23:50:31 -0800 From: Russell Jackson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.3) Gecko/20070421 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Doug Barton References: <20071128013623.GA48799@belle.0lsen.net> <475488D8.2090301@FreeBSD.org> <20071203231312.GA1449@ted.stsp.lan> <47561B27.3020609@vadev.org> <4756433F.9050704@FreeBSD.org> In-Reply-To: <4756433F.9050704@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wes Morgan , freebsd-ports@freebsd.org, Ben Kelly Subject: Re: How to get portinstall to 'shut up' so I can run it in background X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 07:51:00 -0000 Doug Barton wrote: > Ben Kelly wrote: > >> Maybe I am doing something wrong, but I have never been able to get >> nohup to work correctly with portupgrade for this sort of this. For >> example: >> >> ianto# nohup portupgrade -a >& /tmp/port.log & > > You just want to do 'nohup portupgrade -a &' > output will be captured in nohup.out. > Ben is right. When you run portupgrade with nohup and background the process -- either with '&' or by ctrl-z followed with a bg -- it gets suspended until the job is brought back to the foreground. Portupgrade acts very strangely when it's not attached to a tty. -- Russell A. Jackson Network Analyst California State University, Bakersfield He asked me if I knew what time it was -- I said yes, but not right now. -- S. Wright