Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 1998 15:09:21 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        "James D. Fowler" <jimmy@james.digitalmechanix.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: man pages
Message-ID:  <Pine.BSF.3.96.980102150320.7064F-100000@localhost>
In-Reply-To: <199801021730.JAA00982@james.digitalmechanix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Jan 1998, James D. Fowler wrote:

> how do I install a single man page?

If you take a look at /etc/manpath.config, you'll see the list of
directories your system knows to search thru.  Pick one.  Underneath each
will be at least one, and possibly 2 sets of subdirectories.  One will
have the names man1, man2, etc, and this is where troff (mdoc) formatted
man pages go, in gzip compressed form.  The other set (which you might not
have) is the cat1, cat2, etc set, where preformatted (ready for display)
man pages go.  If you don't have the cat directories, your system can't
cache formatted man pages for redisplay.  This saves you some disk space,
but costs extra formatting time for man pages you access a lot.

/usr/share/man is the directory for the system man pages.  I would not
recommend adding locally generated man pages there, because when you
finally upgrade your installation, you're going to be reinstalling that
directory, and you'll have to separate out the system man pages from your
locally installed ones, so that the locally installed ones don't get wiped
out in the upgrade.

> thanx
> jimmy
> 
> 

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980102150320.7064F-100000>