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