From: Theodore Tso Date: Mon, 11 Jun 2007 13:31:00 GMT Subject: Re: Please pull mergetool.git Message-ID: <20070611133100.GB15117@thunk.org> In-Reply-To: <46a038f90706101855g639656f3qe80adeeb3a7d6dc2@mail.gmail.com> On Mon, Jun 11, 2007 at 01:55:25PM +1200, Martin Langhoff wrote: > FWIW, it depends on whether you are using xterm (DISPLAY is set) or > Terminal.app (DISPLAY may not be set). In any case FileMerge.app will > ignore DISPLAY. Is there a reliable way on MacOS to determine whether the user is sitting in front of the terminal, as opposed to logged into the MacOS box remotely? Ideally we would only try opendiff/FileMerge.app if we new that the user is indeed sitting in front of the graphical display. - Ted