- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- get a command's man page to show in "man -k ..."
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 07:24 AM
04-17-2006 07:24 AM
get a command's man page to show in "man -k ..."
NOTE: works OK
echo $MANPATH
...:/opt/Navisphere/man
man -k nvaicli
NOTE: reports nothing
catman -w
man -k nvaicli
NOTE: still reports nothing
file /opt/Navisphere/man/cat1/navicli.1
navicli.1: English text
any idea how to get "man -k navicli" to work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 07:28 AM
04-17-2006 07:28 AM
Re: get a command's man page to show in "man -k ..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 07:31 AM
04-17-2006 07:31 AM
Re: get a command's man page to show in "man -k ..."
If you just updated '/etc/MANPATH', did you export it before running 'catman' ?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 07:42 AM
04-17-2006 07:42 AM
Re: get a command's man page to show in "man -k ..."
navicli does not appear to be a standard unix command.
Only those man pages found in the directories listed in the MANPATH variable are found by the mna command.
If you have added man pages to the system, you must add the directory where the new man pages are located to the MANPATH variable. The simplest way to do this is to add the new directory to /etc/MANPATH, which is accessed by /etc/profile when a user logs on.
Then log off/on to make the change effective (or add the directory to your current MANPATH and export it)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 08:11 AM
04-17-2006 08:11 AM
Re: get a command's man page to show in "man -k ..."
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 08:46 AM
04-17-2006 08:46 AM
Re: get a command's man page to show in "man -k ..."
i know little regarding man pages, but i have been successful in the past getting the "whatis" DB updated. however not sure why it fails to update with "navicli", which i referenced above is on my server as a text file.
man -k navicli
navicli: nothing appropriate
man navicli
...works
catman -w
stdin: not in compressed format
stdin: not in compressed format
man -k navicli
navicli: nothing appropriate
any further thoughts? i know the "stdin" output from the "catman -w" command are not related since i was getting those before addressing this issue (adding /opt/Navisphere/man to $MANPATH)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 09:13 AM
04-17-2006 09:13 AM
Re: get a command's man page to show in "man -k ..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 09:16 AM
04-17-2006 09:16 AM
Re: get a command's man page to show in "man -k ..."
If my understanding of catman-w /whatis is correct, the catman -w command creates entries the whatis database by using the description information at the beginning of the man page.
Does your text file meet this requirement? You can look at an HP command to get the format.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 09:35 AM
04-17-2006 09:35 AM
Re: get a command's man page to show in "man -k ..."
Given that you indicate that you already have a 'whatis' database, either remove it and do:
# catman -w
...OR, do:
# catman -m
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 09:55 AM
04-17-2006 09:55 AM
Re: get a command's man page to show in "man -k ..."
DCE, i think this is the heart of my problem ...that the file /opt/Navisphere/man/cat1/navicli.1 has no tags/flags that typically "catman" looks for to build off of.
James, you do not have to remove the DB file if you use "catman -w" ...which is what i have been using all along
if there is not a way to convert the file /opt/Navisphere/man/cat1/navicli.1 into some format that is understood by "catman" then i guess my solution will be to directly edit the DB file ...however this will force me to run future DB updates using "catman -m" else my hack/tweak gets lost on future "catman -w" use.