Vertical Split in GNU Screen on Mac OS X

I recently became enamored with the excellent app in Ubuntu GNU screen. I was really happy to see it installed on my Mac as well, but I can't split vertically... I guess I need to update it somehow. I tried mac ports, and brew, but I couldn't find anything. Has anyone done this successfully?


Solution 1:

Patch by Evan Meagher: http://old.evanmeagher.net/2010/12/patching-screen-with-vertical-split-in-os

Using these instructions and patch to compile screen I now have screen with vertical splitting capability in Mac OS X

Solution 2:

At this point…

brew install homebrew/dupes/screen

…will get you a 4.4.0 with vertical splitting.

Solution 3:

Give tmux a try. You will have to use mac ports but its pretty painless minus the build times. If you like what screen gives you tmux does it all and more and is actually being maintained and improved.

Tmux Info

Solution 4:

The best solution these days (late 2014) is to download the current screen source and compile it locally. I just verified this works for me on OSX Mavericks.

There are some patches that need to be applied for building on Mac OSX. I have applied them and put the source code on Github.

Automatic Instuctions

git clone https://github.com/FreedomBen/screen-for-OSX && cd screen-for-OSX/ && ./install.sh

Manual Instructions:

  1. git clone https://github.com/FreedomBen/screen-for-OSX
  2. cd screen-for-OSX/src
  3. ./autogen.sh
  4. ./configure --prefix=/usr/local
  5. make
  6. sudo make install

Post Installation:

The new binary is installed into /usr/local/bin. It doesn't replace the old one, so it needs to be called by absolute path, or you need to rearrange your PATH variable. Please see the README.md file for more details.

Solution 5:

My suggestions (pick one):

  1. Try tmux. You should find it in MacPorts and Homebrew (don't even mention Fink), or you can compile it from source.
  2. You can compile the latest source code (hxxps://savannah.gnu.org/git/?group=screen); it should be easy enough if you look at the README.