man page organization (-more-)
Guy Harris
guy at auspex.auspex.com
Wed Aug 16 03:44:57 AEST 1989
> /usr/man/man[1-8] n/troff slaves
> /usr/man/cat[1-8] preformatted entries
> /usr/local/man/man[1-8] n/troff slaves for local things
> /usr/local/man/cat[1-8] preformatted entries
Note that the 4.3BSD and SunOS 4.0 (and, I think, SunOS releases back to
3.x, probably 3.2; not having 4.2BSD source or man pages handy, I can't
speak for it) commands have a MANPATH variable; you can set it to search
"/usr/local/man/<directories>" before "/usr/man/<directories>". For
example, I set mine to "~/man:/usr/local/man:/usr/share/man" to first
search through the man pages for private commands etc., then for local
commands etc., then through the system man pages. I also prefer a
scheme like the above to one with "manl" and "mann".
More information about the Comp.unix.questions
mailing list