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