From owner-cvs-src Fri Mar 7 6: 4:38 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7045237B401; Fri, 7 Mar 2003 06:04:35 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15B6243FDD; Fri, 7 Mar 2003 06:04:31 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.8/8.12.8/Sunbay) with ESMTP id h27E4HRk057510 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 7 Mar 2003 16:04:19 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.8/8.12.8/Submit) id h27E4DJH057501; Fri, 7 Mar 2003 16:04:13 +0200 (EET) (envelope-from ru) Date: Fri, 7 Mar 2003 16:04:13 +0200 From: Ruslan Ermilov To: "Daniel C. Sobral" Cc: "David O'Brien" , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/less Makefile lesspipe.sh Message-ID: <20030307140413.GC56489@sunbay.com> References: <200303060435.h264Zmkk039395@repoman.freebsd.org> <20030306154915.GE55489@sunbay.com> <20030306181137.GB40027@dragon.nuxi.com> <20030306185824.GE78034@sunbay.com> <3E68989D.40005@tcoip.com.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline In-Reply-To: <3E68989D.40005@tcoip.com.br> User-Agent: Mutt/1.5.3i Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 07, 2003 at 10:03:25AM -0300, Daniel C. Sobral wrote: > Ruslan Ermilov wrote: [...] > >How do you expect people to know that we provide lesspipe.sh and > >they should set to LESSOPEN=3D/usr/bin/lesspipe.sh to explore it? > >The answer is to document this (hint: this can easily be done by > >compile-time adding the FreeBSD-specific section to the otherwise > >stock vendor file), where you can document the fact that FreeBSD > >provides /usr/bin/lesspipe (without .sh) suitable for LESSOPEN. >=20 > Actually, if we are going to install a lesspipe, I suggest we add=20 > LESSOPEN to login.conf. Otherwise, I really don't see much of a point. >=20 Same thoughts. And if we do, nothing precludes as from putting this script under /usr/libexec (where it should have been put to originally, according to the hier(7) philosophy), and to strip the extension. The latter I don't care much about, but we do this for the rest of our shell scripts. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --UFHRwCdBEJvubb2X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+aKbcUkv4P6juNwoRAjqvAJ0SWtcUvhvyaqR51EIsdlsnf0+NcQCeP9W+ hw4eARBNzwfGfOh3D1BuZDE= =YF8k -----END PGP SIGNATURE----- --UFHRwCdBEJvubb2X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message