a better lesskey helper

Carl Johan Gustavsson carl.gustavsson at bahnhofbredband.se
Fri Nov 9 13:22:25 PST 2007


Chuck Robey wrote:
> 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.
>
Hi

zless is a wrapper script that uses lesspipe.sh

Look into /usr/src/usr.bin/less/zless.sh :)

cjg


More information about the freebsd-current mailing list