site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031) David Mackler wrote: /usr/bin:/bin:/usr/sbin:/sbin 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 Are you sure this is /usr/bin/screen and not /sw/bin/screen? Using your .screenrc (minus the "links" line), I still see the same problem. -- 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... From: Martin Costabel <costabel@wanadoo.fr> [] On Leopard, in the shell started by /usr/bin/screen, the PATH variable is set to 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? As I mentioned, I don't see the problem with Fink's screen, although it is the same version as Apple's. It is also new in Leopard, it was not present in Tiger. What do you have in your .screenrc? How are you starting screen? I don't have any ~/.screenrc, never had. Usually I use 'screen -ls' to recall where I am and then 'screen -R'. I could use 'screen tcsh -l' and the right PATH would come back, but I cannot do this with 'screen -R'. 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 This email sent to site_archiver@lists.apple.com
participants (1)
-
Martin Costabel