site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com ----- Original Message ----
From: Martin Costabel <costabel@wanadoo.fr> To: darwin-dev@lists.apple.com Sent: Tuesday, January 29, 2008 11:23:19 PM Subject: screen clobbers PATH
I have asked this elsewhere and got no response, even spent time studying the source and got no response either ;-)
Here is the problem:
On Leopard, in the shell started by /usr/bin/screen, the PATH variable is set to
/usr/bin:/bin:/usr/sbin:/sbin
All other environment variables, for example MANPATH or CLASSPATH, are copied from the environment of the shell from which screen is started. Only PATH is crippled to this minimalist value.
This did not happen in Tiger, and it does not happen with other builds of screen, for example from Fink.
Does anyone have an explanation for this annoying behavior, or, more importantly, a fix?
No fix, but neither do I see the problem: (from my screen session) [david@FourSpeed:~ 2006]$ echo $PATH /sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin What do you have in your .screenrc? How are you starting screen? Here is my .screenrc: [david@FourSpeed:~ 2007]$ cat .screenrc # Turn off the startup message. startup_message off # increase default scrollback buffer and use UTF-8 defscrollback 1000 defutf8 on # display activity message by default #defmonitor on # Do not use xterms alternate window buffer (won't add lines to scrollback bfr) #termcapinfo xterm|xterms|xs|xterm-color ti=\E7\E[?47l # Set the caption to the active windows caption always "%l: %-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" # New screens for various fixed processes screen -t console 0 tail -n 30 -F /var/log/system.log screen -t links 1 /sw/bin/links $HOME/.links/startpage.html # Create a window and use the default shell screen $SHELL # Display the first window select 0 _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
David Mackler