[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [lesspipe]



> 
> Remco Blaakmeer wrote:
> 
> > To configure "less" to be more useful, you can set some environment
> > variables. If you like them, place the commands to set them in
> > /etc/profile and they will be set every time you log in. These are the
> > commands:
> > 
> > export LESSOPEN='|/usr/bin/lesspipe %s'
> > 	This makes "less" pipe everything you view through this script.
> > This gives you readable information for verious non-text files, like .tgz,
> > .gz, .tar, .zip, .arj and .deb files.
> 
> This is nice, but where is lesspipe?
> 
> $ more /var/lib/dpkg/info/less.list
> 
> Not there!

Seems you've got a rather old version of less, maybe?
$ grep pipe  /var/lib/dpkg/info/less.list
/usr/bin/lesspipe


$ dpkg -l less
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  less            332-2          A file pager program, similar to more(1)


-- 
joost witteveen, joostje@debian.org

Potentially offensive files, part 5: /dev/random.
`head -c 4 /dev/random` may print 4-letter words (once every approx 4e8 tries).


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: