Bug 1954859 - Some missing colour with less -R
Summary: Some missing colour with less -R
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: 34
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Matej Mužila
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-04-28 22:47 UTC by Peter Oliver
Modified: 2021-05-08 01:34 UTC (History)
10 users (show)

Fixed In Version: less-581.2-1.fc34
Doc Type: ---
Doc Text:
Clone Of:
Last Closed: 2021-05-08 01:34:14 UTC
Type: Bug

Attachments (Terms of Use)

Description Peter Oliver 2021-04-28 22:47:24 UTC
Description of problem:
Colour is missing in some places when using less.

Version-Release number of selected component (if applicable):

How reproducible:
Always, but not in all places in a given file.

Steps to Reproduce:
1. ack foo [this is piped to less]
2. ack --nopager foo [this goes straight to the terminal]
3. Compare the outputs

Actual results:
Some of the colour is missing when piped to less.

Expected results:
Both look the same.

Additional info:
I tried this with the latest release, 581.2, and the bug was gone.

Comment 1 Rob Foehl 2021-05-04 07:28:49 UTC
Hit the same issue, with grep output going entirely missing due to its use of \e[K line-clearing sequences.  See https://github.com/gwsw/less/issues/140 for details.

Comment 2 Fedora Update System 2021-05-06 09:36:32 UTC
FEDORA-2021-50ffffcdd9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-50ffffcdd9

Comment 3 Fedora Update System 2021-05-07 02:07:21 UTC
FEDORA-2021-50ffffcdd9 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-50ffffcdd9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-50ffffcdd9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-05-08 01:34:14 UTC
FEDORA-2021-50ffffcdd9 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.