01-14-2002
You must add the path to your MANPATH. Type in either env or echo $MANPATH and you will see the path searched for man entries. Add the path for the gcc man pages (could be /usr/local/gcc/man or something like it)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
I want to know all the commands for which man pages are available. How do i get it?
Cheers,
Nisha (4 Replies)
Discussion started by: Nisha
4 Replies
2. Programming
If i have my own application ( say 'myTool'), then is it possible to create a man page for it?
such that "man myTool" will give information about it.
if so how to go about it?
thanks in advance,
Nads (3 Replies)
Discussion started by: Nads
3 Replies
3. UNIX for Dummies Questions & Answers
hello every one im a new to unix i use solaris 9 experimental i would like to use real unix system but there are to many versions and i need someone to recommend a good one for me i also need help on how to use "man" (3 Replies)
Discussion started by: abu_malek
3 Replies
4. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
5. Solaris
According to Sun documentation (Ldoms 1.1 Administration Guide), To access the ldm(1M) man page, add the directory path /opt/SUNWldm/man to the variable $MANPATH. When I add the lines:
MANPATH=$MANPATH:/opt/SUNWldm/man
export MANPATH
to .profile, exit root and re-login, I would have "man ldm"... (5 Replies)
Discussion started by: StarSol
5 Replies
6. Linux
Hey people do u know how to disable the man command in linux???
i am not able to do anythg apart from disabling the permission for /usr/bin/...
i dont wanna uninstall the man / man pages also...
this has been one of the toughest challenges i have come across in linux...
can anybody... (5 Replies)
Discussion started by: linux.user
5 Replies
7. Shell Programming and Scripting
How to get only the options and arguments of a command excluding the
descriptive help? (1 Reply)
Discussion started by: mayur_verma
1 Replies
8. Post Here to Contact Site Administrators and Moderators
Is it possible to specify the section as well as the OS when using tags? I played with a few combinations but without success. (3 Replies)
Discussion started by: CarloM
3 Replies
9. UNIX for Dummies Questions & Answers
Hi friends,
When I try to see the man pages of gcc,
man gcc
I see
No manual entry for gcc.
Could you help me please. I am running solaris 10
Thanks! (4 Replies)
Discussion started by: gabam
4 Replies
10. UNIX for Dummies Questions & Answers
man pages are located beneath /usr/share/man.
e.g., manual pages for "section 1" are located in /usr/share/man/man1/.
And /usr/share/man/man*p should contain manual pages for POSIX programmers.
I need to know what /usr/share/man/man*x directories should contain ? (1 Reply)
Discussion started by: new0h
1 Replies
LEARN ABOUT FREEBSD
man.conf
MAN.CONF(5) BSD File Formats Manual MAN.CONF(5)
NAME
man.conf -- man(1) and manpath(1) configuration files
DESCRIPTION
The man.conf file is used to configure the manual search path, locales, and utility set for man(1) and its related utilities. During ini-
tialization, man(1) reads the configuration files located at /usr/local/etc/man.d/*.conf and /etc/man.conf.
The files contained in /usr/local/etc/man.d/*.conf are intended to be used by the ports(7) system for extending the manual set to support
additional paths and locales. /etc/man.conf is intended to be used by the local administrator to set additional policy.
Currently supported configuration variables include:
MANCONFIG Overrides the default location to import additional manual configuration files. Defaults to /usr/local/etc/man.d/*.conf.
MANPATH Adds the specified directory to the manual search path.
MANLOCALE Indicates support is available for the given locale.
For pages in a given language, overriding the default toolset for display is supported via the following definitions:
EQN_LANG
NROFF_LANG
PIC_LANG
TBL_LANG
TROFF_LANG
REFER_LANG
VGRIND_LANG
See the EXAMPLES section for how to use these variables.
IMPLEMENTATION NOTES
The parser used for this utility is very basic and only supports comment characters (#) at the beginning of a line.
FILES
/etc/man.conf System configuration file.
/usr/local/etc/man.d/*.conf Local configuration files.
EXAMPLES
A perl port that needs to install additional manual pages outside of the default location could install a file in
/usr/local/etc/man.d/perl.conf with the following contents:
# Add perl man pages to search path
MANPATH /usr/local/lib/perl5/5.8.9/man
MANPATH /usr/local/lib/perl5/5.8.9/perl/man
A Japanese localization port could install a custom toolset and include a file in /usr/local/etc/man.d/ja-man-doc.conf with the following
contents:
# Setup Japanese toolset
MANLOCALE ja_JP.eucJP
EQN_JA /usr/local/bin/geqn
PIC_JA /usr/local/bin/gpic
TBL_JA /usr/local/bin/gtbl
NROFF_JA /usr/local/bin/groff -man -dlang=ja_JP.eucJP
TROFF_JA /usr/local/bin/groff -man -dlang=ja_JP.euc.jp
If the system administrator decides to override the LOCALBASE make(1) variable causing all ports(7) to be installed into /opt instead of
/usr/local, specifying the following in /etc/man.conf will accommodate this change:
# Look for additional configuration files
MANCONFIG /opt/etc/man.d/*.conf
SEE ALSO
apropos(1), man(1), manpath(1), whatis(1)
BSD
June 3, 2011 BSD