02-28-2009
Creating Custom man Page in Solaris
Hello experts,
I'm creating a custom man page. I have two unix boxes - one Hp & the other Solaris
On HP, I simply moved the .Z file to /usr/man/man7.Z/ and after that "man myPage" worked.
I then tried to do the same on Solaris. First thing is the relevant directory seemed to be /usr/share/man/man7/
Also, when I tried to move the .Z file to this location, it said File-system is read only. I tried this with root. (wq, !wq didnt work)
Can anyone tell me whether /usr/share/man/man7/ is the right place and how to move the file to this place?
Thanks
Sridhar
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless
thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies
2. UNIX for Dummies Questions & Answers
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
3. Red Hat
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
4. UNIX for Advanced & Expert Users
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
5. Solaris
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
6. Solaris
Hi,
I would like to develop a man page as the one we usually get when we execute man <command name>. This man page will be for a samll utility that i have written.
If this is not possible then what are the available possibilites for creating such help.
thanks in advance. (2 Replies)
Discussion started by: raghu.amilineni
2 Replies
7. Solaris
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
8. 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
9. UNIX for Dummies Questions & Answers
I've been asked to come up with a command to display a man page that will continuously scrol (i.e. not hitting space/enter)l. Is there a way do this? I'm stumped.
Thank you for your help. (8 Replies)
Discussion started by: Opy99
8 Replies
LEARN ABOUT DEBIAN
whichman
WHICHMAN(1) General Commands Manual WHICHMAN(1)
NAME
whichman - show the location of a man page using a fault tolerant approximate matching algorithm
SYNOPSIS
whichman [-#ehIp][-t#] man-page-name
DESCRIPTION
whichman is a "which" alike search command for man pages. whichman searches the MANPATH environment variable. If this variable is not
defined, then it uses /usr/share/man:/usr/man:/usr/X11R6/man: /usr/local/share/man:/usr/local/man by default.
Unlike "which" this program does not stop on the first match. The name should probably have been something like whereman as this is not a
"which" at all. whichman shows all man-pages that match and allows you to identify the different sections to which the pages belong.
whichman can handle international manpage path names for different languages. Man pages in different languages may be stored in
.../man/<country_code>/man[1-9]/...
By default, whichman does fault tolerant approximate string matching. With a default tolerance level of: (strlen(searchpattern) - number of
wildcards)/6 + 1
OPTIONS
-h Prints a little help/usage information.
-I Do case sensitive search (default is case in-sensitive)
-e Use exact matching when searching for a given man-page and the wildcards * and ? are disabled.
-p print the actual tolerance level in front of the man page name.
-# or -t#
Set the fault tolerance level to #. The fault tolerance level is a integer # in the range 0-255. It specifies the maximum number
of errors permitted in finding the approximate match. A tolerance_level of zero allows exact matches only but does NOT disable the
wildcards * and ?.
The search key may contain the wildcards * and ? (but see -e option):
'*' any arbitrary number of character
'?' one character
The last argument to whichman is not parsed for options as the program needs at least one man-page-name argument. This means that whichman
-x will not complain about a wrong option but search for the man-page named -x.
EXAMPLE
whichman print
This will e.g. find the man-pages:
/usr/share/man/man1/printf.1.gz
/usr/share/man/man3/printf.3.gz
/usr/share/man/man3/rint.3.gz
BUGS
The wildcards '?' and '*' can not be escaped. These characters function always as wildcards. This is however not a big problem since there
is hardly any man-page that has these characters in its name.
AUTHOR
Guido Socher (guido@linuxfocus.org)
SEE ALSO
ftff(1), man(1)
Search utilities April 1998 WHICHMAN(1)