<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Leopard Upgrade Report: Mo&#8217; Features, Mo&#8217; Problems</title>
	<atom:link href="http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/</link>
	<description>Jamie Flournoy's Software Development Blog</description>
	<lastBuildDate>Mon, 02 Aug 2010 14:57:29 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: blue collar mac user</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-13163</link>
		<dc:creator>blue collar mac user</dc:creator>
		<pubDate>Tue, 23 Dec 2008 17:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-13163</guid>
		<description>We&#039;re also having a weird problem with Leopard aliases...to each other. My office has a mix of OS9 &amp; Tiger Macs and we just received new iMacs. We started with just two of the new iMacs with no problem; they could communicate with each other, the older Macs and the file server with no problem. Then we added a third new iMac and now the aliases to each other don&#039;t work. If Mac A connects to Mac B with an alias you get B, but if Mac A then tries to connect to Mac C it gets Mac B again. The same happens if you hook to Mac C first and try to get to B. This odd behavior happens on all three of the iMacs, and all our devices have manually set IP addresses.

Worse yet, Leopard&#039;s network performance is absolutely horrible compared to Tiger &amp; OS9. The wait for files to index is substantially longer. While file transfer time is faster, waiting for Leopard to get around to initiating the transfer (3 to 45 seconds) is absolutely ridiculous. I do not get any of this bad behavior with OS9 &amp; Tiger. Something is definitely wrong with Leopard.</description>
		<content:encoded><![CDATA[<p>We&#8217;re also having a weird problem with Leopard aliases&#8230;to each other. My office has a mix of OS9 &amp; Tiger Macs and we just received new iMacs. We started with just two of the new iMacs with no problem; they could communicate with each other, the older Macs and the file server with no problem. Then we added a third new iMac and now the aliases to each other don&#8217;t work. If Mac A connects to Mac B with an alias you get B, but if Mac A then tries to connect to Mac C it gets Mac B again. The same happens if you hook to Mac C first and try to get to B. This odd behavior happens on all three of the iMacs, and all our devices have manually set IP addresses.</p>
<p>Worse yet, Leopard&#8217;s network performance is absolutely horrible compared to Tiger &amp; OS9. The wait for files to index is substantially longer. While file transfer time is faster, waiting for Leopard to get around to initiating the transfer (3 to 45 seconds) is absolutely ridiculous. I do not get any of this bad behavior with OS9 &amp; Tiger. Something is definitely wrong with Leopard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caric</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-9748</link>
		<dc:creator>caric</dc:creator>
		<pubDate>Wed, 20 Aug 2008 04:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-9748</guid>
		<description>actually, the shells run inside of screen do inherit from the environment.

I did this:

export FOO=bar
screen
echo $FOO

and it printed out bar.

but the shells weren&#039;t login shells until I tweaked the settings. and yes, $PATH did get squashed.</description>
		<content:encoded><![CDATA[<p>actually, the shells run inside of screen do inherit from the environment.</p>
<p>I did this:</p>
<p>export FOO=bar<br />
screen<br />
echo $FOO</p>
<p>and it printed out bar.</p>
<p>but the shells weren&#8217;t login shells until I tweaked the settings. and yes, $PATH did get squashed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caric</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-9747</link>
		<dc:creator>caric</dc:creator>
		<pubDate>Wed, 20 Aug 2008 04:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-9747</guid>
		<description>thanks for figuring out how to fix screen. that was driving me crazy! I could tell right away that not all my shell&#039;s . files were being run, but I didn&#039;t know how to fix it. I just set the shells inside screen to be login shells, that was good enough for me. it would be nice if screen would inherit the environment though.</description>
		<content:encoded><![CDATA[<p>thanks for figuring out how to fix screen. that was driving me crazy! I could tell right away that not all my shell&#8217;s . files were being run, but I didn&#8217;t know how to fix it. I just set the shells inside screen to be login shells, that was good enough for me. it would be nice if screen would inherit the environment though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Flournoy</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-9557</link>
		<dc:creator>Jamie Flournoy</dc:creator>
		<pubDate>Mon, 04 Aug 2008 21:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-9557</guid>
		<description>It seems like Neal was close to the right answer. The version of screen that comes with Leopard apparently doesn&#039;t inherit environment variables from the parent process (such as bash running in a Terminal.app window), but it also invokes shells in each screen as non-login shells by default (&#039;login -pflq myusername /bin/bash&#039; in `ps aux`).

So, ~/.bash_profile is not executed, but ~/.bashrc is.

That means there are three ways to fix this that I can think of:

1) Tell GNU Screen that you do want it to invoke Bash as a login shell in each screen. This is not done with the -l argument to screen, though it seems like that might work. It is done by specifying the -s option, with a value of -/bin/bash (the leading - tells Bash to act as a login shell). I found this solution here:

http://forum.osnn.net/showthread.php?p=825125#8

2) Move everything that you want loaded in a shell running within GNU Screen into your .bashrc instead of .bash_profile.

3) Do as I originally did, and put a &#039;setenv&#039; command in your .screenrc file that re-establishes the settings from your ~/.bash_profile.

In my case, I&#039;m using a custom environment-setting shell script for each project I&#039;m working on, instead of having per-user global settings. So #1 and #2 won&#039;t work. I may decide to give up on this approach and just stuff everything into .bashrc and lose the separation of environments between projects, for simplicity&#039;s sake.

Anyway it&#039;s good to know what the heck is going on.</description>
		<content:encoded><![CDATA[<p>It seems like Neal was close to the right answer. The version of screen that comes with Leopard apparently doesn&#8217;t inherit environment variables from the parent process (such as bash running in a Terminal.app window), but it also invokes shells in each screen as non-login shells by default (&#8217;login -pflq myusername /bin/bash&#8217; in `ps aux`).</p>
<p>So, ~/.bash_profile is not executed, but ~/.bashrc is.</p>
<p>That means there are three ways to fix this that I can think of:</p>
<p>1) Tell GNU Screen that you do want it to invoke Bash as a login shell in each screen. This is not done with the -l argument to screen, though it seems like that might work. It is done by specifying the -s option, with a value of -/bin/bash (the leading &#8211; tells Bash to act as a login shell). I found this solution here:</p>
<p><a href="http://forum.osnn.net/showthread.php?p=825125#8" rel="nofollow">http://forum.osnn.net/showthread.php?p=825125#8</a></p>
<p>2) Move everything that you want loaded in a shell running within GNU Screen into your .bashrc instead of .bash_profile.</p>
<p>3) Do as I originally did, and put a &#8217;setenv&#8217; command in your .screenrc file that re-establishes the settings from your ~/.bash_profile.</p>
<p>In my case, I&#8217;m using a custom environment-setting shell script for each project I&#8217;m working on, instead of having per-user global settings. So #1 and #2 won&#8217;t work. I may decide to give up on this approach and just stuff everything into .bashrc and lose the separation of environments between projects, for simplicity&#8217;s sake.</p>
<p>Anyway it&#8217;s good to know what the heck is going on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Caines-Gooby</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-9016</link>
		<dc:creator>Jay Caines-Gooby</dc:creator>
		<pubDate>Wed, 02 Jul 2008 12:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-9016</guid>
		<description>I had the same problem. The quickest fix for me was to use the gnu screen from fink. This solved all my lost environment issues (make sure that /sw/bin is earlier in your PATH than /usr/bin or you&#039;ll still be using the Leopard-supplied screen</description>
		<content:encoded><![CDATA[<p>I had the same problem. The quickest fix for me was to use the gnu screen from fink. This solved all my lost environment issues (make sure that /sw/bin is earlier in your PATH than /usr/bin or you&#8217;ll still be using the Leopard-supplied screen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Flournoy</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-5407</link>
		<dc:creator>Jamie Flournoy</dc:creator>
		<pubDate>Mon, 24 Mar 2008 20:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-5407</guid>
		<description>&gt;it appears that in leopard, Terminal runs screen as a login shell. that is,
&gt;it prefixes a “-” to the command when it invokes it. run “ps” to see your running processes to see this.

Not on my system it doesn&#039;t. I had a shell script that set a bunch of environment variables, then ran screen, which then made a bunch of screens with shells in them. Now that doesn&#039;t work (on Leopard). So it&#039;s not about how screen is getting invoked, as far as I can tell; screen is just resetting the value of PATH before invoking the shell in each screen. Lame.</description>
		<content:encoded><![CDATA[<p>>it appears that in leopard, Terminal runs screen as a login shell. that is,<br />
>it prefixes a “-” to the command when it invokes it. run “ps” to see your running processes to see this.</p>
<p>Not on my system it doesn&#8217;t. I had a shell script that set a bunch of environment variables, then ran screen, which then made a bunch of screens with shells in them. Now that doesn&#8217;t work (on Leopard). So it&#8217;s not about how screen is getting invoked, as far as I can tell; screen is just resetting the value of PATH before invoking the shell in each screen. Lame.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neal</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-5207</link>
		<dc:creator>Neal</dc:creator>
		<pubDate>Sun, 16 Mar 2008 20:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-5207</guid>
		<description>a comment about screen:

it appears that in leopard, Terminal runs screen as a login shell.  that is, it prefixes a &quot;-&quot; to the command when it invokes it.  run &quot;ps&quot; to see your running processes to see this.

this seems to change screen&#039;s behavior.</description>
		<content:encoded><![CDATA[<p>a comment about screen:</p>
<p>it appears that in leopard, Terminal runs screen as a login shell.  that is, it prefixes a &#8220;-&#8221; to the command when it invokes it.  run &#8220;ps&#8221; to see your running processes to see this.</p>
<p>this seems to change screen&#8217;s behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Long</title>
		<link>http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/comment-page-1/#comment-4048</link>
		<dc:creator>Michael Long</dc:creator>
		<pubDate>Wed, 23 Jan 2008 03:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/27/leopard-upgrade-report-many-new-features-many-new-bugs/#comment-4048</guid>
		<description>One of the biggest complaints about the old Finder was that every time you went into a new folder it would appear the default view mode (usually icon mode). 

So for those of use who liked to browse using list mode, navigation was a pain in the rear as each time you changed folders the Finder would change views. You&#039;d change it back, then open a subfolder and the process would begin anew. Hilarious.

Now, you could try to change the view mode for a certain folder, but if you didn&#039;t have the right privileges to do so the Finder would just forget them, and the next time you returned to that folder you&#039;d be right back where you started.

And you could try setting you own default, but again that wouldn&#039;t work for some folders, or for others that had already been set to a different mode.

In Leopard, Apple reversed this behavior. The Finder will stay in the selected view mode when browsing, unless explicitly told otherwise. So if you always want a certain folder to display thumbnails, just hit the Icon View button, then do a command-J and check the &quot;Always open in icon view&quot; box.

Now the Finder will remember those settings for that folder. This way you can stay in your preferred browsing mode, but still have &quot;special&quot; folders that always display thumbnails or start in Cover Flow.</description>
		<content:encoded><![CDATA[<p>One of the biggest complaints about the old Finder was that every time you went into a new folder it would appear the default view mode (usually icon mode). </p>
<p>So for those of use who liked to browse using list mode, navigation was a pain in the rear as each time you changed folders the Finder would change views. You&#8217;d change it back, then open a subfolder and the process would begin anew. Hilarious.</p>
<p>Now, you could try to change the view mode for a certain folder, but if you didn&#8217;t have the right privileges to do so the Finder would just forget them, and the next time you returned to that folder you&#8217;d be right back where you started.</p>
<p>And you could try setting you own default, but again that wouldn&#8217;t work for some folders, or for others that had already been set to a different mode.</p>
<p>In Leopard, Apple reversed this behavior. The Finder will stay in the selected view mode when browsing, unless explicitly told otherwise. So if you always want a certain folder to display thumbnails, just hit the Icon View button, then do a command-J and check the &#8220;Always open in icon view&#8221; box.</p>
<p>Now the Finder will remember those settings for that folder. This way you can stay in your preferred browsing mode, but still have &#8220;special&#8221; folders that always display thumbnails or start in Cover Flow.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
