1833782 Members
2615 Online
110063 Solutions
New Discussion

Including man pages

 
SOLVED
Go to solution
Oliver Schmitz
Regular Advisor

Including man pages

Hi again,

after installing some new programms and libraries on my 11.i TCOE system I now want to include the corresponding man pages.
As I mentioned before I was used more only to use HP-UX than to administer it and therefore I am not familiar with some basic stuff. Including manpages is one of these topics. Can anybody give some hints to me concerning some of the following points:

- How to add man pages.
- Which format have manpage files to have (I found in /usr/share/ diffenten manX dirs with different .X files inside)
- Is there a specific routine (a script) to add man pages or can this be done only by place the files to a specific directory
- How can I get man pages from the utah server (I found them only in .html there. This is not valid I suppose)
- Is there a white paper about man pages?

Thanks a lot for some hints,

oliver
Oliver Schmitz
5 REPLIES 5
Massimo Bianchi
Honored Contributor

Re: Including man pages

Hi,
modify the environtment variable MANPATH adding the proper lines and after run "catman &" to rebuild the man pages.

if you want to know, the best way is a "man man"

HTH,
Massimo
yogesh_4
Regular Advisor

Re: Including man pages

you can give $MANPATH:add your path here. To set this permanantly u hv to add this either in .profile or in /etc/profile.
David_246
Trusted Contributor
Solution

Re: Including man pages

Hi Oliver,

To create a solution that is for future use very handy as well, please do :

/etc/profile:
if [ -r /etc/MANPATH ]
then
MANPATH=`cat /etc/MANPATH`
fi

export MANPATH

add your new path to /etc/MANPATH :
/path/to/man1:/path/to/man/2:/etc:/new/manpath

Regs David
@yourservice
Umapathy S
Honored Contributor

Re: Including man pages

Oliver,
Check the previous answers and threads.

1. We can either add the man pages to /usr/share/man or /usr/local/man. Or let the man pages be in their locations and add the dirs to the /etc/MANPATH.

2. Check man man. Its has got all the explnations for your questions.

3. There is no specific routine, but you can write a script of your own.

4. Normally the depots come with the man pages also. So when you install them you will get the man pages.

5. No clues...

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!