From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id EAC5573B40 for ; Thu, 12 Mar 2015 15:25:11 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t2CFPCca011485 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 12 Mar 2015 08:25:12 -0700 (PDT) Received: from yow-rwoolley-lx.wrs.com (128.224.146.40) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.224.2; Thu, 12 Mar 2015 08:25:12 -0700 Message-ID: <5501AFD7.40906@windriver.com> Date: Thu, 12 Mar 2015 11:25:11 -0400 From: Rob Woolley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: References: <1425047544-4820-1-git-send-email-rob.woolley@windriver.com> In-Reply-To: <1425047544-4820-1-git-send-email-rob.woolley@windriver.com> X-Originating-IP: [128.224.146.40] Subject: Re: [PATCH 0/3] knotty: Add automatic pager support X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 15:25:13 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Hi, Just wanted to send out a ping to see if this enhancement is desired. It scratches an itch for me, but not sure how others feel about it. If there are any changes I can make or extra tests I can run, please let me know. Cheers, Rob On 02/27/2015 09:32 AM, Rob Woolley wrote: > The bitbake show_versions (-s) and show_environment (-e) commands provide > a lot of non-interactive output. Even experienced users will sometimes > forget to page the output. > > This series adds a feature to automatically page these commands when > using the knotty user interface. It doesn't affect any other commands > and is designed to work in a similar fashion to the auto-paging in git. > > This was tested with bitbake -s and bitbake -s | less (and -e) to ensure that > there were no regressions. This includes testing broken pipe conditions > caused by quitting the pager before the full output has been sent through > the pipe. > > knotty: Catch exceptions on broken pipes > lib/bb/ui/knotty.py | 43 ++++++++++++++++++++++++------------------- > 1 file changed, 24 insertions(+), 19 deletions(-) > > knotty: Do not log show_versions output > lib/bb/ui/knotty.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > knotty: Add automatic paging for bitbake -s and -e > lib/bb/ui/knotty.py | 46 +++++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 43 insertions(+), 3 deletions(-)