a better lesskey helper

Nikolay Pavlov qpadla at gmail.com
Sat Nov 10 08:40:07 PST 2007

On Saturday 10 November 2007 01:15:34 Chuck Robey wrote:
> 1: modify our lesspipe.sh, so that, in addition to the detection of
> various tar archives (along with compression), it also detects various
> elf images, and uses objdump to display the info.  Less will keep the
> current behavior on any other binaries it hits, only decoding the elf
> images.
> 2) add 1 line to our /etc/csh.cshrc and /etc/profile (to cover those sh
> and csh compatible shells) so that the lesspipe.sh functionality no
> longer needs folks to remember zless.  I don't think it's needed, but if
>   users ask for it, it would be trivial to code up a variable, like
> LESS_WITHOUT_LESSPIPE, that if defined could even block out hese
> changes.  I can't see why folks would not want it, but I'm not fanatic
> over it.
> 3) remove zless.

Why do you need all this. You can write whatever you want less to do in 
The Debian version that i've send to you also decode *.arj, *.deb, *.doc, 
*.gif|*.jpeg|*.jpg|*.pcd|*.png|*.tga|*.tiff|*.tif, *.iso, *.lha|*.lzh, 
*.pdf, *.rar|*.r[0-9][0-9], *.rpm *.jar|*.war|*.ear|*.xpi|*.zip, *.7z, 

But even there it's not enabled by default. 

- Best regards, Nikolay Pavlov. <<<-----------------------------------    

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071110/4db084a9/attachment.pgp

More information about the freebsd-current mailing list