Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2007 18:39:45 +0200
From:      Nikolay Pavlov <qpadla@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        bv@wjv.com, Chuck Robey <chuckr@chuckr.org>
Subject:   Re: a better  lesskey helper
Message-ID:  <200711101839.46208.qpadla@gmail.com>
In-Reply-To: <4734EA16.5090800@chuckr.org>
References:  <20071109222421.037E116A494@hub.freebsd.org> <20071109224531.GA58036@wjv.com> <4734EA16.5090800@chuckr.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 
lesspipe.sh.
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, 
 *.zoo

But even there it's not enabled by default. 

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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHNd7S/2R6KvEYGaIRAg2NAJ98RdEeQ2uPy6dcBxHth47kLvg0gwCgt4h4
hNyOhFB+dCGEhVV2IHFfyYY=
=mG2L
-----END PGP SIGNATURE-----

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