[TxMt] An old error is back: failed to establish connection with TextMate

Markus Banfi markus.banfi at gmail.com
Wed Mar 4 19:08:07 UTC 2009


Hi,

It seems an old error is back.
When starting TextMate with the mate shell command from within a
'screen' session you get "failed to establish connection with
TextMate".

This was commented on:
http://blog.macromates.com/2007/leopard-issues/
http://northstarlabs.net/2007/11/textmate-on-leopard-command-line-tool-fix/

Using the 'screen' utility from MacPorts used to fix this.

It looks like there is a problem with the current version of screen in
MacPorts (4.0.3_3) which brings this error back:
https://trac.macports.org/ticket/18235

Until this is fixed in MacPorts the solution seems to be reverting
back to version 4.0.3_1 in MacPorts.
Instructions about how to install older package versions in MacPorts
can be found here:
http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/

Hint: The SVN revision for 4.0.3_1 is 45522.
(http://trac.macports.org/browser/trunk/dports/sysutils/screen/Portfile?rev=45522)
So the SVN command according to the instructions mentioned above would be:
svn co --revision 45522
http://svn.macports.org/repository/macports/trunk/dports/sysutils/screen/
sysutils/screen/

It worked for me.

Hope this helps if anybody runs into this issue.


Regards,
 -Markus-



More information about the textmate mailing list