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

  1. Xref: sparky comp.unix.questions:10949 comp.windows.x.apps:997
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!chx400!sicsun!disuns2!disuns2.epfl.ch!simon
  3. From: simon@lia.di.epfl.ch (Simon Leinen)
  4. Newsgroups: comp.unix.questions,comp.windows.x.apps
  5. Subject: Re: backward MANPATH ?
  6. Message-ID: <SIMON.92Sep11105758@liasg2.epfl.ch>
  7. Date: 11 Sep 92 08:57:58 GMT
  8. References: <1992Sep9.191751.22333@eng.ufl.edu>
  9. Sender: news@disuns2.epfl.ch
  10. Followup-To: comp.unix.questions
  11. Organization: DI-LIA -- Ecole Polytechnique Federale de Lausanne
  12. Lines: 27
  13. Nntp-Posting-Host: liasg2.epfl.ch
  14. In-reply-to: ruck@zeta.ee.ufl.edu's message of 9 Sep 92 19:17:51 GMT
  15. X-Md4-Signature: dc1b27c44d10589613296f93f90e08ef
  16.  
  17. SunOS man should search the MANPATH directories in the correct order
  18. (left to right) - I never noticed any problems with that.
  19.  
  20. "xman" (as of X11R5 and (all?) earlier versions) has a bug which
  21. rearranges the MANPATH in a deterministic but difficult to figure out
  22. way (it reverses everything beyond the first entry or something like
  23. that).  A bug report has been sent to MIT a year ago so maybe the
  24. problem will disappear in X11R6.  If you're desperate, apply the
  25. following patch to your xman sources and recompile (no warranty etc.)
  26. -- 
  27. Simon.
  28.  
  29. RCS file: RCS/man.c,v
  30. retrieving revision 1.1
  31. diff -c -r1.1 man.c
  32. *** /tmp/RCSAa21855     Sat Sep 14 19:29:53 1991
  33. --- man.c       Sat Sep 14 19:29:46 1991
  34. ***************
  35. *** 208,213 ****
  36. --- 208,214 ----
  37.         last->next = inner->next; /* Move it to directly follow local. */
  38.         inner->next = local->next;
  39.         local->next = inner;
  40. +       local = inner;
  41.         inner = last;           /* just so that we keep marching down the
  42.                                    tree (this keeps us from looping). */
  43.         }
  44.