[Bug 2659] New: less doesn't query terminal size through serial connection.

bugzilla at busybox.net bugzilla at busybox.net
Mon Oct 4 23:51:47 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=2659

           Summary: less doesn't query terminal size through serial
                    connection.
           Product: Busybox
           Version: 1.17.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: rob at landley.net
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


If I run vi in an envioronment where the TTY doesn't know the screen size (such
as a serial console, or qemu's /dev/console with -nographic) it uses the ANSI
terminal size querying escape sequence to figure out how big the screen is. 
The xterm (or similar) at the other end replies with an escape sequence, and
all is well.

But less always gives me a height of 25 lines, it doesn't even try to query
when the TTY doesn't know the size, even though we've got code for it
elsewhere.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list