pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/tmux

Module Name:    pkgsrc
Committed By:   fhajny
Date:           Fri Apr 21 11:55:37 UTC 2017

Modified Files:
        pkgsrc/misc/tmux: Makefile distinfo
        pkgsrc/misc/tmux/patches: patch-server-client.c

Log Message:
Update misc/tmux to 2.4.

Incompatible Changes

* Key tables have undergone major changes. Mode key tables are no longer
  separate from the main key tables. All mode key tables have been removed,
  together with the -t flag to bind-key and unbind-key.

  The emacs-edit, vi-edit, emacs-choose and vi-choose tables have been replaced
  by fixed key bindings in the command prompt and choose modes. The mode-keys
  and status-keys options remain.

  The emacs-copy and vi-copy tables have been replaced by the copy-mode and
  copy-mode-vi tables. Commands are sent using the -X and -N flags to
  send-keys. So the following:

    bind -temacs-copy C-Up scroll-up
    bind -temacs-copy -R5 WheelUpPane scroll-up


    bind -Tcopy-mode C-Up send -X scroll-up
    bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up

  These changes allows the full command parser (including command sequences) and
  command set to be used - for example, the normal command prompt with editing
  and history is now used for searching, jumping, and so on instead of a custom
  one. The default C-r binding is now:

    bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"

  There are also some new commmands available with send -X, such as
* set-remain-on-exit has gone -- can be achieved with hooks instead.
* Hooks: before hooks have been removed and only a selection of commands now
  have after hooks (they are no longer automatic). Additional hooks have been
* The xterm-keys option now defaults to on.

Normal Changes

* Support for mouse double and triple clicks.
* BCE (Background Colour Erase) is now supported.
* All occurrences of a search string in copy mode are now highlighted;
  additionally, the number of search results is displayed. The highlighting
  updates interactively with the default emacs key bindings (incremental
* source-file now understands glob patterns.
* Formats now have simple comparisons:


* There are the following new formats:

  - #{version} -- the tmux server version;
  - #{client_termtype} -- the terminal type of the client;
  - #{client_name} -- the name of a client;
  - #{client_written} -- the number of bytes written to the client.

* The configuration file now accepts %if/%endif conditional blocks which are
  processed when it is parsed; the argument is a format string (useful with the
  new format comparison options).
* detach-client now has -E to execute a command replacing the client instead of
* Add support for custom command aliases, this is an array option which
  contains items of the form "alias=command". This is consulted when an
  unknown command is parsed.
* break-pane now has -n to specify the new window name.
* OSC 52 support has been added for programs inside tmux to set a tmux buffer.
* The mouse "all event" mode (1003) is now supported.
* Palette setting is now possible (OSC 4 and 104).
* Strikethrough support (a recent terminfo is required).
* Grouped sessions can now be named (new -t).
* terminal-overrides and update-environment are now array options (the previous
  set -ag syntax should work without change).
* There have been substantial performance improvements.

To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/misc/tmux/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/misc/tmux/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/tmux/patches/patch-server-client.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/tmux/Makefile
diff -u pkgsrc/misc/tmux/Makefile:1.39 pkgsrc/misc/tmux/Makefile:1.40
--- pkgsrc/misc/tmux/Makefile:1.39      Thu Oct 13 07:48:59 2016
+++ pkgsrc/misc/tmux/Makefile   Fri Apr 21 11:55:37 2017
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2016/10/13 07:48:59 leot Exp $
+# $NetBSD: Makefile,v 1.40 2017/04/21 11:55:37 fhajny Exp $
-DISTNAME=      tmux-2.3
+DISTNAME=      tmux-2.4
 CATEGORIES=    misc

Index: pkgsrc/misc/tmux/distinfo
diff -u pkgsrc/misc/tmux/distinfo:1.32 pkgsrc/misc/tmux/distinfo:1.33
--- pkgsrc/misc/tmux/distinfo:1.32      Sun Oct  2 09:12:50 2016
+++ pkgsrc/misc/tmux/distinfo   Fri Apr 21 11:55:37 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.32 2016/10/02 09:12:50 fhajny Exp $
+$NetBSD: distinfo,v 1.33 2017/04/21 11:55:37 fhajny Exp $
-SHA1 (tmux-2.3.tar.gz) = 78c856f6543e02e018730f526687a8444c2d8ab3
-RMD160 (tmux-2.3.tar.gz) = 57c282ae32dcaf5bcbab9a9f049630c3555b787c
-SHA512 (tmux-2.3.tar.gz) = 521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af
-Size (tmux-2.3.tar.gz) = 473944 bytes
+SHA1 (tmux-2.4.tar.gz) = ca44777b67267ad22d87bea00086926d26fa45eb
+RMD160 (tmux-2.4.tar.gz) = 2f1f7e9a73155f7ad351c6067312e964ca514db1
+SHA512 (tmux-2.4.tar.gz) = e9d93f6b8b68dddf05046ef1e1bc8c55a1f2c4bb96f4e12c25c202358b3280b3e14df8818ed449aadc783306b0869e5e7418192f60bb16afebc6b396cb50999c
+Size (tmux-2.4.tar.gz) = 470549 bytes
 SHA1 ( = fa9ec654cf6dad2b49b10ab981275d193d8b97c8
-SHA1 (patch-server-client.c) = 642991c6853762228ac6c1d5aaa470a1c9397ede
+SHA1 (patch-server-client.c) = a0949d4fdba20aaffce6cd56eedd47b7cc64e1bc

Index: pkgsrc/misc/tmux/patches/patch-server-client.c
diff -u pkgsrc/misc/tmux/patches/patch-server-client.c:1.4 pkgsrc/misc/tmux/patches/patch-server-client.c:1.5
--- pkgsrc/misc/tmux/patches/patch-server-client.c:1.4  Mon May  9 12:39:05 2016
+++ pkgsrc/misc/tmux/patches/patch-server-client.c      Fri Apr 21 11:55:37 2017
@@ -1,9 +1,8 @@
-$NetBSD: patch-server-client.c,v 1.4 2016/05/09 12:39:05 fhajny Exp $
+$NetBSD: patch-server-client.c,v 1.5 2017/04/21 11:55:37 fhajny Exp $
-* SunOS errno support needs the right include.
 * timersub is missing on Solaris10
---- server-client.c.orig       2016-04-04 00:16:53.000000000 +0000
+--- server-client.c.orig       2017-04-20 10:29:06.000000000 +0000
 +++ server-client.c
 @@ -30,6 +30,18 @@
@@ -21,6 +20,6 @@ $NetBSD: patch-server-client.c,v 1.4 201
 +    } while (0)
- void          server_client_free(int, short, void *);
- void          server_client_check_focus(struct window_pane *);
- void          server_client_check_resize(struct window_pane *);
+ static void   server_client_free(int, short, void *);
+ static void   server_client_check_focus(struct window_pane *);
+ static void   server_client_check_resize(struct window_pane *);

Home | Main Index | Thread Index | Old Index