<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9203</bug_id>
          
          <creation_ts>2016-03-03 09:36:57 +0000</creation_ts>
          <short_desc>Automatically paginate bitbake -e output</short_desc>
          <delta_ts>2021-06-17 15:23:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59661</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-03-03 09:36:57 +0000</bug_when>
    <thetext>Git automatically uses a pager (less, by default) to paginate certain subcommands with long output  — we should consider adding this feature to bitbake and using it for -e and possibly -S</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74353</commentid>
    <comment_count>1</comment_count>
    <who name="Diana Thayer">garbados</who>
    <bug_when>2017-06-19 21:58:26 +0000</bug_when>
    <thetext>If I understand correctly, this issue says that:

- `bitbake -e` should use a pager like less, such that it resembles `bitbake -e | less`
- make the pager configurable, so you can use something besides less.
- `bitbake -S` should also use a configurable pager?

What environment variables should be used to determine the pager?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74365</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-06-20 10:06:38 +0000</bug_when>
    <thetext>The standard variable is &quot;PAGER&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74558</commentid>
    <comment_count>3</comment_count>
    <who name="Diana Thayer">garbados</who>
    <bug_when>2017-06-26 23:39:14 +0000</bug_when>
    <thetext>There&apos;s been some pushback about building pager support into bitbake, in favor of retaining the current approach of allowing the user to pipe to a paginator themselves.

And there seems to be a precedent on pagination:

http://lists.openembedded.org/pipermail/bitbake-devel/2015-March/005545.html

Are we sure this is a feature we want?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90690</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-06-17 15:23:42 +0000</bug_when>
    <thetext>git is mostly a non-interactive command, bitbake is different in that it can be longer running and interactive (e.g. knotty). I think having the user use a pager as/when necessary isn&apos;t too much of a hardship and avoids a ton of potential pitfalls.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>