Newsgroups: comp.unix.ultrix
Path: utzoo!utgpu!watserv1!daemon
From: dunlop@wateol.UWaterloo.CA (Doug Dunlop)
Subject: Re: Manpath? - summary of email responses
Message-ID: <1991Mar21.221223.11480@watserv1.waterloo.edu>
Followup-To: comp.unix.ultrix
Summary: Simple manpath hack
Keywords: manpath hack
Sender: daemon@watserv1.waterloo.edu
Reply-To: dunlop@wateol. UWaterloo.CA
Organization: Earth Observations Lab / ISTS
References: <1991Mar19.143738.5663@lth.se> <1991Mar20.094300.15499@lth.se> <1991Mar20.142337.4489@decuac.dec.com> <1991Mar21.115708.29778@lth.se>
Distribution: na
Date: Thu, 21 Mar 1991 22:12:23 GMT
Lines: 21

In article <1991Mar21.115708.29778@lth.se> magnus%thep.lu.se@Urd.lth.se (Magnus
Olsson) writes:
>I've received quite a lot of mail about this question. I'm sorry that I
>don't have the time to answer each reply individually, so here is a
>collective thank you.
>
>
>Many people wrote and suggested that I set the environment variable
>MANPATH. Unfortunately, this Ultrix man doesn't support this.

Here goes for a simple fix, a script that calls man:

man $1
man -P /usr/local/man $1

Thats it! It looks first in the standard /usr/man and then in the local
man-page area /usr/local/man.

Regards,
Doug Dunlop              E-mail: dunlop@wateol.UWaterloo.CA
Earth Observations Lab / ISTS, University of Waterloo
