From owner-freebsd-current@FreeBSD.ORG Sat Nov 10 15:26:41 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DBB716A419 for ; Sat, 10 Nov 2007 15:26:41 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4426C13C48E for ; Sat, 10 Nov 2007 15:26:41 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 03CB92092; Sat, 10 Nov 2007 16:26:25 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id DBE2E208D; Sat, 10 Nov 2007 16:26:24 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id BD8EC8447B; Sat, 10 Nov 2007 16:26:24 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Chuck Robey References: <20071109222421.037E116A494@hub.freebsd.org> <20071109224531.GA58036@wjv.com> <4734EA16.5090800@chuckr.org> Date: Sat, 10 Nov 2007 16:26:24 +0100 In-Reply-To: <4734EA16.5090800@chuckr.org> (Chuck Robey's message of "Fri\, 09 Nov 2007 18\:15\:34 -0500") Message-ID: <86hcjuglzz.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: bv@wjv.com, freebsd-current@freebsd.org Subject: Re: a better lesskey helper 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: Sat, 10 Nov 2007 15:26:41 -0000 Chuck Robey writes: > That sort of behavior is (I think, I haven't yet checked most) what I > am suggesting be brought into less. Look, let me repeat, now that I > have gotten confirmation that I wasn't wrong (thanks to Carl). It's > this: > > 1: modify our lesspipe.sh, so that, in addition to the detection of > various tar archives (along with compression), it also detects various > elf images, and uses objdump to display the info. Less will keep the > current behavior on any other binaries it hits, only decoding the elf > images. > > 2) add 1 line to our /etc/csh.cshrc and /etc/profile (to cover those > sh and csh compatible shells) so that the lesspipe.sh functionality no > longer needs folks to remember zless. I don't think it's needed, but > if users ask for it, it would be trivial to code up a variable, like > LESS_WITHOUT_LESSPIPE, that if defined could even block out these > changes. I can't see why folks would not want it, but I'm not fanatic > over it. > > 3) remove zless. None of that will happen. You are free to use your own lesspipe.sh on your own system, or install sysutils/most from ports, but the base system's lesspipe.sh will not change, LESSOPEN will not be defined in the default environment, and zless will stay. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no