** Description changed:

  When tab completion sends output through a pager, it seemed to use more.
- Because less is better than more, I wanted it to use more instead,
+ Because less is better than more, I wanted it to use less instead,
  particularly so I can scroll in both directions.
  
  I initially made /bin/more a symlink to less (which would trigger its
  more-emulation mode, but that's still better than actual more), but this
  had no effect. As a result, I consulted the man page for bash. In the
  section on readline, there is a setting `page-completions` which says
  that when on (the default), readline will use a built-in more-like pager
  to page the results. This doesn't specify what happens when it is turned
  off, but I expected that instead of the built-in pager, it would use an
  external on, specifically the one specified in the PAGER environment
  variable. However, it instead simply dumps the results in the terminal.
  
  Please add some way to use PAGER as the pager for completion results.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: bash 4.3-14ubuntu1.1
  ProcVersionSignature: Ubuntu 4.4.0-75.96-generic 4.4.59
  Uname: Linux 4.4.0-75-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue May 16 18:42:43 2017
  InstallationDate: Installed on 2016-04-27 (384 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: bash
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1691314

Title:
  Completions should be paged through PAGER when `page-completions` is
  off

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1691314/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to