[Bug 1691314] Re: Completions should be paged through PAGER when `page-completions` is off
Launchpad Bug Tracker
1691314 at bugs.launchpad.net
Tue Jun 25 15:27:38 UTC 2019
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: bash (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1691314
Title:
Completions should be paged through PAGER when `page-completions` is
off
Status in bash package in Ubuntu:
Confirmed
Bug description:
When tab completion sends output through a pager, it seemed to use
more. 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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1691314/+subscriptions
More information about the foundations-bugs
mailing list