The NetBSD Project

CVS log for src/external/bsd/tmux/dist/cmd-copy-mode.c

[BACK] Up to [cvs.NetBSD.org] / src / external / bsd / tmux / dist

Request diff between arbitrary revisions


Default branch: TMUX, MAIN


Revision 1.1.1.13 / (download) - annotate - [select for diffs] (vendor branch), Wed Jun 28 22:10:17 2023 UTC (9 months, 2 weeks ago) by wiz
Branch: TMUX, MAIN
CVS Tags: tmux-3-3a, HEAD
Changes since 1.1.1.12: +2 -2 lines
Diff to previous 1.1.1.12 (colored)

Import original sources for tmux 3.3a.

Revision 1.1.1.12 / (download) - annotate - [select for diffs] (vendor branch), Sat Apr 17 19:42:02 2021 UTC (3 years ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-3-2a, tmux-3-2, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.1.1.11: +19 -12 lines
Diff to previous 1.1.1.11 (colored)

CHANGES FROM 3.1c TO 3.2
* Add a flag to disable keys to close a message.
* Permit shortcut keys in buffer, client, tree modes to be configured with a
  format (-K flag to choose-buffer, choose-client, choose-tree).
* Add a current_file format for the config file being parsed.
* When display-message used in config file, show the message after the config
  file finishes.
* Add client-detached notification in control mode.
* Improve performance of format evaluation.
* Make jump command support UTF-8 in copy mode.
* Support X11 colour names and other colour formats for OSC 10 and 11.
* Add "pipe" variants of "copy-pipe" commands which do not copy.
* Include "focused" in client flags.
* Send Unicode directional isolate characters around horizontal pane borders if
  the terminal supports UTF-8 and an extension terminfo(5) capability "Bidi" is
  present.
* Add a -S flag to new-window to make it select the existing window if one
  with the given name already exists rather than failing with an error.
* Addd a format modifier to check if a window or session name exists (N/w or
  N/s).
* Add compat clock_gettime for older macOS.
* Add a no-detached choice to detach-on-destroy which detaches only if there
  are no other detached sessions to switch to.
* Add rectangle-on and rectangle-off copy mode commands.
* Change so that window_flags escapes # automatically. A new format
  window_raw_flags contains the old unescaped version.
* Add -N flag to never start server even if command would normally do so.
* With incremental search, start empty and only repeat the previous search if
  the user tries to search again with an empty prompt.
* Add a value for remain-on-exit that only keeps the pane if the program
  failed.
* Add a -C flag to run-shell to use a tmux command rather than a shell command.
* Do not list user options with show-hooks.
* Remove current match indicator in copy mode which can't work anymore since we
  only search the visible region.
* Make synchronize-panes a pane option and add -U flag to set-option to unset
  an option on all panes.
* Make replacement of ##s consistent when drawing formats, whether followed by
  [ or not. Add a flag (e) to the q: format modifier to double up #s
* Add -N flag to display-panes to ignore keys.
* Change how escaping is processed for formats so that ## and # can be used in
  styles.
* Add a 'w' format modifier for string width.
* Add support for Haiku.
* Expand menu and popup -x and -y as formats.
* Add numeric comparisons for formats.
* Fire focus events even when the pane is in a mode.
* Add -O flag to display-menu to not automatically close when all mouse buttons
  are released.
* Allow fnmatch(3) wildcards in update-environment.
* Disable nested job expansion so that the result of #() is not expanded again.
* Use the setal capability as well as (tmux's) Setulc.
* Add -q flag to unbind-key to hide errors.
* Allow -N without a command to change or add a note to an existing key.
* Add a -w flag to set- and load-buffer to send to clipboard using OSC 52.
* Add -F to set-environment and source-file.
* Allow colour to be spelt as color in various places.
* Add n: modifier to get length of a format.
* Respond to OSC colour requests if a colour is available.
* Add a -d option to display-message to set delay.
* Add a way for control mode clients to subscribe to a format and be notified
  of changes rather than having to poll.
* Add some formats for search in copy mode (search_present, search_match).
* Do not wait on shutdown for commands started with run -b.
* Add -b flags to insert a window before (like the existing -a for after) to
  break-pane, move-window, new-window.
* Make paste -p the default for ].
* Add support for pausing a pane when the output buffered for a control mode
  client gets too far behind. The pause-after flag with a time is set on the
  pane with refresh-client -f and a paused pane may be resumed with
  refresh-client -A.
* Allow strings in configuration files to span multiple lines - newlines and
  any leading whitespace are removed, as well as any following comments that
  couldn't be part of a format. This allows long formats or other strings to be
  annotated and indented.
* Instead of using a custom parse function to process {} in configuration
  files, treat as a set of statements the same as outside {} and convert back
  to a string as the last step. This means the rules are consistent inside and
  outside {}, %if and friends work at the right time, and the final result
  isn't littered with unnecessary newlines.
* Add support for extended keys - both xterm(1)'s CSI 27 ~ sequence and the
  libtickit CSI u sequence are accepted; only the latter is output. tmux will
  only attempt to use these if the extended-keys option is on and it can detect
  that the terminal outside supports them (or is told it does with the
  "extkeys" terminal feature).
* Add an option to set the pane border lines style from a choice of single
  lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or number
  (the pane numbers). Lines that won't work on a non-UTF-8 terminal are
  translated back into ACS when they are output.
* Make focus events update the latest client (like a key press).
* Store UTF-8 characters differently to reduce memory use.
* Fix break-pane -n when only one pane in the window.
* Instead of sending all data to control mode clients as fast as possible, add
  a limit of how much data will be sent to the client and try to use it for
  panes with some degree of fairness.
* Add an active-pane client flag (set with attach-session -f, new-session -f
  or refresh-client -f). This allows a client to have an independent active
  pane for interactive use (the window client pane is still used for many
  things however).
* Add a mark to copy mode, this is set with the set-mark command (bound to X)
  and appears with the entire line shown using copy-mode-mark-style and the
  marked character in reverse. The jump-to-mark command (bound to M-x) swaps
  the mark and the cursor positions.
* Add a -D flag to make the tmux server run in the foreground and not as a
  daemon.
* Do not loop forever in copy mode when search finds an empty match.
* Fix the next-matching-bracket logic when using vi(1) keys.
* Add a customize mode where options may be browsed and changed, includes
  adding a brief description of each option. Bound to C-b C by default.
* Change message log (C-b ~) so there is one for the server rather than one per
  client and it remains after detach, and make it useful by logging every
  command.
* Add M-+ and M-- to tree mode to expand and collapse all.
* Change the existing client flags for control mode to apply for any client,
  use the same mechanism for the read-only flag and add an ignore-size flag.
  refresh-client -F has become -f (-F stays for backwards compatibility) and
  attach-session and switch-client now have -f flags also. A new format
  client_flags lists the flags and is shown by list-clients by default.
  This separates the read-only flag from "ignore size" behaviour (new
  ignore-size) flag - both behaviours are useful in different circumstances.
  attach -r and switchc -r remain and set or toggle both flags together.
* Store and restore cursor position when copy mode is resized.
* Export TERM_PROGRAM and TERM_PROGRAM_VERSION like various other terminals.
* Add formats for after hook command arguments: hook_arguments with all the
  arguments together; hook_argument_0, hook_argument_1 and so on with
  individual arguments; hook_flag_X if flag -X is present; hook_flag_X_0,
  hook_flag_X_1 and so on if -X appears multiple times.
* Try to search the entire history first for up to 200 ms so a search count can
  be shown. If it takes too long, search the visible text only.
* Use VIS_CSTYLE for paste buffers also (show \012 as \n).
* Change default formats for tree mode, client mode and buffer mode to be more
  compact and remove some clutter.
* Add a key (e) in buffer mode to open the buffer in an editor. The buffer
  contents is updated when the editor exits.
* Add -e flag for new-session to set environment variables, like the same flag
  for new-window.
* Improve search match marking in copy mode. Two new options
  copy-mode-match-style and copy-mode-current-match-style to set the style for
  matches and for the current match respectively. Also a change so that if a
  copy key is pressed with no selection, the current match (if any) is copied.
* Sanitize session names like window names instead of forbidding invalid ones.
* Check if the clear terminfo(5) capability starts with CSI and if so then
  assume the terminal is VT100-like, rather than relying on the XT capability.
* Improve command prompt tab completion and add menus both for strings and -t
  and -s (when used without a trailing space). command-prompt has additional
  flags for only completing a window (-W) and a target (-T), allowing C-b ' to
  only show windows and C-b . only targets.
* Change all the style options to string options so they can support formats.
  Change pane-border-active-style to use this to change the border colour when
  in a mode or with synchronize-panes on. This also implies a few minor changes
  to existing behaviour:
  - set-option -a with a style option automatically inserts a comma between the
    old value and appended text.
  - OSC 10 and 11 no longer set the window-style option, instead they store the
    colour internally in the pane data and it is used as the default when the
    option is evaluated.
  - status-fg and -bg now override status-style instead of the option values
    being changed.
* Add extension terminfo(5) capabilities for margins and focus reporting.
* Try $XDG_CONFIG_HOME/tmux/tmux.conf as well as ~/.config/tmux/tmux.conf for
  configuration file (the search paths are in TMUX_CONF in Makefile.am).
* Remove the DSR 1337 iTerm2 extension and replace by the extended device
  attributes sequence (CSI > q) supported by more terminals.
* Add a -s flag to copy-mode to specify a different pane for the source
  content. This means it is possible to view two places in a pane's history at
  the same time in different panes, or view the history while still using the
  pane. Pressing r refreshes the content from the source pane.
* Add an argument to list-commands to show only a single command.
* Change copy mode to make copy of the pane history so it does not need to
  freeze the pane.
* Restore pane_current_path format from portable tmux on OpenBSD.
* Wait until the initial command sequence is done before sending a device
  attributes request and other bits that prompt a reply from the terminal. This
  means that stray relies are not left on the terminal if the command has
  attached and then immediately detached and tmux will not be around to receive
  them.
* Add a -f filter argument to the list commands like choose-tree.
* Move specific hooks for panes to pane options and windows for window options
  rather than all hooks being session options. These hooks are now window
  options:
  window-layout-changed
  window-linked
  window-pane-changed
  window-renamed
  window-unlinked
  And these now pane options:
  pane-died
  pane-exited
  pane-focus-in
  pane-focus-out
  pane-mode-changed
  pane-set-clipboard
  Any existing configurations using these hooks on a session rather than
  globally (that is, set-hook or set-option without -g) may need to be changed.
* Show signal names when a process exits with remain-on-exit on platforms which
  have a way to get them.
* Start menu with top item selected if no mouse and use mode-style for the
  selected item.
* Add a copy-command option and change copy-pipe and friends to pipe to it if
  used without arguments, allows all the default copy key bindings to be
  changed to pipe with one option rather than needing to change each key
  binding individually.
* Tidy up the terminal detection and feature code and add named sets of
  terminal features, each of which are defined in one place and map to a
  builtin set of terminfo(5) capabilities. Features can be specified based on
  TERM with a new terminal-features option or with the -T flag when running
  tmux. tmux will also detect a few common terminals from the DA and DSR
  responses.
  This is intended to make it easier to configure tmux's use of terminfo(5)
  even in the presence of outdated ncurses(3) or terminfo(5) databases or for
  features which do not yet have a terminfo(5) entry. Instead of having to grok
  terminfo(5) capability names and what they should be set to in the
  terminal-overrides option, the user can hopefully just give tmux a feature
  name and let it do the right thing.
  The terminal-overrides option remains both for backwards compatibility and to
  allow tweaks of individual capabilities.
* Support mintty's application escape sequence (means tmux doesn't have to
  delay to wait for Escape, so no need to reduce escape-time when using
  mintty).
* Change so main-pane-width and height can be given as a percentage.
* Support for the iTerm2 synchronized updates feature (allows the terminal to
  avoid unnecessary drawing while output is still in progress).
* Make the mouse_word and mouse_line formats work in copy mode and enable the
  default pane menu in copy mode.
* Add a -T flag to resize-pane to trim lines below the cursor, moving lines out
  of the history.
* Add a way to mark environment variables as "hidden" so they can be used by
  tmux (for example in formats) but are not set in the environment for new
  panes. set-environment and show-environment have a new -h flag and there is a
  new %hidden statement for the configuration file.
* Change default position for display-menu -x and -y to centre rather than top
  left.
* Add support for per-client transient popups, similar to menus but which are
  connected to an external command (like a pane). These are created with new
  command display-popup.
* Change double and triple click bindings so that only one is fired (previously
  double click was fired on the way to triple click). Also add default double
  and triple click bindings to copy the word or line under the cursor and
  change the existing bindings in copy mode to do the same.
* Add a default binding for button 2 to paste.
* Add -d flag to run-shell to delay before running the command and allow it to
  run without a command so it just delays.
* Add C-g to cancel command prompt with vi keys as well as emacs, and q in
  command mode.
* When the server socket is given with -S, create it with umask 177 instead of
  117 (because it may not be in a safe directory like the default directory in
  /tmp).
* Add a copy-mode -H flag to hide the position marker in the top right.
* Add number operators for formats (+, -, *, / and m),

Revision 1.1.1.7.4.1 / (download) - annotate - [select for diffs], Sun Nov 1 18:07:59 2020 UTC (3 years, 5 months ago) by martin
Branch: netbsd-8
Changes since 1.1.1.7: +17 -17 lines
Diff to previous 1.1.1.7 (colored) next main 1.1.1.8 (colored)

Pull up the following, requested by christos in ticket #1619:

	external/bsd/tmux/dist/compat/daemon-darwin.c   up to 1.1.1.1
	external/bsd/tmux/dist/compat/fdforkpty.c       up to 1.1.1.1
	external/bsd/tmux/dist/compat/memmem.c          up to 1.1.1.1
	external/bsd/tmux/dist/menu.c                   up to 1.2
	external/bsd/tmux/dist/window-tree.c            up to 1.7
	external/bsd/tmux/dist/mode-tree.c              up to 1.6
	external/bsd/tmux/dist/etc/ylwrap               up to 1.1.1.1
	external/bsd/tmux/dist/cmd-resize-window.c      up to 1.2
	external/bsd/tmux/dist/regsub.c                 up to 1.3
	external/bsd/tmux/dist/cmd-parse.y              up to 1.3
	external/bsd/tmux/dist/window-buffer.c          up to 1.6
	external/bsd/tmux/dist/spawn.c                  up to 1.3
	external/bsd/tmux/dist/README.ja                up to 1.1.1.1
	external/bsd/tmux/dist/window-client.c          up to 1.6
	external/bsd/tmux/dist/file.c                   up to 1.1.1.1
	external/bsd/tmux/dist/format-draw.c            up to 1.1.1.3
	external/bsd/tmux/dist/cmd-display-menu.c       up to 1.1.1.1
	external/bsd/tmux/dist/compat/fparseln.c        delete
	external/bsd/tmux/dist/FAQ                      delete
	external/bsd/tmux/dist/TODO                     delete
	external/bsd/tmux/dist/cmd-choose-buffer.c      delete
	external/bsd/tmux/dist/cmd-choose-client.c      delete
	external/bsd/tmux/dist/cmd-list.c               delete
	external/bsd/tmux/dist/cmd-set-hook.c           delete
	external/bsd/tmux/dist/cmd-string.c             delete
	external/bsd/tmux/dist/hooks.c                  delete
	external/bsd/tmux/dist/pty.c                    delete
	external/bsd/tmux/dist/signal.c                 delete
	external/bsd/tmux/dist/window-choose.c          delete
	external/bsd/tmux/dist/CHANGES                  up to 1.1.1.6
	external/bsd/tmux/dist/COPYING                  up to 1.1.1.2
	external/bsd/tmux/dist/Makefile.am              up to 1.1.1.6
	external/bsd/tmux/dist/Makefile.in              up to 1.1.1.6
	external/bsd/tmux/dist/README                   up to 1.1.1.4
	external/bsd/tmux/dist/aclocal.m4               up to 1.1.1.4
	external/bsd/tmux/dist/alerts.c                 up to 1.1.1.5
	external/bsd/tmux/dist/arguments.c              up to 1.1.1.9
	external/bsd/tmux/dist/attributes.c             up to 1.1.1.9
	external/bsd/tmux/dist/cfg.c                    up to 1.1.1.12
	external/bsd/tmux/dist/client.c                 up to 1.10
	external/bsd/tmux/dist/cmd-attach-session.c     up to 1.8
	external/bsd/tmux/dist/cmd-bind-key.c           up to 1.1.1.9
	external/bsd/tmux/dist/cmd-break-pane.c         up to 1.1.1.11
	external/bsd/tmux/dist/cmd-capture-pane.c       up to 1.8
	external/bsd/tmux/dist/cmd-choose-tree.c        up to 1.1.1.9
	external/bsd/tmux/dist/cmd-command-prompt.c     up to 1.1.1.10
	external/bsd/tmux/dist/cmd-confirm-before.c     up to 1.1.1.9
	external/bsd/tmux/dist/cmd-copy-mode.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-detach-client.c      up to 1.1.1.8
	external/bsd/tmux/dist/cmd-display-message.c    up to 1.10
	external/bsd/tmux/dist/cmd-display-panes.c      up to 1.1.1.11
	external/bsd/tmux/dist/cmd-find-window.c        up to 1.1.1.10
	external/bsd/tmux/dist/cmd-find.c               up to 1.1.1.7
	external/bsd/tmux/dist/cmd-if-shell.c           up to 1.10
	external/bsd/tmux/dist/cmd-join-pane.c          up to 1.1.1.10
	external/bsd/tmux/dist/cmd-kill-pane.c          up to 1.1.1.10
	external/bsd/tmux/dist/cmd-kill-session.c       up to 1.1.1.9
	external/bsd/tmux/dist/cmd-kill-window.c        up to 1.1.1.8
	external/bsd/tmux/dist/cmd-list-buffers.c       up to 1.1.1.8
	external/bsd/tmux/dist/cmd-list-clients.c       up to 1.1.1.8
	external/bsd/tmux/dist/cmd-list-keys.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-list-panes.c         up to 1.1.1.8
	external/bsd/tmux/dist/cmd-list-sessions.c      up to 1.1.1.9
	external/bsd/tmux/dist/cmd-list-windows.c       up to 1.1.1.8
	external/bsd/tmux/dist/cmd-load-buffer.c        up to 1.9
	external/bsd/tmux/dist/cmd-lock-server.c        up to 1.1.1.8
	external/bsd/tmux/dist/cmd-move-window.c        up to 1.1.1.8
	external/bsd/tmux/dist/cmd-new-session.c        up to 1.8
	external/bsd/tmux/dist/cmd-new-window.c         up to 1.8
	external/bsd/tmux/dist/cmd-paste-buffer.c       up to 1.8
	external/bsd/tmux/dist/cmd-pipe-pane.c          up to 1.1.1.10
	external/bsd/tmux/dist/cmd-queue.c              up to 1.6
	external/bsd/tmux/dist/cmd-refresh-client.c     up to 1.1.1.11
	external/bsd/tmux/dist/cmd-rename-session.c     up to 1.1.1.9
	external/bsd/tmux/dist/cmd-rename-window.c      up to 1.1.1.9
	external/bsd/tmux/dist/cmd-resize-pane.c        up to 1.1.1.12
	external/bsd/tmux/dist/cmd-respawn-pane.c       up to 1.1.1.9
	external/bsd/tmux/dist/cmd-respawn-window.c     up to 1.1.1.11
	external/bsd/tmux/dist/cmd-rotate-window.c      up to 1.1.1.10
	external/bsd/tmux/dist/cmd-run-shell.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-save-buffer.c        up to 1.1.1.11
	external/bsd/tmux/dist/cmd-select-layout.c      up to 1.1.1.10
	external/bsd/tmux/dist/cmd-select-pane.c        up to 1.1.1.12
	external/bsd/tmux/dist/cmd-select-window.c      up to 1.1.1.9
	external/bsd/tmux/dist/cmd-send-keys.c          up to 1.10
	external/bsd/tmux/dist/cmd-set-environment.c    up to 1.1.1.8
	external/bsd/tmux/dist/cmd-set-option.c         up to 1.1.1.11
	external/bsd/tmux/dist/cmd-show-environment.c   up to 1.1.1.8
	external/bsd/tmux/dist/cmd-show-messages.c      up to 1.7
	external/bsd/tmux/dist/cmd-show-options.c       up to 1.3
	external/bsd/tmux/dist/cmd-source-file.c        up to 1.1.1.10
	external/bsd/tmux/dist/cmd-split-window.c       up to 1.9
	external/bsd/tmux/dist/cmd-swap-pane.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-swap-window.c        up to 1.1.1.9
	external/bsd/tmux/dist/cmd-switch-client.c      up to 1.1.1.11
	external/bsd/tmux/dist/cmd-wait-for.c           up to 1.7
	external/bsd/tmux/dist/cmd.c                    up to 1.1.1.12
	external/bsd/tmux/dist/colour.c                 up to 1.9
	external/bsd/tmux/dist/compat.h                 up to 1.2
	external/bsd/tmux/dist/configure                up to 1.1.1.6
	external/bsd/tmux/dist/configure.ac             up to 1.1.1.6
	external/bsd/tmux/dist/control-notify.c         up to 1.1.1.8
	external/bsd/tmux/dist/control.c                up to 1.1.1.7
	external/bsd/tmux/dist/environ.c                up to 1.10
	external/bsd/tmux/dist/example_tmux.conf        up to 1.1.1.4
	external/bsd/tmux/dist/format.c                 up to 1.11
	external/bsd/tmux/dist/grid-view.c              up to 1.1.1.9
	external/bsd/tmux/dist/grid.c                   up to 1.10
	external/bsd/tmux/dist/input-keys.c             up to 1.10
	external/bsd/tmux/dist/input.c                  up to 1.14
	external/bsd/tmux/dist/job.c                    up to 1.11
	external/bsd/tmux/dist/key-bindings.c           up to 1.9
	external/bsd/tmux/dist/key-string.c             up to 1.1.1.12
	external/bsd/tmux/dist/layout-custom.c          up to 1.1.1.10
	external/bsd/tmux/dist/layout-set.c             up to 1.1.1.12
	external/bsd/tmux/dist/layout.c                 up to 1.1.1.10
	external/bsd/tmux/dist/log.c                    up to 1.14
	external/bsd/tmux/dist/mdoc2man.awk             up to 1.1.1.3
	external/bsd/tmux/dist/names.c                  up to 1.1.1.8
	external/bsd/tmux/dist/notify.c                 up to 1.6
	external/bsd/tmux/dist/options-table.c          up to 1.1.1.11
	external/bsd/tmux/dist/options.c                up to 1.11
	external/bsd/tmux/dist/osdep-darwin.c           up to 1.1.1.9
	external/bsd/tmux/dist/osdep-freebsd.c          up to 1.1.1.8
	external/bsd/tmux/dist/osdep-linux.c            up to 1.1.1.7
	external/bsd/tmux/dist/osdep-netbsd.c           up to 1.1.1.9
	external/bsd/tmux/dist/paste.c                  up to 1.5
	external/bsd/tmux/dist/proc.c                   up to 1.5
	external/bsd/tmux/dist/resize.c                 up to 1.2
	external/bsd/tmux/dist/screen-redraw.c          up to 1.1.1.11
	external/bsd/tmux/dist/screen-write.c           up to 1.12
	external/bsd/tmux/dist/screen.c                 up to 1.11
	external/bsd/tmux/dist/server-client.c          up to 1.8
	external/bsd/tmux/dist/server-fn.c              up to 1.12
	external/bsd/tmux/dist/server.c                 up to 1.1.1.11
	external/bsd/tmux/dist/session.c                up to 1.12
	external/bsd/tmux/dist/status.c                 up to 1.10
	external/bsd/tmux/dist/style.c                  up to 1.4
	external/bsd/tmux/dist/tmux.1                   up to 1.13
	external/bsd/tmux/dist/tmux.c                   up to 1.11
	external/bsd/tmux/dist/tmux.h                   up to 1.16
	external/bsd/tmux/dist/tty-acs.c                up to 1.9
	external/bsd/tmux/dist/tty-keys.c               up to 1.14
	external/bsd/tmux/dist/tty-term.c               up to 1.13
	external/bsd/tmux/dist/tty.c                    up to 1.7
	external/bsd/tmux/dist/utf8.c                   up to 1.7
	external/bsd/tmux/dist/window-clock.c           up to 1.1.1.9
	external/bsd/tmux/dist/window-copy.c            up to 1.12
	external/bsd/tmux/dist/window.c                 up to 1.13
	external/bsd/tmux/dist/xmalloc.c                up to 1.1.1.9
	external/bsd/tmux/dist/xmalloc.h                up to 1.5
	external/bsd/tmux/dist/xterm-keys.c             up to 1.1.1.8
	external/bsd/tmux/dist/compat/getdtablecount.c  up to 1.1.1.2
	external/bsd/tmux/dist/compat/imsg-buffer.c     up to 1.9
	external/bsd/tmux/dist/compat/imsg.c            up to 1.9
	external/bsd/tmux/dist/etc/compile              up to 1.1.1.2
	external/bsd/tmux/dist/etc/config.guess         up to 1.1.1.3
	external/bsd/tmux/dist/etc/config.sub           up to 1.1.1.3
	external/bsd/tmux/dist/etc/depcomp              up to 1.1.1.2
	external/bsd/tmux/dist/etc/install-sh           up to 1.1.1.3
	external/bsd/tmux/dist/etc/missing              up to 1.1.1.2
	external/bsd/tmux/usr.bin/tmux/Makefile         up to 1.25
	doc/3RDPARTY					(manually modified)

Update tmux to 3.1c

Revision 1.1.1.8.6.1 / (download) - annotate - [select for diffs], Sun Nov 1 18:01:15 2020 UTC (3 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Changes since 1.1.1.8: +11 -14 lines
Diff to previous 1.1.1.8 (colored) next main 1.1.1.9 (colored)

Pull up the following

	external/bsd/tmux/dist/menu.c                   up to 1.2
	external/bsd/tmux/dist/etc/ylwrap               up to 1.1.1.1
	external/bsd/tmux/dist/cmd-resize-window.c      up to 1.2
	external/bsd/tmux/dist/regsub.c                 up to 1.3
	external/bsd/tmux/dist/cmd-parse.y              up to 1.3
	external/bsd/tmux/dist/spawn.c                  up to 1.3
	external/bsd/tmux/dist/file.c                   up to 1.1.1.1
	external/bsd/tmux/dist/format-draw.c            up to 1.1.1.3
	external/bsd/tmux/dist/cmd-display-menu.c       up to 1.1.1.1
	external/bsd/tmux/dist/compat/fparseln.c        delete
	external/bsd/tmux/dist/TODO                     delete
	external/bsd/tmux/dist/cmd-list.c               delete
	external/bsd/tmux/dist/cmd-set-hook.c           delete
	external/bsd/tmux/dist/cmd-string.c             delete
	external/bsd/tmux/dist/hooks.c                  delete
	external/bsd/tmux/dist/CHANGES                  up to 1.1.1.6
	external/bsd/tmux/dist/COPYING                  up to 1.1.1.2
	external/bsd/tmux/dist/Makefile.am              up to 1.1.1.6
	external/bsd/tmux/dist/Makefile.in              up to 1.1.1.6
	external/bsd/tmux/dist/README                   up to 1.1.1.4
	external/bsd/tmux/dist/aclocal.m4               up to 1.1.1.4
	external/bsd/tmux/dist/arguments.c              up to 1.1.1.9
	external/bsd/tmux/dist/attributes.c             up to 1.1.1.9
	external/bsd/tmux/dist/cfg.c                    up to 1.1.1.12
	external/bsd/tmux/dist/client.c                 up to 1.10
	external/bsd/tmux/dist/cmd-attach-session.c     up to 1.8
	external/bsd/tmux/dist/cmd-bind-key.c           up to 1.1.1.9
	external/bsd/tmux/dist/cmd-break-pane.c         up to 1.1.1.11
	external/bsd/tmux/dist/cmd-capture-pane.c       up to 1.8
	external/bsd/tmux/dist/cmd-choose-tree.c        up to 1.1.1.9
	external/bsd/tmux/dist/cmd-command-prompt.c     up to 1.1.1.10
	external/bsd/tmux/dist/cmd-confirm-before.c     up to 1.1.1.9
	external/bsd/tmux/dist/cmd-copy-mode.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-display-message.c    up to 1.10
	external/bsd/tmux/dist/cmd-display-panes.c      up to 1.1.1.11
	external/bsd/tmux/dist/cmd-find-window.c        up to 1.1.1.10
	external/bsd/tmux/dist/cmd-find.c               up to 1.1.1.7
	external/bsd/tmux/dist/cmd-if-shell.c           up to 1.10
	external/bsd/tmux/dist/cmd-join-pane.c          up to 1.1.1.10
	external/bsd/tmux/dist/cmd-kill-pane.c          up to 1.1.1.10
	external/bsd/tmux/dist/cmd-kill-session.c       up to 1.1.1.9
	external/bsd/tmux/dist/cmd-list-keys.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-list-sessions.c      up to 1.1.1.9
	external/bsd/tmux/dist/cmd-load-buffer.c        up to 1.9
	external/bsd/tmux/dist/cmd-new-session.c        up to 1.8
	external/bsd/tmux/dist/cmd-new-window.c         up to 1.8
	external/bsd/tmux/dist/cmd-pipe-pane.c          up to 1.1.1.10
	external/bsd/tmux/dist/cmd-queue.c              up to 1.6
	external/bsd/tmux/dist/cmd-refresh-client.c     up to 1.1.1.11
	external/bsd/tmux/dist/cmd-resize-pane.c        up to 1.1.1.12
	external/bsd/tmux/dist/cmd-respawn-pane.c       up to 1.1.1.9
	external/bsd/tmux/dist/cmd-respawn-window.c     up to 1.1.1.11
	external/bsd/tmux/dist/cmd-rotate-window.c      up to 1.1.1.10
	external/bsd/tmux/dist/cmd-run-shell.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-save-buffer.c        up to 1.1.1.11
	external/bsd/tmux/dist/cmd-select-layout.c      up to 1.1.1.10
	external/bsd/tmux/dist/cmd-select-pane.c        up to 1.1.1.12
	external/bsd/tmux/dist/cmd-select-window.c      up to 1.1.1.9
	external/bsd/tmux/dist/cmd-send-keys.c          up to 1.10
	external/bsd/tmux/dist/cmd-set-option.c         up to 1.1.1.11
	external/bsd/tmux/dist/cmd-show-messages.c      up to 1.7
	external/bsd/tmux/dist/cmd-show-options.c       up to 1.3
	external/bsd/tmux/dist/cmd-source-file.c        up to 1.1.1.10
	external/bsd/tmux/dist/cmd-split-window.c       up to 1.9
	external/bsd/tmux/dist/cmd-swap-pane.c          up to 1.1.1.11
	external/bsd/tmux/dist/cmd-swap-window.c        up to 1.1.1.9
	external/bsd/tmux/dist/cmd-switch-client.c      up to 1.1.1.11
	external/bsd/tmux/dist/cmd-wait-for.c           up to 1.7
	external/bsd/tmux/dist/cmd.c                    up to 1.1.1.12
	external/bsd/tmux/dist/colour.c                 up to 1.9
	external/bsd/tmux/dist/compat.h                 up to 1.2
	external/bsd/tmux/dist/configure                up to 1.1.1.6
	external/bsd/tmux/dist/configure.ac             up to 1.1.1.6
	external/bsd/tmux/dist/control-notify.c         up to 1.1.1.8
	external/bsd/tmux/dist/control.c                up to 1.1.1.7
	external/bsd/tmux/dist/environ.c                up to 1.10
	external/bsd/tmux/dist/example_tmux.conf        up to 1.1.1.4
	external/bsd/tmux/dist/format.c                 up to 1.11
	external/bsd/tmux/dist/grid.c                   up to 1.10
	external/bsd/tmux/dist/input-keys.c             up to 1.10
	external/bsd/tmux/dist/input.c                  up to 1.14
	external/bsd/tmux/dist/job.c                    up to 1.11
	external/bsd/tmux/dist/key-bindings.c           up to 1.9
	external/bsd/tmux/dist/key-string.c             up to 1.1.1.12
	external/bsd/tmux/dist/layout-custom.c          up to 1.1.1.10
	external/bsd/tmux/dist/layout-set.c             up to 1.1.1.12
	external/bsd/tmux/dist/layout.c                 up to 1.1.1.10
	external/bsd/tmux/dist/log.c                    up to 1.14
	external/bsd/tmux/dist/mdoc2man.awk             up to 1.1.1.3
	external/bsd/tmux/dist/mode-tree.c              up to 1.6
	external/bsd/tmux/dist/notify.c                 up to 1.6
	external/bsd/tmux/dist/options-table.c          up to 1.1.1.11
	external/bsd/tmux/dist/options.c                up to 1.11
	external/bsd/tmux/dist/osdep-darwin.c           up to 1.1.1.9
	external/bsd/tmux/dist/osdep-freebsd.c          up to 1.1.1.8
	external/bsd/tmux/dist/osdep-netbsd.c           up to 1.1.1.9
	external/bsd/tmux/dist/paste.c                  up to 1.5
	external/bsd/tmux/dist/proc.c                   up to 1.5
	external/bsd/tmux/dist/resize.c                 up to 1.2
	external/bsd/tmux/dist/screen-redraw.c          up to 1.1.1.11
	external/bsd/tmux/dist/screen-write.c           up to 1.12
	external/bsd/tmux/dist/screen.c                 up to 1.11
	external/bsd/tmux/dist/server-client.c          up to 1.8
	external/bsd/tmux/dist/server-fn.c              up to 1.12
	external/bsd/tmux/dist/server.c                 up to 1.1.1.11
	external/bsd/tmux/dist/session.c                up to 1.12
	external/bsd/tmux/dist/status.c                 up to 1.10
	external/bsd/tmux/dist/style.c                  up to 1.4
	external/bsd/tmux/dist/tmux.1                   up to 1.13
	external/bsd/tmux/dist/tmux.c                   up to 1.11
	external/bsd/tmux/dist/tmux.h                   up to 1.16
	external/bsd/tmux/dist/tty-acs.c                up to 1.9
	external/bsd/tmux/dist/tty-keys.c               up to 1.14
	external/bsd/tmux/dist/tty-term.c               up to 1.13
	external/bsd/tmux/dist/tty.c                    up to 1.7
	external/bsd/tmux/dist/utf8.c                   up to 1.7
	external/bsd/tmux/dist/window-buffer.c          up to 1.6
	external/bsd/tmux/dist/window-client.c          up to 1.6
	external/bsd/tmux/dist/window-clock.c           up to 1.1.1.9
	external/bsd/tmux/dist/window-copy.c            up to 1.12
	external/bsd/tmux/dist/window-tree.c            up to 1.7
	external/bsd/tmux/dist/window.c                 up to 1.13
	external/bsd/tmux/dist/xmalloc.c                up to 1.1.1.9
	external/bsd/tmux/dist/xmalloc.h                up to 1.5
	external/bsd/tmux/usr.bin/tmux/Makefile         up to 1.25
	doc/3RDPARTY					(manually adjusted)

Update tmux to 3.1c

Revision 1.1.1.11 / (download) - annotate - [select for diffs] (vendor branch), Sun Nov 1 14:52:00 2020 UTC (3 years, 5 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-3-1c
Changes since 1.1.1.10: +7 -2 lines
Diff to previous 1.1.1.10 (colored)

CHANGED FROM 3.1b TO 3.1c

* Do not write after the end of the array and overwrite the stack when
  colon-separated SGR sequences contain empty arguments.

CHANGES FROM 3.1a TO 3.1b

* Fix build on systems without sys/queue.h.

* Fix crash when allow-rename is on and an empty name is set.

CHANGES FROM 3.1 TO 3.1a

* Do not close stdout prematurely in control mode since it is needed to print
  exit messages. Prevents hanging when detaching with iTerm2.

CHANGES FROM 3.0a TO 3.1

* Only search the visible part of the history when marking (highlighting)
  search terms. This is much faster than searching the whole history and solves
  problems with large histories. The count of matches shown is now the visible
  matches rather than all matches.

* Search using regular expressions in copy mode. search-forward and
  search-backward use regular expressions by default; the incremental versions
  do not.

* Turn off mouse mode 1003 as well as the rest when exiting.

* Add selection_active format for when the selection is present but not moving
  with the cursor.

* Fix dragging with modifier keys, so binding keys such as C-MouseDrag1Pane and
  C-MouseDragEnd1Pane now work.

* Add -a to list-keys to also list keys without notes with -N.

* Do not jump to next word end if already on a word end when selecting a word;
  fixes select-word with single character words and vi(1) keys.

* Fix top and bottom pane calculation with pane border status enabled.

* Add support for adding a note to a key binding (with bind-key -N) and use
  this to add descriptions to the default key bindings. A new -N flag to
  list-keys shows key bindings with notes. Change the default ? binding to use
  this to show a readable summary of keys. Also extend command-prompt to return
  the name of the key pressed and add a default binding (/) to show the note
  for the next key pressed.

* Add support for the iTerm2 DSR 1337 sequence to get the terminal version.

* Treat plausible but invalid keys (like C-BSpace) as literal like any other
  unrecognised string passed to send-keys.

* Detect iTerm2 and enable use of DECSLRM (much faster with horizontally split
  windows).

* Add -Z to default switch-client command in tree mode.

* Add ~ to quoted characters for %%%.

* Document client exit messages in the manual page.

* Do not let read-only clients limit the size, unless all clients are
  read-only.

* Add a number of new formats to inspect what sessions and clients a window is
  present or active in.

* Change file reading and writing to go through the client if necessary. This
  fixes commands like "tmux loadb /dev/fd/X". Also modify source-file to
  support "-" for standard input, like load-buffer and save-buffer.

* Add ~/.config/tmux/tmux.conf to the default search path for configuration
  files.

* Bump the escape sequence timeout to five seconds to allow for longer
  legitimate sequences.

* Make a best effort to set xpixel and ypixel for each pane and add formats for
  them.

* Add push-default to status-left and status-right in status-format[0].

* Do not clear search marks on cursor movement with vi(1) keys.

* Add p format modifier for padding to width and allow multiple substitutions
  in a single format.

* Add -f for full size to join-pane (like split-window).

* Do not use bright when emulating 256 colours on an 8 colour terminal because
  it is also bold on some terminals.

* Make select-pane -P set window-active-style also to match previous behaviour.

* Do not truncate list-keys output.

* Turn automatic-rename back on if the \033k rename escape sequence is used
  with an empty name.

* Add support for percentage sizes for resize-pane ("-x 10%"). Also change
  split-window and join-pane -l to accept similar percentages and deprecate the
  -p flag.

* Add -F flag to send-keys to expand formats in search-backward and forward
  copy mode commands and copy_cursor_word and copy_cursor_line formats for word
  and line at cursor in copy mode. Use for default # and * binding with vi(1)
  keys.

* Add formats for word and line at cursor position in copy mode.

* Add formats for cursor and selection position in copy mode.

* Support all the forms of RGB colour strings in OSC sequences rather than
  requiring two digits.

* Limit lazy resize to panes in attached sessions only.

* Add an option to set the key sent by backspace for those whose system uses ^H
  rather than ^?.

* Change new-session -A without a session name (that is, no -s option also) to
  attach to the best existing session like attach-session rather than a new
  one.

* Add a "latest" window-size option which tries to size windows based on the
  most recently used client. This is now the default.

* Add simple support for OSC 7 (result is available in the pane_path format).

* Add push-default and pop-default for styles which change the colours and
  attributes used for #[default]. These are used in status-format to restore
  the behaviour of window-status-style being the default for
  window-status-format.

* Add window_marked_flag.

* Add cursor-down-and-cancel in copy mode.

* Default to previous search string for search-forward and search-backward.

* Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
  preserve zoomed state.

* Add -N to capture-pane to preserve trailing spaces.

* Add reverse sorting in tree, client and buffer modes.

Revision 1.1.1.8.4.1 / (download) - annotate - [select for diffs], Mon Apr 13 07:56:33 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.1.1.8: +4 -12 lines
Diff to previous 1.1.1.8 (colored) next main 1.1.1.9 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.1.1.10 / (download) - annotate - [select for diffs] (vendor branch), Mon Jan 6 20:40:37 2020 UTC (4 years, 3 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-3-0a, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.1.1.9: +4 -4 lines
Diff to previous 1.1.1.9 (colored)

CHANGES FROM 3.0 to 3.0a

* Do not require REG_STARTEND.

* Respawn panes or windows correctly if default-command is set.

* Add missing option for after-kill-pane hook.

* Fix for crash with a format variable that doesn't exist.

* Do not truncate list-keys output on some platforms.

* Do not crash when restoring a layout with only one pane.

CHANGES FROM 2.9 to 3.0

* Workaround invalid layout strings generated by older tmux versions and add
  some additional sanity checks

* xterm 348 now disables margins when resized, so send DECLRMM again after
  resize.

* Add support for the SD (scroll down) escape sequence.

* Expand arguments to C and s format modifiers to match the m modifier.

* Add support for underscore colours (Setulc capability must be added with
  terminal-overrides as described in tmux(1)).

* Add a "fill" style attribute for the fill colour of the drawing area (where
  appropriate).

* New -H flag to send-keys to send literal keys.

* Format variables for pane mouse modes (mouse_utf8_flag and mouse_sgr_flag)
  and for origin mode (origin_flag).

* Add -F to refresh-client for flags for control mode clients, only one flag
  (no-output) supported at the moment.

* Add a few vi(1) keys for menus.

* Add pane options, set with set-option -p and displayed with show-options -p.
  Pane options inherit from window options (so every pane option is also
  a window option). The pane style is now configured by setting window-style
  and window-active-style in the pane options; select-pane -P and -g now change
  the option but are no longer documented.

* Do not document set-window-option and show-window-options. set-option -w and
  show-options -w should be used instead.

* Add a -A flag to show-options to show parent options as well (they are marked
  with a *).

* Resize panes lazily - do not resize unless they are in an attached, active
  window.

* Add regular expression support for the format search, match and substitute
  modifiers and make them able to ignore case. find-window now accepts -r to
  use regular expressions.

* Do not use $TMUX to find the session because for windows in multiple sessions
  it is wrong as often as it is right, and for windows in one session it is
  pointless. Instead use TMUX_PANE if it is present.

* Do not always resize the window back to its original size after applying a
  layout, keep it at the layout size until it must be resized (for example when
  attached and window-size is not manual).

* Add new-session -X and attach-session -x to send SIGHUP to parent when
  detaching (like detach-client -P).

* Support for octal escapes in strings (such as \007) and improve list-keys
  output so it parses correctly if copied into a configuration file.

* INCOMPATIBLE: Add a new {} syntax to the configuration file. This is a string
  similar to single quotes but also includes newlines and allows commands that
  take other commands as string arguments to be expressed more clearly and
  without additional escaping.

  A literal { and } or a string containing { or } must now be escaped or
  quoted, for example '{' and '}' instead of { or }, or 'X#{foo}' instead of
  X#{foo}.

* New <, >, <= and >= comparison operators for formats.

* Improve escaping of special characters in list-keys output.

* INCOMPATIBLE: tmux's configuration parsing has changed to use yacc(1). There
  is one incompatible change: a \ on its own must be escaped or quoted as
  either \\ or '\' (the latter works on older tmux versions).

  Entirely the same parser is now used for parsing the configuration file
  and for string commands. This means that constructs previously only
  available in .tmux.conf, such as %if, can now be used in string commands
  (for example, those given to if-shell - not commands invoked from the
  shell, they are still parsed by the shell itself).

* Add support for the overline attribute (SGR 53). The Smol capability is
  needed in terminal-overrides.

* Add the ability to create simple menus. Introduces new command
  display-menu. Default menus are bound to MouseDown3 on the status line;
  MouseDown3 or M-MouseDown3 on panes; MouseDown3 in tree, client and
  buffer modes; and C-b C-m and C-b M-m.

* Allow panes to be empty (no command). They can be created either by piping to
  split-window -I, or by passing an empty command ('') to split-window. Output
  can be sent to an existing empty window with display-message -I.

* Add keys to jump between matching brackets (emacs C-M-f and C-M-b, vi %).

* Add a -e flag to new-window, split-window, respawn-window, respawn-pane to
  pass environment variables into the newly created process.

* Hooks are now stored in the options tree as array options, allowing them to
  have multiple separate commands. set-hook and show-hooks remain but
  set-option and show-options can now also be used (show-options will only show
  hooks if given the -H flag). Hooks with multiple commands are run in index
  order.

* Automatically scroll if dragging to create a selection with the mouse and the
  cursor reaches the top or bottom line.

* Add -no-clear variants of copy-selection and copy-pipe which do not clear the
  selection after copying. Make copy-pipe clear the selection by default to be
  consistent with copy-selection.

* Add an argument to copy commands to set the prefix for the buffer name, this
  (for example) allows buffers for different sessions to be named separately.

* Update session activity on focus event.

* Pass target from source-file into the config file parser so formats in %if
  and %endif have access to more useful variables.

* Add the ability to infer an option type (server, session, window) from its
  name to show-options (it was already present in set-option).

Revision 1.1.1.9 / (download) - annotate - [select for diffs] (vendor branch), Tue Nov 12 19:18:21 2019 UTC (4 years, 5 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-2-9a, phil-wifi-20191119
Changes since 1.1.1.8: +4 -12 lines
Diff to previous 1.1.1.8 (colored)

CHANGES FROM 2.9 to 2.9a

* Fix bugs in select-pane and the main-horizontal and main-vertical layouts.

CHANGES FROM 2.8 to 2.9

* Attempt to preserve horizontal cursor position as well as vertical with
  reflow.

* Rewrite main-vertical and horizontal and change layouts to better handle the
  case where all panes won't fit into the window size, reduce problems with
  pane border status lines and fix other bugs mostly found by Thomas Sattler.

* Add format variables for the default formats in the various modes
  (tree_mode_format and so on) and add a -a flag to display-message to list
  variables with values.

* Add a -v flag to display-message to show verbose messages as the format is
  parsed, this allows formats to be debugged

* Add support for HPA (\033[`).

* Add support for origin mode (\033[?6h).

* No longer clear history on RIS.

* Extend the #[] style syntax and use that together with previous format
  changes to allow the status line to be entirely configured with a single
  option.

  Now that it is possible to configure their content, enable the existing code
  that lets the status line be multiple lines in height. The status option can
  now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to
  configure more than one line. The new status-format array option configures
  the format of each line, the default just references the existing status-*
  options, although some of the more obscure status options may be eliminated
  in time.

  Additions to the #[] syntax are: "align" to specify alignment (left, centre,
  right), "list" for the window list and "range" to configure ranges of text
  for the mouse bindings.

  The "align" keyword can also be used to specify alignment of entries in tree
  mode and the pane status lines.

* Add E: and T: format modifiers to expand a format twice (useful to expand the
  value of an option).

* The individual -fg, -bg and -attr options have been removed; they
  were superseded by -style options in tmux 1.9.

* Allow more than one mode to be opened in a pane. Modes are kept on a stack
  and retrieved if the same mode is entered again. Exiting the active mode goes
  back to the previous one.

* When showing command output in copy mode, call it view mode instead (affects
  pane_mode format).

* Add -b to display-panes like run-shell.

* Handle UTF-8 in word-separators option.

* New "terminal" colour allowing options to use the terminal default colour
  rather than inheriting the default from a parent option.

* Do not move the cursor in copy mode when the mouse wheel is used.

* Use the same working directory rules for jobs as new windows rather than
  always starting in the user's home.

* Allow panes to be one line or column in size.

* Go to last line when goto-line number is out of range in copy mode.

* Yank previously cut text if any with C-y in the command prompt, only use the
  buffer if no text has been cut.

* Add q: format modifier to quote shell special characters.

* Add StatusLeft and StatusRight mouse locations (keys such as
  MouseDown1StatusLeft) for the status-left and status-right areas of the
  status line.

* Add -Z to find-window.

* Support for windows larger than the client. This adds two new options,
  window-size and default-size, and a new command, resize-window. The
  force-width and force-height options and the session_width and session_height
  formats have been removed.

  The new window-size option tells tmux how to work out the size of windows:
  largest means it picks the size of the largest session, smallest the smallest
  session (similar to the old behaviour) and manual means that it does not
  automatically resize windows. aggressive-resize modifies the choice of
  session for largest and smallest as it did before.

  If a window is in a session attached to a client that is too small, only part
  of the window is shown. tmux attempts to keep the cursor visible, so the part
  of the window displayed is changed as the cursor moves (with a small delay,
  to try and avoid excess redrawing when applications redraw status lines or
  similar that are not currently visible).

  Drawing windows which are larger than the client is not as efficient as those
  which fit, particularly when the cursor moves, so it is recommended to avoid
  using this on slow machines or networks (set window-size to smallest or
  manual).

  The resize-window command can be used to resize a window manually. If it is
  used, the window-size option is automatically set to manual for the window
  (undo this with "setw -u window-size"). resize-window works in a similar way
  to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a
  sets the window to the size of the smallest client (what it would be if
  window-size was smallest) and -A the largest.

  For the same behaviour as force-width or force-height, use resize-window -x
  or -y.

  If the global window-size option is set to manual, the default-size option is
  used for new windows. If -x or -y is used with new-session, that sets the
  default-size option for the new session.

  The maximum size of a window is 10000x10000. But expect applications to
  complain and higher memory use if making a window that big. The minimum size
  is the size required for the current layout including borders.

  The refresh-client command can be used to pan around a window, -U -D -L -R
  moves up, down, left or right and -c returns to automatic cursor
  tracking. The position is reset when the current window is changed.

Revision 1.1.1.8 / (download) - annotate - [select for diffs] (vendor branch), Thu Oct 12 21:59:48 2017 UTC (6 years, 6 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-2-8, tmux-2-6, phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: phil-wifi, netbsd-9
Changes since 1.1.1.7: +10 -7 lines
Diff to previous 1.1.1.7 (colored)

CHANGES FROM 2.5 TO 2.6, 05 October 2017

* Add select-pane -T to set pane title.

* Fix memory leak when lines with BCE are removed from history.

* Fix (again) the "prefer unattached" behaviour of attach-session.

* Reorder how keys are checked to allow keys to be specified that have a
  leading escape. GitHub issue 1048.

* Support REP escape sequence (\033[b).

* Run alert hooks based on options rather than always, and allow further bells
  even if there is an existing bell.

* Add -d flag to display-panes to override display-panes-time.

* Add selection_present format when in copy mode (allows key bindings that do
  something different if there is a selection).

* Add pane_at_left, pane_at_right, pane_at_top and pane_at_bottom formats.

* Make bell, activity and silence alerting more consistent by: removing the
  bell-on-alert option; adding activity-action and silence-action options with
  the same possible values as the existing bell-action; adding a "both" value
  for the visual-bell, visual-activity and visual-silence options to trigger
  both a bell and a message.

* Add a pane_pipe format to show if pipe-pane is active.

* Block signals between forking and resetting signal handlers so that the
  libevent signal handler doesn't get called in the child and incorrectly write
  into the signal pipe that it still shares with the parent. GitHub issue 1001.

* Allow punctuation in pane_current_command.

* Add -c for respawn-pane and respawn-window.

* Wait for any remaining data to flush when a pane is closed while pipe-pane is
  in use.

* Fix working out current client with no target. GitHub issue 995.

* Try to fallback to C.UTF-8 as well as en_US.UTF-8 when looking for a UTF-8
  locale.

* Add user-keys option for user-defined key escape sequences (mapped to User0
  to User999 keys).

* Add pane-set-clipboard hook.

* FAQ file has moved out of repository to online.

* Fix problem with high CPU usage when a client dies unexpectedly. GitHub issue
  941.

* Do a dance on OS X 10.10 and above to return tmux to the user namespace,
  allowing access to the clipboard.

* Do not allow escape sequences which expect a specific terminator (APC, DSC,
  OSC) to wait for forever - use a small timeout. This reduces the chance of
  the pane locking up completely when sent garbage (cat /dev/random or
  similar).

* Support SIGUSR2 to toggle logging on a running server, also generate the
  "out" log file with -vv not -vvvv.

* Make set-clipboard a three state option: on (tmux both sends to outside
  terminal and accepts from applications inside); external (tmux sends outside
  but does not accept inside); and off.

* Fix OSC 4 palette setting for bright foreground colours. GitHub issue 954.

* Use setrgbf and setrgbb terminfo(5) capabilities to set RGB colours, if they
  are available. (Tc is still supported as well.)

* Fix redrawing panes when they are resized several times but end up with the
  size unchanged (for example, splitw/resizep -Z/breakp).

* Major rewrite of choose mode. Now includes preview, sorting, searching and
  tagging; commands that can be executed directly from the mode (for example,
  to delete one or more buffers); and filtering in tree mode.

* choose-window and choose-session are now aliases of choose-tree (in the
  command-alias option).

* Support OSC 10 and OSC 11 to set foreground and background colours.

* Check the U8 capability to determine whether to use UTF-8 line drawing
  characters for ACS.

* Some missing notifications for layout changes.

* Control mode clients now do not affect session sizes until they issue
  refresh-client -C. new-session -x and -y works with control clients even if
  the session is not detached.

* All new sessions that are unattached (whether with -d or started with no
  terminal) are now created with size 80 x 24. Whether the status line is on or
  off does not affect the size of new sessions until they are attached.

* Expand formats in option names and add -F flag to expand them in option values.

* Remember the search string for a pane even if copy mode is exited and entered
  again.

* Some further BCE fixes (scroll up, reverse index).

* Improvements to how terminals are cleared (entirely or partially).

CHANGES FROM 2.4 TO 2.5, 09 May 2017

* Reset updated flag when restarting #() command so that new output is properly
  recognised. GitHub issue 922.

* Fix ECH with a background colour.

* Do not rely on the terminal not moving the cursor after DL or EL.

* Fix send-keys and send-prefix in copy-mode (so C-b C-b works). GitHub issue
  905.

* Set the current pane for rotate-window so it works in command sequences.

* Add pane_mode format.

* Differentiate M-Up from Escape+Up when possible (that is, in terminals with
  xterm(1) style function keys). GitHub issue 907.

* Add session_stack and window_stack_index formats.

* Some new control mode notifications and corresponding hooks:
  pane-mode-changed, window-pane-changed, client-session-changed,
  session-window-changed.

* Format pane_search_string for last search term while in copy mode (useful
  with command-prompt -I).

* Fix a problem with high CPU usage and multiple clients with #(). GitHub issue
  889.

* Fix UTF-8 combining characters in column 0.

* Fix reference counting so that panes are properly destroyed and their
  processes killed.

* Clamp SU (CSI S) parameter to work around a bug in Konsole.

* Tweak line wrapping in full width panes to play more nicely with terminal
  copy and paste.

* Fix when we emit SGR 0 in capture-pane -e.

* Do not change TERM until after config file parsing has finished, so that
  commands run inside the config file can use it to make decisions (typically
  about default-terminal).

* Make the initial client wait until config file parsing has finished to avoid
  racing with commands.

* Fix core when if-shell fails.

* Only use ED to clear screen if the pane is at the bottom.

* Fix multibyte UTF-8 output.

* Code improvements around target (-t) resolution.

* Change how the default target (for commands without -t) is managed across
  command sequences: now it is set up at the start and commands are required
  to update it if needed. Fixes binding command sequences to mouse keys.

* Make if-shell from the config file work correctly.

* Change to always check the root key table if no binding is found in the
  current table (prefix table or copy-mode table or whatever). This means that
  root key bindings will take effect even in copy mode, if not overridden by a
  copy mode key binding.

* Fix so that the history file works again.

* Run config file without a client rather than using the first client, restores
  previous behaviour.

* If a #() command doesn't exit, continue to read from it and use its last full
  line of output.

* Handle slow terminals and fast output better: when the amount of data
  outstanding gets too large, discard output until it is drained and we are
  able to do a full redraw. Prevents tmux sitting on a huge buffer that the
  terminal will take forever to consume.

* Do not redraw a client unless we realistically think it can accept the data -
  defer redraws until the client has nothing else waiting to write.

Revision 1.1.1.5.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:51 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1.1.5: +28 -18 lines
Diff to previous 1.1.1.5 (colored) next main 1.1.1.6 (colored)

Sync with HEAD

Revision 1.1.1.7 / (download) - annotate - [select for diffs] (vendor branch), Sun Apr 23 00:21:38 2017 UTC (6 years, 11 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-2-4, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.1.1.6: +10 -10 lines
Diff to previous 1.1.1.6 (colored)

CHANGES FROM 2.3 to 2.4 20 April 2017

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

  Becomes:

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

  This 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
  copy-pipe-and-cancel.
* 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
  added.
* 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
  search).
* source-file now understands glob patterns.
* Formats now have simple comparisons:

    #{==:a,b}
    #{!=:a,b}

* 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
  exiting.
* 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.

CHANGES FROM 2.2 to 2.3 29 September 2016

Incompatible Changes
====================

None.

Normal Changes
==============

* New option 'pane-border-status' to add text in the pane borders.
* Support for hooks on commands: 'after' and 'before' hooks.
* 'source-file' understands '-q' to suppress errors for nonexistent files.
* Lots of UTF8 improvements, especially on MacOS.
* 'window-status-separator' understands #[] expansions.
* 'split-window' understands '-f' for performing a full-width split.
* Allow report count to be specified when using 'bind-key -R'.
* 'set -a' for appending to user options (@foo) is now supported.
* 'display-panes' can now accept a command to run, rather than always
  selecting the pane.

Revision 1.1.1.6 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 31 09:04:06 2016 UTC (7 years, 7 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-2-2, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.1.1.5: +23 -14 lines
Diff to previous 1.1.1.5 (colored)

CHANGES FROM 2.1 to 2.2 10 April 2016

Incompatible Changes
====================

* The format strings which referenced time have been removed.  Instead:

  #{t:window_activity}

can be used.

* Support for TMPDIR has been removed.  Use TMUX_TMPDIR instead.
* UTF8 detection how happens automatically if the client supports it, hence
  the:

  mouse-utf8
  utf8

  options has been removed.
* The:

  mouse_utf8_flag

  format string has been removed.
* The -I option to show-messages has been removed.  See:

  #{t:start_time}

  format option instead.

Normal Changes
==============

* Panes are unzoomed with selectp -LRUD
* New formats added:

  #{scroll_position}
  #{socket_path}
  #{=10:...} -- limit to N characters (from the start)
  #{=-10:...} -- limit to N characters (from the end)
  #{t:...} -- used to format time-based formats
  #{b:...} -- used to ascertain basename from string
  #{d:...} -- used to ascertain dirname from string
  #{s:...} -- used to perform substitutions on a string

* Job output is run via the format system, so formats work again
* If display-time is set to 0, then the indicators wait for a key to be
  pressed.
* list-keys and list-commands can be run without starting the tmux server.
* kill-session learns -C to clear all alerts in all windows of the session.
* Support for hooks (internal for now), but hooks for the following have been
  implemented:

  alert-bell
  alert-silence
  alert-activity
  client-attached
  client-detached
  client-resized
  pane-died
  pane-exited

* RGB (24bit) colour support.  The 'Tc' flag must be set in the external TERM
  entry (using terminal-overrides or a custom terminfo entry).

Revision 1.1.1.5 / (download) - annotate - [select for diffs] (vendor branch), Sun Jan 10 17:55:40 2016 UTC (8 years, 3 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-2-1, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.1.1.4: +30 -15 lines
Diff to previous 1.1.1.4 (colored)

import new tmux

Revision 1.1.1.2.8.1 / (download) - annotate - [select for diffs], Tue Aug 19 23:52:15 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.1.2: +13 -12 lines
Diff to previous 1.1.1.2 (colored) next main 1.1.1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.1.1.2.18.1 / (download) - annotate - [select for diffs], Sun Aug 10 07:10:16 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.1.1.2: +13 -12 lines
Diff to previous 1.1.1.2 (colored) next main 1.1.1.3 (colored)

Rebase.

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Thu Jul 24 14:28:58 2014 UTC (9 years, 8 months ago) by christos
Branch: TMUX, MAIN
CVS Tags: tmux-1-9a, tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.1.1.3: +1 -1 lines
Diff to previous 1.1.1.3 (colored)

CHANGES FROM 1.9 to 1.9a 22 February 2014

NOTE:  This is a bug-fix release to address some important bugs which just
missed the 1.9 deadline, but were found afterwards.

Normal Changes
==============

* Fix crash due to uninitialized lastwp member of layout_cell
* Fix -fg/-bg/-style with 256 colour terminals.

CHANGES FROM 1.8 to 1.9, 20 February 2014

NOTE:  This release has bumped the tmux protocol version.  It is therefore
advised that the prior tmux server is restarted when this version of tmux is
installed, to avoid protocol mismatch errors for newer clients trying to
talk to an older running tmux server.

Incompatible Changes
====================

* 88 colour support has been removed.
* 'default-path' has been removed.  The new-window command accepts '-c' to
  cater for this.  The previous value of "." can be replaced with: 'neww -c
  $PWD', the previous value of '' which meant current path of the pane can
  be specified as:  'neww -c "#{pane_current_path}"'

Deprecated Changes
==================

* The single format specifiers:  #A -> #Z (where defined) have been
  deprecated and replaced with longer-named equivalents, as listed in the
  FORMATS section of the tmux manpage.
* The various foo-{fg,bg,attr} commands have been deprecated and replaced
  with equivalent foo-style option instead.  Currently this is still
  backwards-compatible, but will be removed over time.

Normal Changes
==============

* A new environment variable TMUX_TMPDIR is now honoured, allowing the
  socket directory to be set outside of TMPDIR (/tmp/ if not set).
* If -s not given to swap-pane the current pane is assumed.
* A #{pane_syncronized} format specifier has been added to be a conditional
  format if a pane is in a syncronised mode (c.f. syncronize-panes)
* Tmux now runs under Cygwin natively.
* Formats can now be nested within each other and expanded accordingly.
* Added 'automatic-rename-format' option to allow the automatic rename
  mechanism to use something other than the default of
  #{pane_current_command}.
* new-session learnt '-c' to specify the starting directory for that session
  and all subsequent windows therein.
* The session name is now shown in the message printed to the terminal when
  a session is detached.
* Lots more format specifiers have been added.
* Server race conditions have been fixed; in particular commands are not run
  until after the configuration file is read completely.
* Case insensitive searching in tmux's copy-mode is now possible.
* attach-session and switch-client learnt the '-t' option to accept a window
  and/or a pane to use.
* Copy-mode is only exited if no selection is in progress.
* Paste key in copy-mode is now possible to enter text from the clipboard.
* status-interval set to '0' now works as intended.
* tmux now supports 256 colours running under fbterm.
* Many bug fixes!

CHANGES FROM 1.7 to 1.8, 26 March 2013

Incompatible Changes
====================

* layout redo/undo has been removed.

Normal Changes
==============

* Add halfpage up/down bindings to copy mode.
* Session choosing fixed to work with unattached sessions.
* New window options window-status-last-{attr,bg,fg} to denote the last
  window which was active.
* Scrolling in copy-mode now scrolls the region without moving the mouse
  cursor.
* run-shell learnt '-t' to specify the pane to use when displaying output.
* Support for middle-click pasting.
* choose-tree learns '-u' to start uncollapsed.
* select-window learnt '-T' to toggle to the last window if it's already
  current.
* New session option 'assume-paste-time' for pasting text versus key-binding
  actions.
* choose-* commands now work outside of an attached client.
* Aliases are now shown for list-commands command.
* Status learns about formats.
* Free-form options can be set with set-option if prepended with an '@'
  sign.
* capture-pane learnt '-p' to send to stdout, and '-e' for capturing escape
  sequences, and '-a' to capture the alternate screen, and '-P' to dump
  pending output.
* Many new formats added (client_session, client_last_session, etc.)
* Control mode, which is a way for a client to send tmux commands.
  Currently more useful to users of iterm2.
* resize-pane learnt '-x' and '-y' for absolute pane sizing.
* Config file loading now reports errors from all files which are loaded via
  the 'source-file' command.
* 'copy-pipe' mode command to copy selection and pipe the selection to a
  command.
* Panes can now emit focus notifications for certain applications
  which use those.
* run-shell and if-shell now accept formats.
* resize-pane learnt '-Z' for zooming a pane temporarily.
* new-session learnt '-A' to make it behave like attach-session.
* set-option learnt '-o' to prevent setting an option which is already set.
* capture-pane and show-options learns '-q' to silence errors.
* New command 'wait-for' which blocks a client until woken up again.
* Resizing panes will now reflow the text inside them.
* Lots and lots of bug fixes, fixing memory-leaks, etc.
* Various manpage improvements.

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.

CHANGES FROM 1.5 TO 1.6, 23 January 2012

* Extend the mode-mouse option to add a third choice which means the mouse
  does not enter copy mode.
* Add a -r flag to switch-client to toggle the client read-only flag.
* Add pane-base-index option.
* Support \ for line continuation in the configuration file.
* Framework for more powerful formatting of command output and use it for
  list-{panes,windows,sessions}. This allows more descriptive replacements
  (such as #{session_name}) and conditionals.
* Mark dead panes with some text saying they are dead.
* Reject $SHELL if it is not a full path.
* Add -S option to refresh-client to redraw status line.
* Add an else clause for if-shell.
* Try to resolve relative paths for loadb and saveb (first, using client
  working directory, if any, then default-path or session working directory).
* Support for \e[3J to clear the history and send the corresponding
  terminfo code (E3) before locking.
* When in copy mode, make repeat count indicate buffer to replace, if used.
* Add screen*:XT to terminal-overrides for tmux-in-tmux.
* Status-line message attributes added.
* Move word-separators to be a session rather than window option.
* Change the way the working directory for new processes is discovered. If
  default-path isn't empty, it is used. Otherwise, if a new window is created
  from the command-line, the working directory of the client is used. If not,
  platform specific code is used to retrieve the current working directory
  of the process in the active pane. If that fails, the directory where the
  session was created is used, instead.
* Do not change the current pane if both mouse-select-{pane,window} are
  enabled.
* Add \033[s and \033[u to save and restore cursor position.
* Allow $HOME to be used as default-path.
* Add CNL and CPL escape sequences.
* Calculate last position correctly for UTF-8 wide characters.
* Add an option allow-rename to disable the window rename escape sequence.
* Attributes for each type of status-line alert (ie bell, content and
  activity) added. Therefore, remove the superfluous options
  window-status-alert-{attr,bg,fg}.
* Add a -R flag to send-keys to reset the terminal.
* Add strings to allow the aixterm bright colours to be used when
  configuring colours.
* Drop the ability to have a list of keys in the prefix in favour of two
  separate options, prefix and prefix2.
* Flag -2 added to send-prefix to send the secondary prefix key.
* Show pane size in top right of display panes mode.
* Some memory leaks plugged.
* More command-prompt editing improvements.
* Various manpage improvements.
* More Vi mode improvements.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Thu Jul 24 14:22:54 2014 UTC (9 years, 8 months ago) by christos
Branch: TMUX, MAIN
Changes since 1.1.1.2: +13 -12 lines
Diff to previous 1.1.1.2 (colored)

CHANGES FROM 1.9 to 1.9a 22 February 2014

NOTE:  This is a bug-fix release to address some important bugs which just
missed the 1.9 deadline, but were found afterwards.

Normal Changes
==============

* Fix crash due to uninitialized lastwp member of layout_cell
* Fix -fg/-bg/-style with 256 colour terminals.

CHANGES FROM 1.8 to 1.9, 20 February 2014

NOTE:  This release has bumped the tmux protocol version.  It is therefore
advised that the prior tmux server is restarted when this version of tmux is
installed, to avoid protocol mismatch errors for newer clients trying to
talk to an older running tmux server.

Incompatible Changes
====================

* 88 colour support has been removed.
* 'default-path' has been removed.  The new-window command accepts '-c' to
  cater for this.  The previous value of "." can be replaced with: 'neww -c
  $PWD', the previous value of '' which meant current path of the pane can
  be specified as:  'neww -c "#{pane_current_path}"'

Deprecated Changes
==================

* The single format specifiers:  #A -> #Z (where defined) have been
  deprecated and replaced with longer-named equivalents, as listed in the
  FORMATS section of the tmux manpage.
* The various foo-{fg,bg,attr} commands have been deprecated and replaced
  with equivalent foo-style option instead.  Currently this is still
  backwards-compatible, but will be removed over time.

Normal Changes
==============

* A new environment variable TMUX_TMPDIR is now honoured, allowing the
  socket directory to be set outside of TMPDIR (/tmp/ if not set).
* If -s not given to swap-pane the current pane is assumed.
* A #{pane_syncronized} format specifier has been added to be a conditional
  format if a pane is in a syncronised mode (c.f. syncronize-panes)
* Tmux now runs under Cygwin natively.
* Formats can now be nested within each other and expanded accordingly.
* Added 'automatic-rename-format' option to allow the automatic rename
  mechanism to use something other than the default of
  #{pane_current_command}.
* new-session learnt '-c' to specify the starting directory for that session
  and all subsequent windows therein.
* The session name is now shown in the message printed to the terminal when
  a session is detached.
* Lots more format specifiers have been added.
* Server race conditions have been fixed; in particular commands are not run
  until after the configuration file is read completely.
* Case insensitive searching in tmux's copy-mode is now possible.
* attach-session and switch-client learnt the '-t' option to accept a window
  and/or a pane to use.
* Copy-mode is only exited if no selection is in progress.
* Paste key in copy-mode is now possible to enter text from the clipboard.
* status-interval set to '0' now works as intended.
* tmux now supports 256 colours running under fbterm.
* Many bug fixes!

CHANGES FROM 1.7 to 1.8, 26 March 2013

Incompatible Changes
====================

* layout redo/undo has been removed.

Normal Changes
==============

* Add halfpage up/down bindings to copy mode.
* Session choosing fixed to work with unattached sessions.
* New window options window-status-last-{attr,bg,fg} to denote the last
  window which was active.
* Scrolling in copy-mode now scrolls the region without moving the mouse
  cursor.
* run-shell learnt '-t' to specify the pane to use when displaying output.
* Support for middle-click pasting.
* choose-tree learns '-u' to start uncollapsed.
* select-window learnt '-T' to toggle to the last window if it's already
  current.
* New session option 'assume-paste-time' for pasting text versus key-binding
  actions.
* choose-* commands now work outside of an attached client.
* Aliases are now shown for list-commands command.
* Status learns about formats.
* Free-form options can be set with set-option if prepended with an '@'
  sign.
* capture-pane learnt '-p' to send to stdout, and '-e' for capturing escape
  sequences, and '-a' to capture the alternate screen, and '-P' to dump
  pending output.
* Many new formats added (client_session, client_last_session, etc.)
* Control mode, which is a way for a client to send tmux commands.
  Currently more useful to users of iterm2.
* resize-pane learnt '-x' and '-y' for absolute pane sizing.
* Config file loading now reports errors from all files which are loaded via
  the 'source-file' command.
* 'copy-pipe' mode command to copy selection and pipe the selection to a
  command.
* Panes can now emit focus notifications for certain applications
  which use those.
* run-shell and if-shell now accept formats.
* resize-pane learnt '-Z' for zooming a pane temporarily.
* new-session learnt '-A' to make it behave like attach-session.
* set-option learnt '-o' to prevent setting an option which is already set.
* capture-pane and show-options learns '-q' to silence errors.
* New command 'wait-for' which blocks a client until woken up again.
* Resizing panes will now reflow the text inside them.
* Lots and lots of bug fixes, fixing memory-leaks, etc.
* Various manpage improvements.

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.

CHANGES FROM 1.5 TO 1.6, 23 January 2012

* Extend the mode-mouse option to add a third choice which means the mouse
  does not enter copy mode.
* Add a -r flag to switch-client to toggle the client read-only flag.
* Add pane-base-index option.
* Support \ for line continuation in the configuration file.
* Framework for more powerful formatting of command output and use it for
  list-{panes,windows,sessions}. This allows more descriptive replacements
  (such as #{session_name}) and conditionals.
* Mark dead panes with some text saying they are dead.
* Reject $SHELL if it is not a full path.
* Add -S option to refresh-client to redraw status line.
* Add an else clause for if-shell.
* Try to resolve relative paths for loadb and saveb (first, using client
  working directory, if any, then default-path or session working directory).
* Support for \e[3J to clear the history and send the corresponding
  terminfo code (E3) before locking.
* When in copy mode, make repeat count indicate buffer to replace, if used.
* Add screen*:XT to terminal-overrides for tmux-in-tmux.
* Status-line message attributes added.
* Move word-separators to be a session rather than window option.
* Change the way the working directory for new processes is discovered. If
  default-path isn't empty, it is used. Otherwise, if a new window is created
  from the command-line, the working directory of the client is used. If not,
  platform specific code is used to retrieve the current working directory
  of the process in the active pane. If that fails, the directory where the
  session was created is used, instead.
* Do not change the current pane if both mouse-select-{pane,window} are
  enabled.
* Add \033[s and \033[u to save and restore cursor position.
* Allow $HOME to be used as default-path.
* Add CNL and CPL escape sequences.
* Calculate last position correctly for UTF-8 wide characters.
* Add an option allow-rename to disable the window rename escape sequence.
* Attributes for each type of status-line alert (ie bell, content and
  activity) added. Therefore, remove the superfluous options
  window-status-alert-{attr,bg,fg}.
* Add a -R flag to send-keys to reset the terminal.
* Add strings to allow the aixterm bright colours to be used when
  configuring colours.
* Drop the ability to have a list of keys in the prefix in favour of two
  separate options, prefix and prefix2.
* Flag -2 added to send-prefix to send the secondary prefix key.
* Show pane size in top right of display panes mode.
* Some memory leaks plugged.
* More command-prompt editing improvements.
* Various manpage improvements.
* More Vi mode improvements.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 17 18:40:04 2011 UTC (12 years, 8 months ago) by jmmv
Branch: TMUX, MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tmux-1-5, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.1.1.1: +14 -22 lines
Diff to previous 1.1.1.1 (colored)

Import tmux 1.5:

CHANGES FROM 1.4 TO 1.5, 09 July 2011

* Support xterm mouse modes 1002 and 1003.
* Change from a per-session stack of buffers to one global stack. This renders
  copy-buffer useless and makes buffer-limit now a server option.
* Fix most-recently-used choice by avoiding reset the activity timer for
  unattached sessions every second.
* Add a -P option to new-window and split-window to print the new window or
  pane index in target form (useful to pass it into other commands).
* Handle a # at the end of a replacement string (such as status-left)
  correctly.
* Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262.
  If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
  UTF-8 terminals. The option defaults to on if LANG etc are set in the same
  manner as the utf8 option.
* Support for HP-UX.
* Accept colours of the hex form #ffffff and translate to the nearest from the
  xterm(1) 256-colour set.
* Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors
  before closing them (fixes things like "tmux ls && cat").
* Use TMPDIR if set.
* Fix next and previous session functions to actually work.
* Support -x and -y for new-session to specify the initial size of the window
  if created detached with -d.
* Make bind-key accept characters with the top-bit-set and print them as octal.
* Set $TMUX without the session when background jobs are run.
* Simplify the way jobs work and drop the persist type, so all jobs are
  fire-and-forget.
* Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the
  terminal disappears while locked.
* Add a -P option to detach to HUP the client's parent process (usually causing
  it to exit as well).
* Support passing through escape sequences to the underlying terminal by using
  DCS with a "tmux;" prefix.
* Prevent tiled producing a corrupt layout when only one column is needed.
* Give each pane created in a tmux server a unique id (starting from 0), put it
  in the TMUX_PANE environment variable and accept it as a target.
* Allow a start and end line to be specified for capture-pane which may be
  negative to capture part of the history.
* Add -a and -s options to lsp to list all panes in the server or session
  respectively. Likewise add -s to lsw.
* Change -t on display-message to be target-pane for the #[A-Z] replacements
  and add -c as target-client.
* The attach-session command now prefers the most recently used unattached
  session.
* Add -s option to detach-client to detach all clients attached to a session.
* Add -t to list-clients.
* Change window with mouse wheel over status line if mouse-select-window is on.
* When mode-mouse is on, automatically enter copy mode when the mouse is
  dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel
  is scrolled off the bottom.
* Provide #h character pair for short hostname (no domain).
* Don't use strnvis(3) for the title as it breaks UTF-8.
* Use the tsl and fsl terminfo(5) capabilities to update terminal title and
  automatically fill them in on terminals with the XT capability (which means
  their title setting is xterm-compatible).
* Add a new option, mouse-resize-pane. When on, panes may be resized by
  dragging their borders.
* Fix crash by resetting last pane on {break,swap}-pane across windows.
* Add three new copy-mode commands - select-line, copy-line, copy-end-of-line.
* Support setting the xterm clipboard when copying from copy mode using the
  xterm escape sequence for the purpose (if xterm is configured to allow it).
* Support xterm(1) cursor colour change sequences through terminfo(5) Cc
  (set) and Cr (reset) extensions.
* Support DECSCUSR sequence to set the cursor style with two new terminfo(5)
  extensions, Cs and Csr.
* Make the command-prompt custom prompts recognize the status-left option
  character pairs.
* Add a respawn-pane command.
* Add a couple of extra xterm-style keys that gnome terminal provides.
* Allow the initial context on prompts to be set with the new -I option to
  command-prompt. Include the current window and session name in the prompt
  when renaming and add a new key binding ($) for rename session.
* Option bell-on-alert added to trigger the terminal bell when there is an
  alert.
* Change the list-keys format so that it shows the keys using actual tmux
  commands which should be able to be directly copied into the config file.
* Show full targets for lsp/lsw -a.
* Make confirm-before prompt customizable with -p option like command-prompt
  and add the character pairs #W and #P to the default kill-{pane,window}
  prompts.
* Avoid sending data to suspended/locked clients.
* Small memory leaks in error paths plugged.
* Vi mode improvements.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Mar 10 09:15:36 2011 UTC (13 years, 1 month ago) by jmmv
Branch: TMUX, MAIN
CVS Tags: tmux-1-4, cherry-xenmp-base, cherry-xenmp
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of tmux-1.4:

tmux is a "terminal multiplexer".  It enables a number of terminals (or
windows) to be accessed and controlled from a single terminal.  tmux is
intended to be a simple, modern, BSD-licensed alternative to programs
such as GNU screen.

The import of tmux is intended to replace window(1) in the not-too-distant
future.  For reference, tmux is also present in the base system of FreeBSD
and OpenBSD.

Approved by core@.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 10 09:15:36 2011 UTC (13 years, 1 month ago) by jmmv
Branch point for: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>