1824216 Members
3514 Online
109669 Solutions
New Discussion юеВ

catman issues

 
Shane Hasert
New Member

catman issues

I have an interesting catman issue (ok, interesting to me as I am a bit perplexed on a solution). In an attempt to run catman -w on an 11i system I am getting the following message after a minute or two:

Deroff: Input buffer overflow

Thoughts? (Thanks)
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: catman issues

catman(1M) catman(1M)

NAME
catman - create the cat files for the manual

SYNOPSIS
/usr/sbin/catman [-A alt-path] [-p] [-m] [-n] [-w] [-z] [sections]

DESCRIPTION
The catman command creates the formatted versions of the online manual
from nroff(1)-compatible source files. Each manual entry in the
man*.Z and man* directories is examined, and those whose formatted
versions are missing or out-of-date are recreated. catman formats the
most recent of the entries, compresses it, and puts it into the
appropriate cat*.Z directory.


Examples

EXAMPLES
Create uncompressed cat* files for sections 1 and 1m of the manual,
but don't create the /usr/share/lib/whatis database:

catman -z -n 11m

Run catman from a server to create cat* entries for a diskless client
under the alternate root /export/shared_roots/OS_700:

catman -A /export/shared_roots/OS_700

This will create cat* manpages under:

/export/shared_roots/OS_700/usr/share/man/
/export/shared_roots/OS_700/usr/contrib/man/
/export/shared_roots/OS_700/usr/local/man/

and a whatis file in:

/export/shared_roots/OS_700/usr/share/lib/whatis

It would appear you are missing some command line parameters.

Or, there are three catman patchs, one or more of which you may need to install.

http://us-support2.external.hp.com/emse/bin/doc.pl/sid=b673b0550bba09d6bf?todo=search&searchtext=catman&searchcriteria=allwords&searchtype=SEARCH_PATCH&searchcategory=HPUX_1111&searchcategory=ALL&rn=25&presort=rank&x=6&y=13

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: catman issues

This post comes up when you search for the error message so I feel the need to clarify:

When you run catman -w

You get this "error" mesage

Deroff: Input buffer overflow

In fact the process seems to have worked and its possible to run man -k searches.

Just adding this to the post in case it comes up and gets clicked.

I'll also pat myself on the back for my first post back in May. I helped myself solve this problem on a new system. I was shocked to see my name in this post, no memory of it.

hee hee.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Luigi_11
Occasional Contributor

Re: catman issues

i got the same error and so i decided to modify the mkwhatis script.
until hp don't release a patch you can copy
my version of the script in the /tmp
directory end execute it.
it create the whatis database like when
you run catman -w