Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Nov 2007 15:21:36 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        bv@wjv.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: a better lesskey helper 
Message-ID:  <20071109232136.80D044500E@ptavv.es.net>
In-Reply-To: Your message of "Fri, 09 Nov 2007 17:45:31 EST." <20071109224531.GA58036@wjv.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_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 <bv@wjv.com>
> 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 <chuckr@chuckr.org>
> > Subject: Re: a  better  lesskey  helper
> 
> > Dag-Erling Sm??rgrav wrote:
> > > Nikolay Pavlov <qpadla@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071109232136.80D044500E>