Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 16:18:43 +0100
From:      Rui Paulo <rpaulo@fnop.net>
To:        d@delphij.net
Cc:        current@freebsd.org
Subject:   Re: less -r broken with long lines
Message-ID:  <469E2F53.9040805@fnop.net>
In-Reply-To: <469D6D3A.6070408@delphij.net>
References:  <469D651C.6080504@fnop.net> <469D6D3A.6070408@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
LI Xin wrote:
> Hi,
> 
> Rui Paulo wrote:
>> Hi,
>> There's something about how the new less version handles lines greater
>> than the virtual terminal's size.
>>
>> Test case on an xterm/rxvt/screen session:
>>
>> less -r /etc/syslog.conf  - you won't see the $FreeBSD$ id tag because
>> of the long line regarding to /var/log/messages. Try resizing your
>> terminal so that this line fits in the right number of columns. You'll
>> see the problem disappear.
>>
>> less -r /etc/rc.firewall - since there are no long lines in the first
>> page, you won't notice the problem
>>
>> Everything works fine if less is used without the -r argument or if less
>> is run from the console.
>>
>> Does this ring any bell to anyone?
> 
> Are you sure that this is not expected behavior?  I have tried less v394
> on a 6.2-RELEASE box and it seems that the behavior is the same...

Well, if this is the expected behavior, I never noticed it before.

Sorry for the noise.
-- 
Rui Paulo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469E2F53.9040805>