Re: [PATCH] git-web--browse: improve browser support under OS X
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Feb 14, 2008, 00:13 UTC
- Message-ID
- <76718490802131613h713be217s51ff85a0714df5ff@mail.gmail.com>
- In-Reply-To
- <CE42C4F4-1E6B-4300-9FD9-29F7E17B4F27@ai.rug.nl>
On Feb 13, 2008 5:46 PM, Pieter de Bie <pdebie@ai.rug.nl> wrote:
Show 5 quoted lines
> When I SSH to my mac, the SECURITYSESSIONID variable isn't set, but > open will succeed in displaying the page. > > Not sure if that is a valid concern though; how often would you do a > remote login to your mac to display a webpage?
That is quite odd, but I've confirmed it under 10.5.2. In 10.5 I can ssh to another Mac and /usr/bin/open a document. If I have a GUI login already established on that Mac, I can see (via screen sharing) the application is launched and the document handled. But here's the odd part -- if I *don't* have a GUI login on that Mac, the application for the document is *still* launched, but I guess it's running in some sort of headless mode. I don't recall 10.4 operating this way.
But this is neither here nor there. AFAIK, SECURITYSESSIONID is unique to OS X and it reliably indicates that the user is sitting in front of the OS X GUI.
j.