Craig Sanders wrote:

> > lesspipe is in less version 332-2, at least.  Perhaps it is only in
> > hamm versions of less.
> 
> yes, it is only in hamm....but it will work fine with the bo version
> of less. 
> 
> i have attached a copy to this message. to install it, save it into
> /usr/bin. then edit /etc/profile or ~/.bashrc and add the following line: 
> 
>       eval $(/usr/bin/lesspipe)

I use tcsh, and if I use:

 setenv LESSOPEN "| /usr/local/bin/lesspipe '%s'";
 setenv LESSCLOSE "/usr/local/bin/lesspipe '%s' '%s'";

then less works correctly. 

Thanks to all who answered to the call of the bo-restricted!
-- 
Peter Galbraith, research scientist             <[EMAIL PROTECTED]>
Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada  418-775-0852 - FAX 418-775-0546


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to