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

  1. Xref: sparky comp.unix.questions:10912 comp.windows.x.apps:984
  2. Path: sparky!uunet!stanford.edu!unixhub!unixhub.slac.stanford.edu!alhy
  3. From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
  4. Newsgroups: comp.unix.questions,comp.windows.x.apps
  5. Subject: Re: backward MANPATH ?
  6. Message-ID: <5448@unixhub.SLAC.Stanford.EDU>
  7. Date: 10 Sep 92 17:19:45 GMT
  8. References: <1992Sep9.191751.22333@eng.ufl.edu> <1992Sep10.010200.12873@eng.ufl.edu>
  9. Sender: news@unixhub.SLAC.Stanford.EDU
  10. Reply-To: alhy@unixhub.slac.stanford.edu
  11. Followup-To: comp.unix.questions
  12. Organization: Stanford University, dept of Physics / SLAC
  13. Lines: 48
  14. Nntp-Posting-Host: courant.slac.stanford.edu
  15.  
  16. In article <1992Sep10.010200.12873@eng.ufl.edu>, ruck@zeta.ee.ufl.edu (John R Ruckstuhl Jr) writes:
  17. |> I wrote:
  18. |> 
  19. |> > Sanity check, please --
  20. |> > Regarding "man" (SunOS 4.1.1) and "xman" utilities,
  21. |> > 
  22. |> > These utilities output the manpage found !last! in the MANPATH, 
  23. |> 
  24. |> 
  25. |> Not true.  I'll try again.  Apparently I've noticed some behavior
  26. |> related to the filename extensions, and my explanation was entirely
  27. |> incorrect.
  28. |> 
  29. |> If MANPATH is /usr/man:/usr/local/man ,
  30. |> 
  31. |> then
  32. |>     /usr/man/man1/cmp.1  is output rather than  /usr/local/man/man1/cmp.1
  33. |>     /usr/man/man1/split.1  is output rather than  /usr/local/man/man1/split.1
  34. |>     /usr/man/man1/tail.1  is output rather than  /usr/local/man/man1/tail.1
  35. |> but
  36. |>     /usr/local/man/man1/cat.1  is output rather  than /usr/man/man1/cat.1v
  37. |>     /usr/local/man/man1/cut.1  is output rather  than /usr/man/man1/cut.1v
  38. |>     /usr/local/man/man1/sum.1  is output rather  than /usr/man/man1/sum.1v
  39. |> 
  40. |>  
  41. Well, just to put my two cents worth in:  I'm running an IBM RS6000,
  42. aix 3.1.7, X11R5.  Just to confuse me, man will take the "leftmost"
  43. occurrence (i.e., the /usr/man entries) for the SAME extension (i.e.,
  44. .../man1/cmp.1 for both).  However, xman will take the "rightmost"
  45. occurrence.  xman's behavior will probably be standard across all
  46. platforms (for X11R5).  Can anyone confirm this?  Basically, this
  47. means I can't set MANPATH and get consistent behavior between xman and
  48. man.
  49.  
  50.                 -Scott Berg
  51.  
  52. -- 
  53. -------------------------------------------------------------------------------
  54. The opinions expressed here are, of course, my own and nobody else's.
  55. -------------------------------------------------------------------------------
  56. J. Scott Berg
  57. email: alhy@unixhub.slac.stanford.edu
  58. real mail: Varian Physics
  59.            Stanford  CA  94305-4060
  60. phone:    (415) 926-4732 (w)
  61.      (415) 326-2631 (h)
  62. -------------------------------------------------------------------------------
  63.  
  64.