Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Update tmux to 1.7 #15446

wants to merge 1 commit into from

3 participants


Upstream tmux 1.7 has been released:

Both of the patches that were in the brew recipe have been applied
upstream, so are no longer necessary here.

CHANGES FROM 1.6 to 1.7, 13 October 2012

  • tmux configuration files now support line-continuation with a "\" at the end of a line.
  • New option status-position to move the status line to the top or bottom of the screen.
  • Enforce history-limit option when clearing the screen.
  • Give each window a unique id, like panes but prefixed with @.
  • Add pane id to each pane in layout description (while still accepting the old form).
  • Provide defined ways to set the various default-path possibilities: ~ for home directory, . for server start directory, - for session start directory and empty for the pane's working directory (the default). All can also be used as part of a relative path (eg -/foo). Also provide -c flags to neww and splitw to override default-path setting.
  • Add -l flag to send-keys to send input literally (without translating key names).
  • Allow a single option to be specified to show-options to show just that option.
  • New command "move-pane" (like join-pane but allows the same window).
  • join-pane and move-pane commands learn "-b" option to place the pane to the left or above.
  • Support for bracketed-paste mode.
  • Allow send-keys command to accept hex values.
  • Add locking around "start-server" to avoid race-conditions.
  • break-pane learns -P/-F arguments for display formatting.
  • set-option learns "-q" to make it quiet, and not print out anything.
  • copy mode learns "wrap-search" option.
  • Add a simple form of output rate limiting by counting the number of certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 250/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval.
  • find-window learns new flags: "-C", "-N", "-T" to match against either or all of a window's content, name, or title. Defaults to all three options if none specified.
  • find-window automatically selects the appropriate pane for the found matches.
  • show-environment can now accept one option to show that environment value.
  • Exit mouse mode when end-of-screen reached when scrolling with the mouse wheel.
  • select-layout learns -u and -U for layout history stacks.
  • kill-window, detach-client, kill-session all learn "-a" option for killing all but the current thing specified.
  • move-window learns "-r" option to renumber window sequentially in a session.
  • New session option "renumber-windows" to automatically renumber windows in a session when a window is closed. (see "move-window -r").
  • Only enter copy-mode on scroll up.
  • choose-* and list-* commands all use "-F" for format specifiers.
  • When spawning external commands, the value from the "default-shell" option is now used, rather than assuming /bin/sh.
  • New choose-tree command to render window/sessions as a tree for selection.
  • display-message learns new format options.
  • For linked-windows across sessions, all flags for that window are now cleared across sessions.
  • Lots and lots of bug fixes, fixing memory-leaks, etc.
  • Various manpage improvements.
@dgoodlad dgoodlad Update tmux to 1.7
Upstream tmux 1.7 has been released:

Both of the patches that were in the brew recipe have been applied
upstream, so are no longer necessary here.

Commits should start with project name, ie

tmux: update to 1.7

@adamv adamv closed this pull request from a commit
@dgoodlad dgoodlad tmux 1.7
Closes #15446.

Signed-off-by: Adam Vandenberg <>
@adamv adamv closed this in 2de0838

@richo Thanks for catching that. Is this convention for commit messages documented somewhere? I had a look through the pages linked from the "Contributing" section on the wiki and in and didn't see anything. I'd like to follow convention, but it's tough if you have to know to go trawling through the commit logs to spot a pattern :)

Happy to add some docs myself, but don't know what your conventions are...


Good question, I'm only aware of it through feedback to PR's to homebrew, it'd be good if it were documented somewhere though.

@theirix theirix referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@dgoodlad dgoodlad tmux 1.7
Closes #15446.

Signed-off-by: Adam Vandenberg <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 13, 2012
  1. @dgoodlad

    Update tmux to 1.7

    dgoodlad committed
    Upstream tmux 1.7 has been released:
    Both of the patches that were in the brew recipe have been applied
    upstream, so are no longer necessary here.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 45 deletions.
  1. +2 −45 Library/Formula/tmux.rb
47 Library/Formula/tmux.rb
@@ -2,8 +2,8 @@
class Tmux < Formula
homepage ''
- url ''
- sha1 '8756f6bcecb18102b87e5d6f5952ba2541f68ed3'
+ url ''
+ sha1 'ee6942a1bc3fc650036f26921d80bc4b73d56df6'
head 'git://'
@@ -15,21 +15,6 @@ class Tmux < Formula
depends_on :libtool
- def patches
- p = []
- if build.stable?
- # Fix for Japanese characters. (Does not apply to head.) See:
- #
- p << ''
- # This patch adds the implementation of osdep_get_cwd for Darwin platform,
- # so that tmux can get current working directory correctly under Mac OS.
- # NOTE: it applies to 1.6 only, and should be removed when 1.7 is out.
- # (because it has been merged upstream)
- p << DATA
- end
- p
- end
def install
system "sh", "" if build.head?
@@ -56,31 +41,3 @@ def test
-diff --git a/osdep-darwin.c b/osdep-darwin.c
-index c5820df..7b15446 100644
---- a/osdep-darwin.c
-+++ b/osdep-darwin.c
-@@ -18,6 +18,7 @@
- #include <sys/types.h>
- #include <sys/sysctl.h>
-+#include <libproc.h>
- #include <event.h>
- #include <stdlib.h>
-@@ -52,6 +53,15 @@
- char *
- osdep_get_cwd(pid_t pid)
- {
-+ static char wd[PATH_MAX];
-+ struct proc_vnodepathinfo pathinfo;
-+ int ret;
-+ ret = proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &pathinfo, sizeof(pathinfo));
-+ if (ret == sizeof(pathinfo)) {
-+ strlcpy(wd, pathinfo.pvi_cdir.vip_path, sizeof(wd));
-+ return (wd);
-+ }
- return (NULL);
- }
Something went wrong with that request. Please try again.