[Bug 208420] /usr/bin/less incorrectly displays long lines

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 31 14:15:09 UTC 2016


            Bug ID: 208420
           Summary: /usr/bin/less incorrectly displays long lines
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org

less in -current is terminally broken when handling long lines.

The problem is demostrated on the video:

First, more is called, it correctly scrolls the file from top to bottom.
Less, though, displays `END' right away like the file is shorter than terminal
height and does not let scroll at all. It only displays 5 last lines of the
file and a part of previous line.

The problem may also be reproduced when scrolling through `pstree` output with
a long of long commands running. less will skip lines and eat away long ones.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list