LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-20-2006, 09:25 AM   #1
bhandu
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Rep: Reputation: 15
Inserting Manpages


Hi,
I have developed a software a linux.
I have created a Manpage for this software. This Manpage is the help for the user to use this software.
But somehow I m not able to insert this Manpage.
So, please can anyone give me a detailed solution as to how to insert Manpages in the linux so that it can be viewed by giving the command man software_name?

Last edited by bhandu; 03-20-2006 at 10:49 AM.
 
Old 03-20-2006, 09:53 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
As far as I know, just put the file in some man dir, e.g. /usr/local/man/man.1/yourcommand.1

Of course, yourcommand.1 must be a nroff document. To check if is looks nice when formmated,
Code:
$ nroff -man /usr/local/man/man.1/yourcommand.1|more
cheers,
 
Old 03-20-2006, 10:25 AM   #3
caspervn
Member
 
Registered: Jul 2005
Location: Vietnam
Distribution: Fedora Core 2
Posts: 55

Rep: Reputation: 15
To know what path that man find, you just view file /etc/man.config
This is a part of mine
Quote:
.....
# This file is also read by man in order to find how to call nroff, less, etc.,
# and to determine the correspondence between extensions and decompressors.
#
# MANBIN /usr/local/bin/man
#
# Every automatically generated MANPATH includes these fields
#
MANPATH /usr/share/man
MANPATH /usr/man
MANPATH /usr/local/share/man
MANPATH /usr/local/man
MANPATH /usr/X11R6/man
.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
manpages in yelp yadu Debian 0 11-09-2005 08:00 PM
NPTL manpages vghiware Programming 1 09-19-2005 10:58 PM
manpages not working plosiv Linux - General 1 11-11-2004 10:57 AM
more about manpages bigjohn Linux - Newbie 1 03-04-2004 09:07 PM
manpages for C++ lib functions h/w Programming 2 02-16-2004 02:19 PM


All times are GMT -5. The time now is 11:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration