From owner-freebsd-current@FreeBSD.ORG Fri Nov 9 21:22:25 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 2294F16A46D for ; Fri, 9 Nov 2007 21:22:25 +0000 (UTC) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by mx1.freebsd.org (Postfix) with ESMTP id 044C813C4BB for ; Fri, 9 Nov 2007 21:22:24 +0000 (UTC) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from localhost (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 0A77715598C; Fri, 9 Nov 2007 21:57:00 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([127.0.0.1]) by localhost (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QmrkUpW4zgs9; Fri, 9 Nov 2007 21:56:53 +0100 (CET) Received: from sleipner.home.swe (c213-100-49-167.swipnet.se [213.100.49.167]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 0DBEA1557E7; Fri, 9 Nov 2007 21:56:52 +0100 (CET) Message-ID: <4734C997.4090205@bahnhofbredband.se> Date: Fri, 09 Nov 2007 21:56:55 +0100 From: Carl Johan Gustavsson User-Agent: Thunderbird 2.0.0.6 (X11/20071014) MIME-Version: 1.0 To: Chuck Robey References: <4733AA45.6030905@chuckr.org> <200711091309.56463.qpadla@gmail.com> <86lk97k54b.fsf@ds4.des.no> <4734C440.4070100@chuckr.org> In-Reply-To: <4734C440.4070100@chuckr.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: 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: Fri, 09 Nov 2007 21:22:25 -0000 Chuck Robey wrote: > Dag-Erling Smørgrav wrote: >> Nikolay Pavlov writes: >>> There is already such a file there. You just need to proper set an >>> environment: setenv LESSOPEN '|lesspipe.sh %s' >> >> zless will do that for you. >> >> DES > Now I'm getting a bit confused. I know you from long before, and I > know you wouldn't make mistakes easily. MY zless here doesn't decode > executables and libs, but there's no man page, and zless --help gives > only the standard less help info, so I don;'t know what zless does > that less didn't do before I changed out the lesspipe.sh on my local > system. > > I really wouldn't want to bother folks anymore on this if I'm all wet? > Does your less not decode tar.gz things? What does your zless do that > your less doesn't? Does either your zless or your less decode > executables and libraries (via a objdump pipe)? > > I gotta admit, I'd never heard of zless. > Hi zless is a wrapper script that uses lesspipe.sh Look into /usr/src/usr.bin/less/zless.sh :) cjg