mxcl/homebrew — Issue #9753: iTerm2-customized version of tmux
Author: apetresc
Created: 2012-01-24 00:22:35+00:00
State: open

The marquee feature of the latest canary build of iTerm2 is some very exciting tmux integration: http://code.google.com/p/iterm2/source/search?q=iTerm2+1.0.0.20111219&origq=iTerm2+1.0.0.20111219&btnG=Search+Trunk

Unfortunately, it requires a patched version of tmux: http://www.google.com/url?q=http://code.google.com/p/iterm2/downloads/detail%3Fname%3Dtmux-for-iTerm2-20111219.tar.gz&usg=AFQjCNF-HFf1Cf96e3rO0LWJUAuOZNDoDw

As far as I can tell, this patched version behaves identically to regular tmux, _except_ when run with the `-C` flag.

I'm not sure if/what iTerm developers are doing to get these changes merged into upstream tmux; in the meantime, is there anything Homebrew can do to support this? Can we have a `--with-iterm2` flag that fetches the patched code instead? Can we just use this version directly since the changes don't affect anyone if `-C` is not passed in?

Just wanted a place to brainstorm; this new iTerm2 feature looks really exciting, and I'm sure many Homebrew users use iTerm2 and tmux.