Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!melanie From: melanie@ux1.cso.uiuc.edu (Melanie Anderson ) Newsgroups: comp.unix.ultrix Subject: Re: Question about /usr/ucb/man -P option Message-ID: <1990Jul13.174942.7967@ux1.cso.uiuc.edu> Date: 13 Jul 90 17:49:42 GMT References: <268BC4A7.8934@orion.oac.uci.edu> <12989@cbmvax.commodore.com> <268F712E.9253@orion.oac.uci.edu> <1990Jul3.142529.495@gumby.cc.wmich.edu> Organization: University of Illinois at Urbana Lines: 39 peirce@gumby.cc.wmich.edu (Leonard Peirce) writes: >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 yes indeed, ultrix 4.0 includes /usr/bin/man (old-style ultrix man) and /usr/ucb/man which is the bsd-style man and it does indeed have a -P option that does indeed acutally work. don't ask how i know this. melanie anderson beckman institute at the unversity of illinois msa@uiuc.edu