a better lesskey helper

Kevin Oberman oberman at es.net
Fri Nov 9 15:21:40 PST 2007

> Date: Fri, 9 Nov 2007 17:45:31 -0500
> From: Bill Vermillion <bv at wjv.com>
> Sender: owner-freebsd-current at freebsd.org
> The time has come the freebsd-current-request at 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 at chuckr.org>
> > Subject: Re: a  better  lesskey  helper
> > Dag-Erling Sm??rgrav wrote:
> > > Nikolay Pavlov <qpadla at 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 at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071109/b7ae9aa4/attachment.pgp

More information about the freebsd-current mailing list