git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Please pull mergetool.git

From
Theodore Tso <tytso@mit.edu>
Date
Jun 11, 2007, 13:31 UTC
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
Previous: Martin Langhoff
Message 7 of 7 in “Please pull mergetool.git”
  1. Theodore Ts'oJun 10, 2007
  2. Junio C HamanoJun 10, 2007
  3. Theodore TsoJun 10, 2007
  4. Brian GernhardtJun 10, 2007
  5. Junio C HamanoJun 11, 2007
  6. Martin LanghoffJun 11, 2007
  7. Theodore TsoJun 11, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.