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/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users