Package: less
Version: 418-1
Severity: normal

Hi,

Sometimes, when less displays a shorter line that is preceeded by
a longer line, the shorter line is padded with the overhanging
characters of the longer line. 

The problem I am reporting occurs intermittently, it can always be
worked around whenever it occurs by typing C-L (redraw screen).

Here is how I use less,

$ set | grep -i less
LESS='-g -i -j0 -M -q -z-2'
LESSCLOSE='/usr/bin/lesspipe %s %s'
LESSOPEN='| /usr/bin/lesspipe %s'
PAGER=less

Here is an example of the problem, the first paragraph shows the
correct display,

Aug  9 12:33:49 l1 qmail: 1249835629.590857 delivery 26: deferral: 
Connected_to_74.208.5.3_but_greeting_failed./Remote_host_said:_554_RBL_rejection:_http://www.spamhaus.org/query/bl?ip=66.153.99.131/
Aug  9 12:33:49 l1 qmail: 1249835629.591215 status: local 0/10 remote 7/20

and the next paragraph shows the incorrect display that less
sometimes produces,

Aug  9 12:33:49 l1 qmail: 1249835629.590857 delivery 26: deferral: 
Connected_to_74.208.5.3_but_greeting_failed./Remote_host_said:_554_RBL_rejection:_http://www.spamhaus.org/query/bl?ip=66.153.99.131/host_said:_554_RBL_rejection:_http://www.
Aug  9 12:33:49 l1 qmail: 1249835629.591215 status: local 0/10 remote 7/20

         1         2         3         4         5         6         7        7
1234567890123456789012345678901234567890123456789012345678901234567890123456789

In the above example, the width of my terminal is 80 columns, and
the overhanging long line is physically 199 characters wide.

The problem occurs in the third (logical) line that less displays,
where it can be said that the second (logical) line is 80 columns
wide, and the third (logical) line should be 39 columns wide, but
is incorrectly displayed as being 80 columns wide.

Thanks,
--
Jeffrey Sheinberg



-- System Information:
Debian Release: 5.0.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.26-2-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages less depends on:
ii  debianutils               2.30           Miscellaneous utilities specific t
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand

less recommends no packages.

less suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to