From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 13:18:31 2011 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 CBA51106564A for ; Fri, 21 Oct 2011 13:18:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 884648FC08 for ; Fri, 21 Oct 2011 13:18:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p9LDIUFJ034833; Fri, 21 Oct 2011 07:18:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p9LDIU1k034830; Fri, 21 Oct 2011 07:18:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 21 Oct 2011 07:18:30 -0600 (MDT) From: Warren Block To: Paul Macdonald In-Reply-To: <4EA12507.7090703@ifdnrg.com> Message-ID: References: <4EA12507.7090703@ifdnrg.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 21 Oct 2011 07:18:30 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: which ports require dialog during update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2011 13:18:31 -0000 On Fri, 21 Oct 2011, Paul Macdonald wrote: > Can i programmatically tell if user input is required? It might require reinventing the logic used by the ports system Makefiles. Or maybe there's a way to run make config-recursive but get dialog to immediately cancel any config screens that appear (redirect input from /dev/null?). Detect whether the output of that is not empty. 'make config-recursive' was already mentioned, but portupgrade has the -c and -C options, and running all the config screens before starting a build is automatic for portmaster.