home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6930 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.7 KB

  1. Xref: sparky comp.unix.ultrix:6930 comp.lang.perl:5954
  2. Path: sparky!uunet!cs.utexas.edu!ut-emx!slcs.slb.com!aa.cad.slb.com!braun
  3. From: braun@aa.cad.slb.com (Matthew Braun)
  4. Newsgroups: comp.unix.ultrix,comp.lang.perl
  5. Subject: Re: 'less' as man pager
  6. Message-ID: <1992Sep15.193317.20255@aa.cad.slb.com>
  7. Date: 15 Sep 92 19:33:17 GMT
  8. References: <1992Sep2.134641.4576@Warren.MENTORG.COM>
  9. Sender: usenet@aa.cad.slb.com (Usenet Administrator)
  10. Organization: Applicon; Ann Arbor, MI (USA)
  11. Lines: 33
  12. X-Newsreader: Tin 1.1 PL5
  13.  
  14. If you don't have System adminstration power but would still like to use
  15. less as the pager for man, you can do the following:
  16.  
  17. have a directory in your path before /usr/ucb, e.g. ~/bin
  18. link page to less:  cd ~/bin ; ln -s /usr/local/bin/less page
  19. man sure it will find your page, instead of /usr/ucb's:  rehash
  20.  
  21. This has a slight advantage over the alias man option.  When you attempt
  22. to man something that is not found it will not run a pager program.
  23. Where if you pipe "man <page> | less" it will always run less (then you
  24. have to press 'q' to quit).
  25.  
  26.  
  27. Tom Limoncelli (tal@Warren.MENTORG.COM) wrote:
  28. : Why not just switch to the version of man re-written in Perl?
  29. : (available on ftp.uu.net).  It does everything man does on other
  30. : systems, plus it's faster than ones written in "C".  You can set
  31. : it up for various pagers, or just "setenv PAGER foo" to use "foo".
  32. : There is a paper in the first or second Usenix LISA conference
  33. : proceedings called "The Answer to all Man's Problems".  Read it,
  34. : learn it, love it.  Perl.
  35.  
  36. What is Perl?  And, I don't know what Usenix LISA conference is.
  37.  
  38. Also, where can "man-1.1" be found?  I ran 'archie man' but didn't see any
  39. entries that looked right.
  40.  
  41. Thanks,
  42.  
  43. Matthew.
  44.  
  45. ps. Hi Dan
  46.