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

Re: man beeps more than woman



Roberto C  Sánchez <roberto@connexer.com>:
>  On Sat, May 19, 2007 at 02:29:48PM -0400, Joey Hess wrote:
> > Deboo ^ wrote:
> > > I already made an alias to less to use less -q. That works if I use
> > > less manually but just not in  man.
> > > 
> > > I'll try what Greg said above.
> > 
> > If you set PAGER=3D'less -q' that will work.
> 
>  Why is it that the alias won't be picked up by man?  It seems that man
>  spawns a pager process in order to allow viewing of the formatted man
>  page:
> 
>   5904 pts/1    S+     0:00 man man
>   5914 pts/1    S+     0:00 pager -s
> 
>  What I don't understand is how if /usr/bin/pager is a symlink to
>  /usr/bin/less, then how will the alias not be used?

The way to control less is with the LESS env. variable.  I set it to
"-ceigqj5MX".


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.
       Spammers! http://www.spots.ab.ca/~keeling/emails.html



Reply to: