MateFailsWithScreen

Troubleshooting.MateFailsWithScreen History

Hide minor edits - Show changes to markup

June 15, 2009, at 08:36 UTC by drg - use svn export instead of svn co
Changed line 34 from:
    $ svn co --revision 45522 \
to:
    $ svn export --revision 45522 \
June 11, 2009, at 12:02 UTC by Joel Chippindale - Reverted to original link
June 11, 2009, at 12:01 UTC by Joel Chippindale -
Changed line 17 from:

To get that version you need to follow these steps ([source]( http://blog.monkeysthumb.org/2009/06/11/install-old-version-of-screen-using-mac-ports/))

to:

To get that version you need to follow these steps ([source]( http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/))

June 11, 2009, at 05:25 UTC by Joel Chippindale - Linked to specific instructions to downgrade screen on macports
Changed line 17 from:

To get that version you need to follow these steps ([source]( http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/))

to:

To get that version you need to follow these steps ([source]( http://blog.monkeysthumb.org/2009/06/11/install-old-version-of-screen-using-mac-ports/))

March 05, 2009, at 09:51 UTC by omega - Add $ infront of commands
Changed lines 34-35 from:
    svn co --revision 45522
    http://svn.macports.org/repository/macports/trunk/dports/sysutils/screen/
to:
    $ svn co --revision 45522     http://svn.macports.org/repository/macports/trunk/dports/sysutils/screen/ \
Changed lines 42-43 from:
    portindex .
to:
    $ portindex .
Changed lines 57-58 from:
    sudo port install screen @4.0.3_1
to:
    $ sudo port install screen @4.0.3_1
Changed lines 63-64 from:
    sudo port deactivate screen @4.0.3_3+darwin9
to:
    $ sudo port deactivate screen @4.0.3_3+darwin9
Changed line 67 from:
    sudo port activate screen @4.0.3_1
to:
    $ sudo port activate screen @4.0.3_1
March 05, 2009, at 09:50 UTC by omega -
Changed lines 42-43 from:

`portindex .`

to:
    portindex .
Changed lines 57-58 from:

`sudo port install screen @4.0.3_1`

to:
    sudo port install screen @4.0.3_1
Changed lines 63-64 from:

`sudo port deactivate screen @4.0.3_3+darwin9`

to:
    sudo port deactivate screen @4.0.3_3+darwin9
Changed line 67 from:

`sudo port activate screen @4.0.3_1`

to:
    sudo port activate screen @4.0.3_1
March 05, 2009, at 09:49 UTC by omega - fix links
Changed lines 15-17 from:

It has been established that 4.0.3_1 works (bug: https://trac.macports.org/ticket/18235).

To get that version you need to follow these steps (source: http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/)

to:

It has been established that 4.0.3_1 works ([bug]( https://trac.macports.org/ticket/18235)).

To get that version you need to follow these steps ([source]( http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/))

March 05, 2009, at 09:48 UTC by omega - change to markdown
Changed lines 1-4 from:

There are two problems with screen and the command line mate , and of course the solution to one brings out the other :)

Apple screen (/usr/bin/screen)

to:

There are two problems with screen and the command line `mate` , and of course the solution to one brings out the other :)

  1. Apple screen (`/usr/bin/screen`)
Changed lines 7-8 from:

MacPorts screen (/opt/local/bin/screen pr default)

to:
  1. MacPorts screen (`/opt/local/bin/screen` pr default)
Changed lines 11-12 from:

failed to establish connection with TextMate

to:

`failed to establish connection with TextMate`

Changed lines 20-29 from:

NB: Do not uninstall the failing version before proceeding, you need to have 4.0.3_3 installed so you can in fact choose to install 4.0.3_1 at the end

Step 1: Set up a local repository

We edit @@/opt/local/etc/macports/sources.conf and add a line before the last rsync:// line:

file:///Users/Shared/dports
to:
  • NB**: Do not uninstall the failing version before proceeding, you need to have 4.0.3_3 installed so you can in fact choose to install 4.0.3_1 at the end
    1. Step 1: Set up a local repository

We edit `/opt/local/etc/macports/sources.conf` and add a line _before_ the last `rsync://` line:

    file:///Users/Shared/dports
Changed lines 30-31 from:

Step 2: Check out the correct version of the Portfile for screen 4.0.3_1

to:
  1. Step 2: Check out the correct version of the Portfile for screen 4.0.3_1
Changed lines 34-41 from:
svn co --revision 45522
http://svn.macports.org/repository/macports/trunk/dports/sysutils/screen/
sysutils/screen/

Step 3: Update the portindex, so you can find the old screen version again

to:
    svn co --revision 45522
    http://svn.macports.org/repository/macports/trunk/dports/sysutils/screen/
    sysutils/screen/
  1. Step 3: Update the portindex, so you can find the old screen version again
Changed lines 42-45 from:

portindex .

Step 4: Verify that the port got recognized

to:

`portindex .`

  1. Step 4: Verify that the port got recognized
Changed lines 48-53 from:
$ port list screen
screen                         @4.0.3          sysutils/screen
screen                         @4.0.3          sysutils/screen
to:
    $ port list screen
    screen                         @4.0.3          sysutils/screen
    screen                         @4.0.3          sysutils/screen
Changed lines 55-58 from:

Step 5: Compile 4.0.3_1

sudo port install screen @4.0.3_1

to:
  1. Step 5: Compile 4.0.3_1

`sudo port install screen @4.0.3_1`

Changed lines 61-69 from:

Step 6: Deactivate broken screen 4.0.3_3

sudo port deactivate screen @4.0.3_3+darwin9

Step 7: Activate 4.0.3_1

sudo port activate screen @4.0.3_1

And if all worked out, you should now be able to use mate from within screen again :)

to:
  1. Step 6: Deactivate broken screen 4.0.3_3

`sudo port deactivate screen @4.0.3_3+darwin9`

  1. Step 7: Activate 4.0.3_1

`sudo port activate screen @4.0.3_1`

And if all worked out, you should now be able to use `mate` from within screen again :)

March 05, 2009, at 09:17 UTC by omega -
Changed lines 1-4 from:

There are two problems with screen and the command line mate, and of course the solution to one brings out the other :)

Apple screen (/usr/bin/screen)

to:

There are two problems with screen and the command line mate , and of course the solution to one brings out the other :)

Apple screen (/usr/bin/screen)

Changed lines 7-8 from:

MacPorts screen (/opt/local/bin/screen pr default)

to:

MacPorts screen (/opt/local/bin/screen pr default)

Changed lines 22-23 from:

Step 1: Set up a local repository

to:

Step 1: Set up a local repository

Changed lines 32-33 from:

Step 2: Check out the correct version of the Portfile for screen 4.0.3_1

to:

Step 2: Check out the correct version of the Portfile for screen 4.0.3_1

Changed lines 42-43 from:

Step 3: Update the portindex, so you can find the old screen version again

to:

Step 3: Update the portindex, so you can find the old screen version again

Changed lines 48-49 from:

Step 4: Verify that the port got recognized

to:

Step 4: Verify that the port got recognized

Changed lines 60-61 from:

Step 5: Compile 4.0.3_1

to:

Step 5: Compile 4.0.3_1

Changed lines 66-67 from:

Step 6: Deactivate broken screen 4.0.3_3

to:

Step 6: Deactivate broken screen 4.0.3_3

Changed line 70 from:

Step 7: Activate 4.0.3_1

to:

Step 7: Activate 4.0.3_1

March 05, 2009, at 09:16 UTC by omega - First stab
Added lines 1-74:

There are two problems with screen and the command line mate, and of course the solution to one brings out the other :)

