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

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig47D47AA9BE708676E0CF3256
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Hi,

Rui Paulo wrote:
> Hi,
> There's something about how the new less version handles lines greater
> than the virtual terminal's size.
>=20
> Test case on an xterm/rxvt/screen session:
>=20
> 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.
>=20
> less -r /etc/rc.firewall - since there are no long lines in the first
> page, you won't notice the problem
>=20
> Everything works fine if less is used without the -r argument or if les=
s
> is run from the console.
>=20
> 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...

Cheers,
--=20
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


--------------enig47D47AA9BE708676E0CF3256
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnW07OfuToMruuMARCkKKAJwI4gcNaS6lfnJdV3kpPHXowLakXwCfZ017
9Yt02WsFQYSA9koh2RQGiDc=
=DUxL
-----END PGP SIGNATURE-----

--------------enig47D47AA9BE708676E0CF3256--



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