From owner-freebsd-questions@FreeBSD.ORG Sun Feb 7 19:32:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA8341065694 for ; Sun, 7 Feb 2010 19:32:40 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-15.bnguk.net (atmail-15.bnguk.net [80.74.253.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD8C8FC15 for ; Sun, 7 Feb 2010 19:32:40 +0000 (UTC) Received: from 77-44-105-82.xdsl.murphx.net ([77.44.105.82] helo=orange.esperance-linux.co.uk) by atmail-15.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1NeCri-000415-DO; Sun, 07 Feb 2010 19:32:18 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 48C824AC20; Sun, 7 Feb 2010 19:32:16 +0000 (GMT) Date: Sun, 7 Feb 2010 19:32:16 +0000 From: Frank Shute To: n dhert Message-ID: <20100207193216.GA59358@orange.esperance-linux.co.uk> Mail-Followup-To: n dhert , freebsd-questions@freebsd.org References: <8021a2661002070359g6c23344cq744a843024ebf565@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8021a2661002070359g6c23344cq744a843024ebf565@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.0-RELEASE-p2 amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade, batch mode? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 19:32:40 -0000 On Sun, Feb 07, 2010 at 12:59:53PM +0100, n dhert wrote: > > When using portupgrade, from time to time, there is a package that displays > an options menu and waits for a interactive response (like hitting OK to > accept the defaults and continue). Is there way to specify that portupgrade > should always accept the defaults and not wait for user input? What I do when portupgrading something that will require user input in an options menu is to use the -C switch to portupgrade. This enables you to twiddle with the options of all the ports before the main build starts. If you know that you want to use the defaults, then you can use the the --batch switch or put BATCH="yes" in make.conf IIRC. But IMHO, remembering to always give portupgrade the -C switch is the way to go. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html