Andrea Riciputi at [EMAIL PROTECTED] wrote: > The solution is quite simple: just comment out the "source > /usr/share/init/tcsh/rc" line in ~/.tcshrc file and do the same for the > "source /usr/share/init/tcsh/login" line in ~/.login file. (Note for > beginners: Use emacs or pico to edit these files and add a # at the very > beginning of the lines that you want to comment out.) > > Now I'm wondering why rc and login scripts are called twice, perhaps > someone with more knowledge than me can explain this.
You did the right thing in commenting out the 'source' lines you had added in your dot files. The problem here is a documentation problem. The README in /usr/share/init/tcsh/ says to add those 'source' lines to your dot files but then it goes on to say that to have this happen system wide (i.e. for all users), you could put the 'source' lines in the /etc/csh.* files. But this README was written by someone from MIT (an author of the tcshrc shell) and it describes a generic situation - it knows nothing of how things actually are shipped on Mac OS X. In fact, as you have discovered, the /etc/csh.* files on OS X already include the 'source' lines and so you should not add them to your own dot files. -- Cameron Hayne ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
