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
--nextPart1627910.GCT6EiT4hV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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. =A0Less 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. =A0I don't think it's needed, but if > =A0 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. =A0I 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=20 lesspipe.sh. The Debian version that i've send to you also decode *.arj, *.deb, *.doc,=20 *.gif|*.jpeg|*.jpg|*.pcd|*.png|*.tga|*.tiff|*.tif, *.iso, *.lha|*.lzh,=20 *.pdf, *.rar|*.r[0-9][0-9], *.rpm *.jar|*.war|*.ear|*.xpi|*.zip, *.7z,=20 *.zoo But even there it's not enabled by default.=20 =2D-=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 =2D Best regards, Nikolay Pavlov. <<<----------------------------------- = =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 --nextPart1627910.GCT6EiT4hV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHNd7S/2R6KvEYGaIRAg2NAJ98RdEeQ2uPy6dcBxHth47kLvg0gwCgt4h4 hNyOhFB+dCGEhVV2IHFfyYY= =mG2L -----END PGP SIGNATURE----- --nextPart1627910.GCT6EiT4hV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711101839.46208.qpadla>