[bitbake-devel] [PATCH v2 0/1] Automatically paginate bitbake -e output

Rob Woolley rob.woolley at windriver.com
Thu Jun 29 02:24:10 UTC 2017


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 enhancement 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.

This is an update of my previous patch from February 2015 and adds support
for Python 3 and utf-8.

PATCH v1: https://patchwork.openembedded.org/patch/89543/
YOCTO #9203: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9203


More information about the bitbake-devel mailing list