[systemd-bugs] [Bug 62130] New: [REGRESSION] LESS cannot be overriden anymore - breaks scrolling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 10 15:04:33 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=62130

          Priority: medium
            Bug ID: 62130
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: [REGRESSION] LESS cannot be overriden anymore - breaks
                    scrolling
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: lekensteyn at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

The following commit causes a regression here:

commit a4c41bf3fa905c38e6e4d159c13eed890d53838b
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Mar 7 21:28:09 2013 +0100

    pager: always override LESS

    https://bugzilla.redhat.com/show_bug.cgi?id=868383

    Primary reason to do this is to ensure "-e" works as intended, and is
    not ignored because the user set his own LESS variable.

I used to run LESS=R journalctl -ab (or LESS=RS, or ...) to change the behavior
of the piper to my needs. Mainly allowing me to use my mouse wheel to scroll
faster through the logs. With systemd 198, I am unable to override LESS to
achieve that goal.

As a workaround, I can use journalctl -ab | less -R, but then I lose colors.
Please allow overriding LESS again, fixing bug
https://bugzilla.redhat.com/show_bug.cgi?id=868383 can be done by educating the
user not to do stupid things with $LESS and/or by checking whether $LESS is
empty or not.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130310/1d13bae6/attachment.html>


More information about the systemd-bugs mailing list