1748236 Members
3690 Online
108759 Solutions
New Discussion юеВ

How to enable man pages

 
Ravi_8
Honored Contributor

How to enable man pages

Hi

I have a m/c running 11.0 in which man pages are not enabled.
eg:
#man grep
No Manual entry for grep.

how to enable man pages in this m/c

thanx in advance
never give up
11 REPLIES 11
Robert-Jan Goossens
Honored Contributor

Re: How to enable man pages

Hi Ravi,

Look at the catman command.

Hope this helps,
Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: How to enable man pages

second thought,

Maby somebody removed the /etc/MANPATH file.
Ravi_8
Honored Contributor

Re: How to enable man pages

Robert thanx for reply

command catman retunrs nothing
/etc/MANPATH file exists
never give up
generic_1
Respected Contributor

Re: How to enable man pages

I would reinstall the man pages.
Go to another box and
cd /usr/share/man
tar cvf /tmp/man.tar *
then recover them on the broken box.
Make a make_tape beforehand :).
generic_1
Respected Contributor

Re: How to enable man pages

It might not hurt to get a copy of the /etc/MANPATH either in case something is missing.
Robert-Jan Goossens
Honored Contributor

Re: How to enable man pages

Hi Ravi,

are they installed ?

# swlist -l fileset -a state | grep -e MAN

If not it would be possible to install them from the installation cdrom.

Regards,
Robert-Jan
Ravi_8
Honored Contributor

Re: How to enable man pages

Hi Robert

all the filesets are in configured state
never give up
Robert-Jan Goossens
Honored Contributor

Re: How to enable man pages

????

# echo $MANPATH
should be someting like

/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local
/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/
share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/i
gnite/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/hparray/share/man/%L:/opt/hp
array/share/man:/opt/hpnpl//man:/opt/hpnp//man:/opt/resmon/share/man:/opt/pred/s
hare/man/%L:/opt/pred/share/man:/opt/networker/man
G. Vrijhoeven
Honored Contributor

Re: How to enable man pages

Hi,

RJ's MANPATH suggestion could do the trick.
Use catman -w & for enableling the man -k option.

Regards,

Gideon