home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.ultrix:6937 comp.lang.perl:5963
- Newsgroups: comp.unix.ultrix,comp.lang.perl
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!srv01s4!jcv26
- From: jcv26@cas.org (Jon Vander Hill)
- Subject: Re: 'less' as man pager
- In-Reply-To: braun@aa.cad.slb.com's message of 15 Sep 92 19:33:17 GMT
- Message-ID: <JCV26.92Sep15182049@jcv26aws.cas.org>
- Sender: usenet@cas.org
- Organization: Chemical Abstracts Service, Columbus, Ohio, USA
- References: <1992Sep2.134641.4576@Warren.MENTORG.COM>
- <1992Sep15.193317.20255@aa.cad.slb.com>
- Date: Tue, 15 Sep 1992 23:20:49 GMT
- Lines: 20
-
- In article <1992Sep15.193317.20255@aa.cad.slb.com> braun@aa.cad.slb.com (Matthew Braun) writes:
-
- If you don't have System adminstration power but would still like to use
- less as the pager for man, you can do the following:
-
- have a directory in your path before /usr/ucb, e.g. ~/bin
- link page to less: cd ~/bin ; ln -s /usr/local/bin/less page
- man sure it will find your page, instead of /usr/ucb's: rehash
-
- This has a slight advantage over the alias man option. When you attempt
- to man something that is not found it will not run a pager program.
- Where if you pipe "man <page> | less" it will always run less (then you
- have to press 'q' to quit).
-
- I believe many man's (many men?) will use a $PAGER variable
- if it's defined which can be set to "less". Personally, I don't
- like making symlinks to circumvent my PATH if I can avoid it.
-
- Jon Vander Hill
- jon@cas.org
-