I know this is going to be a stupid question with a simple answer and I suppose it's 
just basic Unix stuff, but my shell doesn't get set up properly.  

Specifically the PATH doesn't include /sw/bin, though MANPATH and INFOPATH do get set. 
 Yet, if I "source /sw/bin/init.csh" manually, it works.  Of course, then the MANPATH 
and INFOPATH mods get duplicated.

I added the "source /sw/bin/init.csh" to my init file as I thought I understood the 
documentation.  Perhaps I misunderstood....

Here is my tcshrc file.  I added the echo just to prove to myself it was executing.

-----------------------------------------
[jimmymac:~] jimmy% more .tcshrc
source /usr/share/tcsh/examples/rc
source /sw/bin/init.csh
echo "Ran ~/.tcshrc"

[jimmymac:~] jimmy% 
-----------------------------------------

Here's what happens......

-----------------------------------------
Last login: Fri Oct  4 07:47:31 on ttyp2
Welcome to Darwin!
Ran ~/.tcshrc
[jimmymac:~] jimmy% 
[jimmymac:~] jimmy% setenv
HOME=/Users/jimmy
SHELL=/bin/tcsh
USER=jimmy
LANG=en_US
PATH=~/bin/powerpc-apple-darwin:/Users/jimmy/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
---------------------
--- Lines deleted ---
---------------------
ENV_SET=
LS_COLORS=no=00:fi=00:di=00;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=00;32:
MANPATH=/Users/jimmy/man:/usr/local/share/man:/usr/share/man
INFOPATH=/sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/info:/usr/local/info:/usr/share/info
PERL5LIB=/sw/lib/perl5
QTDIR=/sw
QMAKESPEC=/sw/share/qt/mkspecs/darwin-g++
[jimmymac:~] jimmy% 
-----------------------------------------

Now run /sw/bin/init.csh manually........

-----------------------------------------
[jimmymac:~] jimmy% source /sw/bin/init.csh
[jimmymac:~] jimmy% 
[jimmymac:~] jimmy% setenv
HOME=/Users/jimmy
SHELL=/bin/tcsh
USER=jimmy
LANG=en_US
PATH=/sw/bin:/sw/sbin:/Users/jimmy/bin/powerpc-apple-darwin:/Users/jimmy/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin
---------------------
--- Lines deleted ---     
---------------------
ENV_SET=
LS_COLORS=no=00:fi=00:di=00;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=00;32:
MANPATH=/sw/share/man:/sw/man:/Users/jimmy/man:/usr/local/share/man:/usr/share/man:/usr/X11R6/man
INFOPATH=/sw/share/info:/sw/info:/sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/info:/usr/local/info:/usr/share/info
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5
QTDIR=/sw
QMAKESPEC=/sw/share/qt/mkspecs/darwin-g++
[jimmymac:~] jimmy% 
-----------------------------------------


------------------------------------------------
Changed your e-mail?  Keep your contacts!  Use this free e-mail change of address 
service from Return Path.  Register now!


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to