Skip to content

Automatically paginate bitbake -e output

Rob Woolley bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 1 patch 1 replyIn review

Patches in v2 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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