Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


ok but | 24 comments | Create New Account
Click here to return to the 'ok but' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ok but
Authored by: macubergeek on Aug 30, '02 07:51:40PM

I followed these instructions and blew away my aliases in .tcshrc
I started with this /Users/jamesk/Library/init/tcsh/path file:

setenv PATH ${PATH}:/Users/jamesk/bin/powerpc-apple-darwin:/Users/jamesk/scripts
:/usr/include:/usr/lib:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/s
bin:/sw/bin:/sw/sbin:/sw/lib:/sw/include:/usr/X11R6/bin
setenv MANPATH ${MANPATH}:/Users/jamesk/man:/usr/local/share/man:/usr/share/man:
/sw/share/man:/usr/X11R6/man

Following the instructions I blew away my original .tcshrc file with alot of aliases so I recreated it and simply sourced the /Users/jamesk/Library/init/tcsh/path file
the PATH variable was properly set but NOT the MANPATH variable.

where do I set the MANPATH variable? In what file?



[ Reply to This | # ]
Re: MANPATH
Authored by: lucas_mbase on Sep 27, '02 02:02:50AM
I know this thread is kind of old but...

Try rearranging your 'setenv' line, it could be that tcsh is balking at the ${MANPATH} prefix and is not setting the environment properly. Try putting your user paths first like this:

setenv MANPATH /Users/jamesk/man:/usr/local/share/man:/usr/share/man:/sw/share/man:/usr/X11R6/man:${MANPATH}

Related reading:
man tcsh
man man
man manpath
Also, take a look at the file /etc/manpath.config for adding common paths.


[ Reply to This | # ]
ok but
Authored by: rtilley on Oct 10, '02 04:38:12AM

see "man manpath"



[ Reply to This | # ]