Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-14-2002, 12:25 AM   #1
Titanium Man
Guest
 
Posts: n/a
How do you set the MANPATH?

I noticed that some manuals aren't being recongnized and when I did this

echo $MANPATH

I saw that the directories they were in weren't in the path. So I tried to set it, but to no avail. Please tell me what to type (exactly) and where to put it. Thanks!!
  Reply With Quote
Old 02-14-2002, 12:45 AM   #2
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
manpath is like path

it's initialized in /usr/share/init/tcsh/login :

setenv MANPATH "${HOME}/man:/usr/local/share/man:/usr/share/man"

and i whack on it a bit in ~/Library/init/tcsh/path :

# wrangle MANPATH for fink man files in /usr/local/man

setenv MANPATH "${HOME}/man:/usr/local/man:/usr/local/share/man:/usr/share/man"

as for what to type exactly? ... type your desired target directories exactly and note the colon delimiters.

Last edited by mervTormel; 02-14-2002 at 12:48 AM.
mervTormel is offline   Reply With Quote
Old 02-14-2002, 01:04 AM   #3
Titanium Man
Guest
 
Posts: n/a
Good ol' Merv, thanks!! Yeah specifying "exactly" was pretty silly in retrospect. I was wanting to now the setenv part and where the punctuation goes. As mother always told me, "Eschew obfuscation". Thanks again Merv!

TiMan
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.