site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) In message <484969.75807.qm@web83407.mail.sp1.yahoo.com>, David Mackler writes: The most common problem I've had with PATH getting clobbered has involved system profile/startup scripts clobbering PATH, and the shell happening to trigger this. It is definitely /usr/bin/screen that is clobbering PATH. -- Martin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Peter Seebach wrote: Hmmm. No screen installed by fink. David, do you perhaps have the Fink "source /sw/bin/init.sh" startup command in your ~/.bashrc script? This non-standard placement would explain that you get the Fink PATH components when you run "screen $SHELL", because then you would get them in any shell, regardless of the environment it runs in. Look also at /usr/libexec/path_helper. Thanks for guessing, but none of these explains the behavior I am seeing. The path_helper script would additionally place /usr/local/bin and /usr/X11/bin on the PATH, which I am not getting. I also put tracers in all the shell startup scripts, and I see that the only ones that are executed are /etc/csh.cshrc and ~/.tcshrc (I have tcsh as login shell). In none of these scripts there is anything influencing PATH. I am setting my PATH in scripts run from /etc/csh.login. I even created a new account with bash as login shell, and I am seeing the exact same behavior; this time it is only ~/.bashrc that is executed. I can't believe I am the only one seeing this. I have seen this on every machine running Leopard I have looked at and on every account I have created or could get my fingers on. This email sent to site_archiver@lists.apple.com
participants (1)
-
Martin Costabel