[TxMt] Re: 'mate' command from within 'screen'

Justin Catterall 100621.1 at masonsmusic.co.uk
Wed Nov 17 15:37:46 UTC 2010


On 16 Nov 2010, at 18:02, Martin Kühl wrote:

> On Tue, Nov 16, 2010 at 18:01, Allan Odgaard  
> <mailinglist at textmate.org> wrote:
>> On 16 Nov 2010, at 17:49, Justin Catterall wrote:
>>
>>> [...] The initial call to TM is working because TM activated. Any  
>>> ideas how to make the next step work?
>>
>> The mate command uses distributed objects to talk to
>> TextMate. Starting with 10.5 or 10.6 this is no longer supported from
>> a shell session when there is no connection to the window server
>> (AFAIK).
>>
>> As a workaround you can alias ‘mate’ to ‘open -a TextMate’. It
>> won’t be able to do -w though.
>
> Also, I seem to recall Apple patching the version of screen shipping
> with 10.5 and 10.6 to maintain this connection to the window server.
> If you built screen yourself or installed it with an external
> packaging system, you might want to try /usr/bin/screen instead.


I can make this work, and with 'open -a TextMate' and using -W, but  
the bash session is blocked until TextMate quits, not when it closes  
the file. Close, but no cigar. This is using /usr/bin/screen.

I'm just going to have to get used to more windows on my desktop.

-- 
Justin Catterall                               www.masonsmusic.co.uk
Director                                       T: +44 (0)1424 427562
Masons Music Ltd                               F: +44 (0)1424 434362
                            For full company details see our web site



More information about the textmate mailing list