screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zsh under leopard, screen not executing zprofile, wiping PATH


From: David T. Pierson
Subject: Re: zsh under leopard, screen not executing zprofile, wiping PATH
Date: Thu, 20 Nov 2008 23:09:33 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Nov 20, 2008 at 11:51:31PM +0800, Aaron Davies wrote:
> i have an old powerbook g4 which i recently upgraded (in place, not
> archive-and-install) from tiger to leopard. now, when i start screen,
> zsh apparently resets the PATH to the bare basic four directories

I encountered this recently as well.  Unfortunately, I don't think the
shell is involved at all.  I turned on zombie mode then ran:

  screen env

The output showed PATH as the system default:

  /usr/bin:/bin:/usr/sbin:/sbin

rather than my custom PATH.

Looking at the patches Apple applied [1] to screen, the one that seems
most suspect is that they invoke login when creating a new window.

However, I couldn't duplicate this behavior of the PATH being reset
when invoking login myself, even using the same flags they seem to use.

The good news is that the MacPorts [2] screen port does not have this
problem.

David

[1] http://www.opensource.apple.com/darwinsource/10.5.5/screen-12/patches/
[2] http://www.macports.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]