From owner-freebsd-current@FreeBSD.ORG Thu Aug 2 14:41:23 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A056A16A418; Thu, 2 Aug 2007 14:41:23 +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 3B69013C459; Thu, 2 Aug 2007 14:41:23 +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 D7B80EB3F25; Thu, 2 Aug 2007 22:41:21 +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 OWcju0NAMfYY; Thu, 2 Aug 2007 22:41:09 +0800 (CST) Received: from charlie.delphij.net (unknown [221.221.170.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 600A0EB3AE9; Thu, 2 Aug 2007 22:41:09 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type; b=fkpBGDeHXTntLUj0joMErXYefRANIBrA/clrWBfzBioiF4SelIvRG/dpam1UkpfH8 QMtyEm0Xhq0gdzV/361Pg== Message-ID: <46B1ECFE.6070806@delphij.net> Date: Thu, 02 Aug 2007 22:41:02 +0800 From: Xin LI User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Daniel Eischen References: <20070729124116.GA4489@saltmine.radix.net> <20070729135024.GA473@saltmine.radix.net> <20070729144202.GA17101@saltmine.radix.net> <46ACA806.5030704@FreeBSD.org> <6eb82e0707290944s2531e32cuf50c9f7c60509070@mail.gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig68A6F677E1D1C49CD0C3BCFD" Cc: re@FreeBSD.ORG, Rong-en Fan , delphij@freebsd.org, current@freebsd.org Subject: Re: TERM={xterm-r5,xterm-r6} behaving badly with man(1) 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: Thu, 02 Aug 2007 14:41:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig68A6F677E1D1C49CD0C3BCFD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Daniel Eischen wrote: > On Mon, 30 Jul 2007, Rong-en Fan wrote: [...] > It looks like the less import broke this behavior (inhibiting ti/te > when invoked as more). See the changes between r1.7 and r1.8 of > contrib/less/screen.c. [...] > This seems to fix it: >=20 > Index: main.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /opt/FreeBSD/cvs/src/contrib/less/main.c,v > retrieving revision 1.9 > diff -u -r1.9 main.c > --- main.c 23 Jun 2007 15:28:00 -0000 1.9 > +++ main.c 30 Jul 2007 02:58:39 -0000 > @@ -165,7 +165,7 @@ > quit(QUIT_OK); > } >=20 > - if (less_is_more && get_quit_at_eof()) > + if (less_is_more || get_quit_at_eof()) > no_init =3D quit_if_one_screen =3D TRUE; This sounds reasonable to me, actually more(1) implies quit_at_eof. To re@, may I commit this change against -HEAD? Cheers, --------------enig68A6F677E1D1C49CD0C3BCFD 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 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGse0EOfuToMruuMARAne3AJ4632SA+n32cfchSIMNzyJJy7YKSwCfQ/fj QTsxY9e0Bwi6JTKN8Wxf9uk= =hFIG -----END PGP SIGNATURE----- --------------enig68A6F677E1D1C49CD0C3BCFD--