Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!ucsd!usc!cs.utexas.edu!yale!umich!gumby!peirce From: peirce@gumby.cc.wmich.edu (Leonard Peirce) Newsgroups: comp.unix.ultrix Subject: Re: Question about /usr/ucb/man -P option Message-ID: <1990Jul3.142529.495@gumby.cc.wmich.edu> Date: 3 Jul 90 14:25:29 GMT References: <268BC4A7.8934@orion.oac.uci.edu> <12989@cbmvax.commodore.com> <268F712E.9253@orion.oac.uci.edu> Organization: Western Michigan University Lines: 27 In article <268F712E.9253@orion.oac.uci.edu> iglesias@orion.oac.uci.edu (Mike Iglesias) writes: >In article <12989@cbmvax.commodore.com> grr@cbmvax (George Robbins) writes: >>Have you considered using symlinks to make your man directory show up as >>/usr/man/manx? This works for us, although it seems to require that the >>suffixes on the man entries match the subdirectory to some extent... > [...] > Sun's man has a -M >option to set the man path, so as part of the Sun executable library we >have a shell script called 'man' that does a 'man -M path:path2 ...'. >Users put the library executable path before /usr/ucb and it all works. Or even better, you can just set the MANPATH environment variable and achieve the same results. The man command and related programs that come with ULTRIX are admittedly poor. I took a copy of the 4.3 man and made a few small hacks so that it will work with ULTRIX. I also added code for a default MANPATH so if some- forgets to set it, they will still pick up both the ULTRIX man pages and our local stuff. At USENIX in January, I was told by someone in the ULTRIX development group that 4.0 will support alternate search paths. But I'm not holding my breath. -- Leonard Peirce Internet: peirce@gumby.cc.wmich.edu Western Michigan University peirce@gw.wmich.edu Academic Computer Center UUCP: ...!uunet!sharkey!wmichgw!peirce Kalamazoo, MI 49008 Phone: (616) 387-5469