From owner-freebsd-current@FreeBSD.ORG Sat Nov 10 16:40:06 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961B116A417 for ; Sat, 10 Nov 2007 16:40:06 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2A51113C4B7 for ; Sat, 10 Nov 2007 16:40:05 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so298020pyb for ; Sat, 10 Nov 2007 08:39:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; bh=+wjyMCFI+sYJW33mMku+r4lJB7n8dlQv6pYa1R7nb2U=; b=Em/mTwVIwf6V7lmEFORMbJrDbgENaG4fMU7Kt2ytAbj5S39W3urcba3YyE+hKno6lViLNEmtlUV8OhsL/cVBtrVedTYZt/xVWhry5AKLSdZski6oqe/jehs0/N6DABWBgGhNnUTnN8lHL7tJe3iMsqtRGG4+HMDA2nVvtzKvltA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=IS7fDs29fEdG+JiFQwAYAxeXfyI/tKHssvGZ/p4SEl6yzpsXNpotNtleKyUfHsk1JEaOU0w6C88uAKVMVxAuPYMy3lGMHiDHa/29L4VPb/VDfrk2db2i56Awnv/KH/wnTCmGhQM8gPib7jTeq42B6GRuyhf/3A45x1TSw1Rnllo= Received: by 10.64.201.7 with SMTP id y7mr2365242qbf.1194712790550; Sat, 10 Nov 2007 08:39:50 -0800 (PST) Received: from orion ( [89.162.141.1]) by mx.google.com with ESMTPS id 6sm5247356nfv.2007.11.10.08.39.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Nov 2007 08:39:49 -0800 (PST) From: Nikolay Pavlov To: freebsd-current@freebsd.org Date: Sat, 10 Nov 2007 18:39:45 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <20071109222421.037E116A494@hub.freebsd.org> <20071109224531.GA58036@wjv.com> <4734EA16.5090800@chuckr.org> In-Reply-To: <4734EA16.5090800@chuckr.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1627910.GCT6EiT4hV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711101839.46208.qpadla@gmail.com> Cc: bv@wjv.com, Chuck Robey Subject: Re: a better lesskey helper X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: qpadla@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2007 16:40:07 -0000 --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--