From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RPyKS-0000uQ-5k for garchives@archives.gentoo.org; Mon, 14 Nov 2011 15:20:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F6B221C049; Mon, 14 Nov 2011 15:20:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BBFA221C03E for ; Mon, 14 Nov 2011 15:19:36 +0000 (UTC) Received: from [192.168.26.4] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 3B63E1B400B for ; Mon, 14 Nov 2011 15:19:36 +0000 (UTC) Message-ID: <4EC13187.7010908@gentoo.org> Date: Mon, 14 Nov 2011 07:19:35 -0800 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:7.0.1) Gecko/20111102 Thunderbird/7.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] have portage be quiet by default References: <4EBFBA75.3030500@gentoo.org> <1321188262-sup-4513@raeviah> <4EBFCD5D.3080807@gentoo.org> <1321194595-sup-8983@raeviah> <4EBFE727.8000903@gentoo.org> <4EC02CC0.9080907@gentoo.org> <4EC04E11.3060500@gentoo.org> <4EC0559C.4020806@gentoo.org> <4EC06E9D.4060803@gentoo.org> <4EC075F9.4070801@gentoo.org> <20111114082513.GA19456@fury> In-Reply-To: <20111114082513.GA19456@fury> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c0f36965-983b-4888-a7f3-5b9a62309cf2 X-Archives-Hash: ed46c194cadca9e6ec700192c4370b5f On 11/14/2011 12:25 AM, Alex Alexander wrote: > On Sun, Nov 13, 2011 at 05:59:21PM -0800, Zac Medico wrote: >> Well, it's much easier to gather interest and get feedback if we deploy >> the change and ask questions later. > > What if we tried solving this problem by providing more options instead > of trying to guess what the users want? :) > > Imagine the following output (when jobs == 1): > >>>> Verifying ebuild manifests >>>> Emerging (1 of 1) www-client/chromium-16.0.912.36 >>>> Quiet building enabled. Enable for [P]ackage or [S]ession. [L]earn more. >>>> Jobs: 0 of 1 complete, 1 running Load avg: 0.23, 0.18, 0.10 > > Pressing P would only show the log for the actively built package. > Pressing S would show all the logs for this session, starting with the > active one. > > Pressing L would print out a short set of instructions, something > like: > > "To make portage output easier to track and understand, --quiet-build > has been enabled by default. You may restore the old, verbose behavior > temporarily by using the P and S commands, or permanently by adding > '--quiet-build=n' to your make.conf's EMERGE_DEFAULT_OPTS." > > I believe many users would appreciate the ability to output logs on > demand. :) I think that would be an interesting option. We could put stdin in raw mode, like dispatch-conf does, in order to read single characters of input instead of whole lines. I can imagine that this option wouldn't be desired by some people, if only because emerge would consume all keystrokes from the input buffer. In the past we had a few portage releases that consumed keystrokes like that (it was part of the support for interactive ebuilds), and I recall someone (I think it was grobian) complaining because he had a habit of typing his next shell command before emerge had completed. -- Thanks, Zac