Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how do you create a man page? Post 28152 by Kelam_Magnus on Friday 13th of September 2002 02:37:47 PM
Old 09-13-2002
If you already have a formatted file. simply put it in the appropriate directory under either /usr/share/man or /usr/local/man.

Then compress the file and rename it without the .Z on the end

cp mymanpage

compress mymanpage
mv mymanpage.Z mymanpage

The file is normally kept in the compressed mode.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

adding a man page

I was wonderiong if ther is a way for a user to add a man page specific to thier account. similar to copying the .1 or .1.gz to /usr/share/man/man1 "cp *.1.gz /usr/share/man/man1". Except for using another folder as I don't have access to /usr/share/man/man1. I would think that this might involve... (1 Reply)
Discussion started by: jacob358
1 Replies

2. Red Hat

scp-1.2.27 man page

Hi Guys, I'm looking for the man page for scp version 1.2.27 I have an old redhat server that has a few large scripts that use this version and I want to know what the -A flag does and the man page is not on there. (4 Replies)
Discussion started by: Tornado
4 Replies

3. UNIX for Advanced & Expert Users

man page issue

Man page is not working my system. It is giving the following the following error > man ls gdbm fatal: read error with debug option > man -d ls ... .... ... ... using less as pager checking for locale en_US add_nls_manpath(): processing /usr/local/man:/usr/share/man:/usr/X11R6/man... (4 Replies)
Discussion started by: praveenkumar_l
4 Replies

4. Solaris

Unable to get help from man page

Help, it seem that i am unable to get man help form solaris 10. I am running SunOS unknown 5.10 Generic_120012-14 i86pc i386 i86pc when ever i try to man a command what i get is "No manual entry" like the one below. # man grep No manual entry for grep. # man ls No manual entry for ls.... (8 Replies)
Discussion started by: ezsurf
8 Replies

5. Solaris

man page question

What does the last change means in man page .. does that this man page has not been updated since 2003 or something else ? newfs-options The options are documented in the newfs man page. SunOS 5.10 Last change: 9 Dec 2003 1 System... (2 Replies)
Discussion started by: fugitive
2 Replies

6. Solaris

How to scroll through the man page in Solaris

Hey All, I generally login to the Solaris box using Putty. But when I read a man page, I am not being able to scroll line by line using traditional 'j' or 'k' keys. Any idea about how can we scroll through line by line while reading a manage page over Putty (2 Replies)
Discussion started by: paragkalra
2 Replies

7. UNIX for Dummies Questions & Answers

man page in MANPATH not found

dear unix experts, the 'man' command on my system isn't finding a manpage that is in a MANPATH directory, or even when I specify the path directly: 12:56pm ilya@node1390 /idi/sabetilab/ilya/usr/share/man $ man -M . xemacs No manual entry for xemacs 12:56pm ilya@node1390... (4 Replies)
Discussion started by: notestaff
4 Replies

8. Forum Support Area for Unregistered Users & Account Problems

Error in eval man page

Hello, I believe that the following man page contains an error: <www dot unix dot com>/man-page/posix/1posix/eval/ In section "EXAMPLES", the fourth line should probably be: eval y='$'$x rather than: $fooeval y='$'$x Regards, Jérôme DUBOIS. (1 Reply)
Discussion started by: Unregistered
1 Replies
CATMAN(8)						      System Manager's Manual							 CATMAN(8)

NAME
catman - create the cat files for the manual SYNOPSIS
/usr/sbin/catman [ -p ] [ -n ] [ -w ] [ -M path ] [ sections ] DESCRIPTION
Catman creates the preformatted versions of the on-line manual from the nroff input files. Each manual page is examined and those whose preformatted versions are missing or out of date are recreated. If any changes are made, catman will recreate the whatis database. If there is one parameter not starting with a `-', it is taken to be a list of manual sections to look in. For example catman 123 will cause the updating to only happen to manual sections 1, 2, and 3. Options: -n prevents creations of the whatis database. -p prints what would be done instead of doing it. -w causes only the whatis database to be created. No manual reformatting is done. -M updates manual pages located in the set of directories specified by path (/usr/man by default). Path has the form of a colon (`:') separated list of directory names, for example `/usr/local/man:/usr/man'. If the environment variable `MANPATH' is set, its value is used for the default path. If the nroff source file contains only a line of the form `.so manx/yyy.x', a symbolic link is made in the catx directory to the appropri- ate preformatted manual page. This feature allows easy distribution of the preformatted manual pages among a group of associated machines with rdist(1). The nroff sources need not be distributed to all machines, thus saving the associated disk space. As an example, consider a local network with 5 machines, called mach1 through mach5. Suppose mach3 has the manual page nroff sources. Every night, mach3 runs catman via cron(8) and later runs rdist with a distfile that looks like: MANSLAVES = ( mach1 mach2 mach4 mach5 ) MANUALS = (/usr/man/cat[1-8no] /usr/man/whatis) ${MANUALS} -> ${MANSLAVES} install -R; notify root; FILES
/usr/man default manual directory location /usr/man/man?/*.* raw (nroff input) manual sections /usr/man/cat?/*.* preformatted manual pages /usr/man/whatis whatis database /usr/sbin/makewhatis command script to make whatis database SEE ALSO
man(1), cron(8), rdist(1) BUGS
Acts oddly on nights with full moons. The need for catman(8) is almost but not quite gone. Most of the manpages have been moved out of /usr/src/man into the sourcecode hierar- chy. The recreation of the whatis database is the main use of catman now. 4th Berkeley Distribution October 23, 1996 CATMAN(8)
All times are GMT -4. The time now is 05:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy