Hi,
I'm very sorry to be compelled to post this message, but I've searched 
the archives of both users and beginners mailing lists without finding 
an answer.

I've put the line:

source /sw/bin/init.csh

in my .tcshrc file, but the environment variables are not updated at 
all, so I need to type manually the command "source /sw/bin/init.csh" 
every time I open a new terminal window. I'm sure that init.csh is 
executed, because I've put the following echo commands at the end of it:

echo "I AM AT THE END OF init.csh"
echo $PATH

I've also put similar echo commands in other shell startup scripts, and 
that's what I get when I open a new terminal window:

Welcome to Darwin!

I AM AT THE END OF environment.mine
/sw/bin:/sw/sbin:/usr/bin:/bin:/Users/andrea:/usr/X11R6/bin

I AM AT THE END OF rc.mine
/sw/bin:/sw/sbin:/usr/bin:/bin:/Users/andrea:/usr/X11R6/bin

I AM AT THE END OF rc

I AM AT THE END OF rc.mine
/Users/andrea/bin/powerpc-apple-
darwin:/Users/andrea/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/
sbin:/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-current

I AM AT THE END OF rc

I AM AT THE END OF init.csh
/sw/bin:/sw/sbin:/Users/andrea/bin/powerpc-apple-
darwin:/Users/andrea/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/
sbin:/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-
current:/usr/X11R6/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current

I AM AT THE END OF .tcshrc

[localhost:~] andrea% echo $PATH
/Users/andrea/bin/powerpc-apple-
darwin:/Users/andrea/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/
sbin:/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-current

Please note that rc.mine and rc scripts are executed twice. The second 
time paths to Wierda's teTeX distribution are added while those relative 
to fink are deleted. Evetually when I get the prompt and type echo $PATH 
the fink's paths are lost.

I'm not so good at Unix OS to fix this problem, but I think to have 
provided enough insight to get a solution.

Please help,
Andrea.



---
Andrea Riciputi        <mailto:[EMAIL PROTECTED]>

"Science is like sex: sometimes something useful comes out,
   but that is not the reason we are doing it" -- (Richard Feynman)



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to