Ask a Question related to Debian, Design and Development.
-
Zhao You Bing #1
How command "manpath" works?
I downloaded j2sdk from SUN and extracted it to /usr/local
and I found the /usr/local/j2sdk/man is in the list of command "manpath"
But I haven't set manpath manully and it's not listed in /etc/manpath.config
I'm wondering how manpath works, who can give me a hint or tell me in
which package I can found the source code of "manpath" so I can check it
myself?
Thank u very much!!
--
Zhao YouBing, Ph.D student
State Key Lab of CAD&CG,Zhejiang University,
Hangzhou, 310027, P.R.China
Tel : 0571-87951045(O), 87933444(H)
Email: [email]zhaoyb@cad.zju.edu.cn[/email]
MSN : [email]zhaoyoubing@hotmail.com[/email]
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Zhao You Bing Guest
-
"Weld" command in "Corel Draw"
Hi there: I'm new to Illustrator but have used Corel Draw in the past. In Corel Draw there was a "Weld" command. What this did was create a drawing... -
Vacation works for "real" email address but not for aliases -- except for some users
Forgive me for my ignorance but sendmail is greek to me. So here's my problem, with as much info as I can think of. I am running Red Hat 9 with... -
copying value of DDL in a Datagrid "pre-edit command" to value in "post edit command"
Hi all! I have Datagrid. Within that datagrid I have a drop down list that I set up some values in (a "collection") I set up an edit command... -
"eject" command only works for root
Dear all, The "eject" command (which opens the CD tray) works as expected if I run it as root. But as a common user, typing "eject" on the... -
Help! "Get" works, "Post" doesn't (ASP VB)
For reasons of security, I'd like to "post" form data rather than "get" it. I'm using the info to filter a recordset to create a Session Variable. ... -
Colin Watson #2
Re: How command "manpath" works?
On Wed, Aug 06, 2003 at 02:51:35PM +0800, Zhao You Bing wrote:
If you haven't set $MANPATH manually, then man and friends guess it> I downloaded j2sdk from SUN and extracted it to /usr/local
> and I found the /usr/local/j2sdk/man is in the list of command "manpath"
>
> But I haven't set manpath manully and it's not listed in /etc/manpath.config
based on the value of $PATH. From get_manpath() in the source (and read
/etc/manpath.config for man_db.config here):
/*
* For each directory in the user's path, see if it is one of the
* directories listed in the man_db.config file. If so, and it is
* not already in the manpath, add it. If the directory is not listed
* in the man_db.config file, see if there is a subdirectory `../man' or
* `man'. If so, and it is not already in the manpath, add it.
* Example: user has $HOME/bin in his path and the directory
* $HOME/man exists -- the directory $HOME/man will be added
* to the manpath.
*/
man-db. (I'm the maintainer.)> I'm wondering how manpath works, who can give me a hint or tell me in
> which package I can found the source code of "manpath" so I can check it
> myself?
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Colin Watson Guest



Reply With Quote

