Operating System - HP-UX
1834485 Members
3530 Online
110067 Solutions
New Discussion

How do I view application-specific man pages?

 
SOLVED
Go to solution
Gary Cooper_1
Esteemed Contributor

How do I view application-specific man pages?

I've just installed an application and there's a man directory in the directory that it was installed to and I can't run man on the contents.

I think I'm supposed to format them or something to make them visible using man, but I cant find the command(s) to do it.

Any help would be appreciated.

Thanks,

Gary
4 REPLIES 4
Richard Hepworth
Esteemed Contributor
Solution

Re: How do I view application-specific man pages?

Hi Gary,

Just add the location of the man pages for your application to your MANPATH variable:

For Veritas man pages for example:

MANPATH=$MANPATH:/opt/VRTS/man;export MANPATH

regards,

Richard
Gary Cooper_1
Esteemed Contributor

Re: How do I view application-specific man pages?

Thanks Richard, that's just the ticket.

Cheers,

Gary
Dennis Handly
Acclaimed Contributor

Re: How do I view application-specific man pages?

>I think I'm supposed to format them or something to make them visible using man

>Richard: Just add the location of the man pages for your application to your MANPATH variable:

Typically if the application knows knows how to install itself properly, it should add the man page paths to /etc/MANPATH. Then if you relog back in or execute your .profile, then these paths should be added to your MANPATH.
Steven Schweda
Honored Contributor

Re: How do I view application-specific man pages?

For the short term, there's also "man -M".
"man man".