Where set manpath?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Where set manpath?
# 1  
Old 09-13-2010
Where set manpath?

I know that the manpath varable /etc/man.config:

# Every automatically generated MANPATH includes these fields
#
MANPATH /usr/man
MANPATH /usr/share/man
MANPATH /usr/local/man
MANPATH /usr/local/share/man
MANPATH /usr/X11R6/man

but run manpath result:

[root@total ~]# manpath
/usr/kerberos/man:/usr/local/share/man:/usr/share/man/en:/usr/share/man


why?please help me,thanks.

---------- Post updated at 08:36 AM ---------- Previous update was at 08:31 AM ----------

linux release:RHEL 5.3
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies

2. 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

3. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

4. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

5. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

6. Shell Programming and Scripting

MANPATH undefined error

Hello All, I m using Linux OS and the default shell is C shell. Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the... (1 Reply)
Discussion started by: jambesh
1 Replies

7. UNIX for Dummies Questions & Answers

manpath errors -- standard way to set? does anyone even use it anymore?

Hello I'm finding a lot of results come up in google about manpath but none of them seem to help. I would like to add some files to my man path so that I can type things like `man -k fluxbox` and even though I don't have fluxbox installed at all, man will find that I have some personal notes on... (2 Replies)
Discussion started by: jzacsh
2 Replies

8. UNIX for Advanced & Expert Users

How does the PATH and MANPATH environment variable get set?

Hi, How does the PATH and MANPATH environment variable get set? I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable. I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies
Login or Register to Ask a Question
MANPATH(5)							/etc/manpath.config							MANPATH(5)

NAME
manpath - format of the /etc/manpath.config file DESCRIPTION
The manpath configuration file is used by the manual page utilities to assess users' manpaths at run time, to indicate which manual page hierarchies (manpaths) are to be treated as system hierarchies and to assign them directories to be used for storing cat files. If the environment variable $MANPATH is already set, the information contained within /etc/manpath.config will not override it. FORMAT
The following field types are currently recognised: # comment Blank lines or those beginning with a # will be treated as comments and ignored. MANDATORY_MANPATH manpath_element Lines of this form indicate manpaths that every automatically generated $MANPATH should contain. This will typically include /usr/man. MANPATH_MAP path_element manpath_element Lines of this form set up $PATH to $MANPATH mappings. For each path_element found in the user's $PATH, manpath_element will be added to the $MANPATH. MANDB_MAP manpath_element [ catpath_element ] Lines of this form indicate which manpaths are to be treated as system manpaths, and optionally where their cat files should be stored. This field type is particularly important if man is a setuid program, as (when in the system configuration file /etc/man- path.config rather than the per-user configuration file .manpath) it indicates which manual page hierarchies to access as the setuid user and which as the invoking user. The system manual page hierarchies are usually those stored under /usr such as /usr/man, /usr/local/man and /usr/X11R6/man. If cat pages from a particular manpath_element are not to be stored or are to be stored in the traditional location, catpath_element may be omitted. Traditional cat placement would be impossible for read only mounted manual page hierarchies and because of this it is possible to specify any valid directory hierarchy for their storage. To observe the Linux FSSTND the keyword `FSSTND can be used in place of an actual directory. Unfortunately, it is necessary to specify all system man tree paths, including alternate operating system paths such as /usr/man/sun and any NLS locale paths such as /usr/man/de_DE.88591. As the information is parsed line by line in the order written, it is necessary for any manpath that is a sub-hierarchy of another hierarchy to be listed first, otherwise an incorrect match will be made. An example is that /usr/man/de_DE.88591 must come before /usr/man. DEFINE key value Lines of this form define miscellaneous configuration variables; see the default configuration file for those variables used by the manual pager utilities. They include default paths to various programs (such as grep and tbl), and default sets of arguments to those programs. NOCACHE This flag prevents man(1) from creating cat pages automatically. BUGS
Unless the rules above are followed and observed precisely, the manual pager utilities will not function as desired. The rules are overly complicated. 2.5.2 2008-05-05 MANPATH(5)