From owner-freebsd-current@FreeBSD.ORG Wed Jul 18 20:04:36 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 CF6D516A404 for ; Wed, 18 Jul 2007 20:04:36 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4A86113C491 for ; Wed, 18 Jul 2007 20:04:36 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 6CA4C690D5D; Wed, 18 Jul 2007 20:58:38 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 2B58F690D8E; Wed, 18 Jul 2007 20:58:38 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00, DATE_IN_PAST_03_06,FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from epsilon.local (62.169.111.86.rev.optimus.pt [62.169.111.86]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id F3384690D5D; Wed, 18 Jul 2007 20:58:35 +0100 (WEST) Message-ID: <469E2F53.9040805@fnop.net> Date: Wed, 18 Jul 2007 16:18:43 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.4 (X11/20070704) MIME-Version: 1.0 To: d@delphij.net References: <469D651C.6080504@fnop.net> <469D6D3A.6070408@delphij.net> In-Reply-To: <469D6D3A.6070408@delphij.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP 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 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 20:04:36 -0000 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