From owner-freebsd-current@FreeBSD.ORG Wed Jul 18 01:30:56 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DDA816A407 for ; Wed, 18 Jul 2007 01:30:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 4318D13C4BA for ; Wed, 18 Jul 2007 01:30:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 5B7CBEB0C87; Wed, 18 Jul 2007 09:30:55 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id ahx67l43EEhA; Wed, 18 Jul 2007 09:30:52 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 98B73EB0B8D; Wed, 18 Jul 2007 09:30:50 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=pY/RNeqVf45Z8SA1VdD8hdLa+TE4/BdVFO/fl6tnIVw35zaZPSEiKNPNyGIoJxP3j X8fwIPHPIUkqQ16EHrmYw== Message-ID: <469D6D3A.6070408@delphij.net> Date: Wed, 18 Jul 2007 09:30:34 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Rui Paulo References: <469D651C.6080504@fnop.net> In-Reply-To: <469D651C.6080504@fnop.net> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig47D47AA9BE708676E0CF3256" Cc: current@freebsd.org Subject: Re: less -r broken with long lines X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 01:30:56 -0000 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 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--