Mark Gillingham wrote:
Where else will xterm pick up PATH information than .cshrc? I just noticed that my $PATH in xterm is not the same as that in Terminal.app. Terminal.app is the one that is defined in .cshrc.

Path in xterm:

echo $PATH
/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Volumes/Backup/Users/ markgill:/usr/X11R6/bin:/usr/X11R6/bin
This looks like the standard PATH that you get after you run "source /sw/bin/init.sh". You do this in your .xinitrc before starting the xterm, right?

Path in Terminal.app:

echo $PATH
/sw/lib:/Volumes/Backup/Users/markgill/bin:/bin:/sbin:/usr/bin:/usr/ sbin:/usr/local/bin:/usr/local/sbin:/sw/bin:/sw/sbin:/etc/X11R6:/etc/ X11R6/bin:/usr/X11R6:/usr/X11R6/etc:/usr/X11R6/bin
This one is non-standard. It contains useless elements, like /sw/lib and all the parts with etc, and the order is non-standard. Check you shell startup scripts where this is done and remove it.

--
Martin



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners


Reply via email to