From owner-freebsd-current@FreeBSD.ORG Fri Nov 9 23:21:40 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 D951B16A418 for ; Fri, 9 Nov 2007 23:21:40 +0000 (UTC) (envelope-from SRS0=68d9047528ebe96f8f77d3e36ca6b246ad7197ea=514=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 1001613C4BF for ; Fri, 9 Nov 2007 23:21:39 +0000 (UTC) (envelope-from SRS0=68d9047528ebe96f8f77d3e36ca6b246ad7197ea=514=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id OIE73637; Fri, 09 Nov 2007 16:21:37 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 80D044500E; Fri, 9 Nov 2007 15:21:36 -0800 (PST) To: bv@wjv.com In-Reply-To: Your message of "Fri, 09 Nov 2007 17:45:31 EST." <20071109224531.GA58036@wjv.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1194650496_48742P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 09 Nov 2007 15:21:36 -0800 From: "Kevin Oberman" Message-Id: <20071109232136.80D044500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: X-To_Domain: wjv.com X-To: bv@wjv.com X-To_Email: bv@wjv.com X-To_Alias: bv 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 23:21:40 -0000 --==_Exmh_1194650496_48742P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Fri, 9 Nov 2007 17:45:31 -0500 > From: Bill Vermillion > Sender: owner-freebsd-current@freebsd.org > > The time has come the freebsd-current-request@freebsd.org said, to > talk of many things but all that was heard on Fri, Nov 09, 2007 at > 22:24 was whether pigs have wings - or: > > > Date: Fri, 09 Nov 2007 15:34:08 -0500 > > From: Chuck Robey > > Subject: Re: a better lesskey helper > > > 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. > > I've found that 'most' is quite handy. It decodes binaries when it > finds thems, it decompresses gzipped files. > > It's in /usr/ports/sysutils/most It also decompresses bz2s, allows moving to a specific line by number or to a percentage of the file, auto-sizes to the window size (on the fly), can split the display and show multiple files or multiple parts of one file, delete files, search either case sensitive or insensitive, and a lot more. I've been using it as my pager for about 20 years. most(1) is more than less(1). -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1194650496_48742P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHNOuAkn3rs5h7N1ERApy7AJ4n+gWVk2Vm7woiyBDrOnVl5iIfNACdGBv4 KLz0EnKgOESCKh80I/SJau0= =AV/y -----END PGP SIGNATURE----- --==_Exmh_1194650496_48742P--