Apple screen (/usr/bin/screen)

This plain and simple wont work. So use MacPorts screen.

MacPorts screen (/opt/local/bin/screen pr default)

This is where it gets complicated. The latest version of MacPorts screen port, which at time of writing is 4.0.3_3 does not work. It fails with

failed to establish connection with TextMate

which, incidentally, is the exact same error you get with Apple screen.

It has been established that 4.0.3_1 works (bug: https://trac.macports.org/ticket/18235).

To get that version you need to follow these steps (source: http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/)

NB: Do not uninstall the failing version before proceeding, you need to have 4.0.3_3 installed so you can in fact choose to install 4.0.3_1 at the end

Step 1: Set up a local repository

We edit @@/opt/local/etc/macports/sources.conf and add a line before the last rsync:// line:

file:///Users/Shared/dports

The path can be anywhere, really, just make sure the directory exists, and that you can somehow write to it.

Step 2: Check out the correct version of the Portfile for screen 4.0.3_1

Make sure you are standing in the directory you created in Step 1, then do

svn co --revision 45522
http://svn.macports.org/repository/macports/trunk/dports/sysutils/screen/
sysutils/screen/

Step 3: Update the portindex, so you can find the old screen version again

If you are still in the directory you created, run

portindex .

Step 4: Verify that the port got recognized

To check that we now have two ports, we run

$ port list screen
screen                         @4.0.3          sysutils/screen
screen                         @4.0.3          sysutils/screen

The versions are alarmingly similar, but since you didn't remove 4.0.3_3, you can still pick the right one.

Step 5: Compile 4.0.3_1

sudo port install screen @4.0.3_1

This will fail, but in the failing it will tell you what version to deactivate. The fail message will include something like (screen @4.0.3_3+darwin9), which you will need for the next step.

Step 6: Deactivate broken screen 4.0.3_3

sudo port deactivate screen @4.0.3_3+darwin9

Step 7: Activate 4.0.3_1

sudo port activate screen @4.0.3_1

And if all worked out, you should now be able to use mate from within screen again :)