• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: screen clobbers PATH
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: screen clobbers PATH


  • Subject: Re: screen clobbers PATH
  • From: Martin Costabel <email@hidden>
  • Date: Wed, 30 Jan 2008 22:29:33 +0100

Peter Seebach wrote:
In message <email@hidden>, David Mackler writes:

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.


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.

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.

It is definitely /usr/bin/screen that is clobbering PATH.

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.

--
Martin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: screen clobbers PATH
      • From: Juan Manuel Palacios <email@hidden>
    • Re: screen clobbers PATH
      • From: Jonas Maebe <email@hidden>
References: 
 >Re: screen clobbers PATH (From: email@hidden (Peter Seebach))

  • Prev by Date: Re: Cancel Sleep
  • Next by Date: Re: screen clobbers PATH
  • Previous by thread: Re: screen clobbers PATH
  • Next by thread: Re: screen clobbers PATH
  • Index(es):
    • Date
    • Thread