Up to [cvs.NetBSD.org] / src / external / bsd / tmux / dist / etc
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: TMUX, MAIN
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
Sync with HEAD
Synch with HEAD
CHANGES FROM 2.7 to 2.8 * Make display-panes block the client until a pane is chosen or it times out. * Clear history on RIS like most other terminals do. * Add an "Any" key to run a command if a key is pressed that is not bound in the current key table. * Expand formats in load-buffer and save-buffer. * Add a rectangle_toggle format. * Add set-hook -R to run a hook immediately. * Add README.ja. * Add pane focus hooks. * Allow any punctuation as separator for s/x/y not only /. * Improve resizing with the mouse (fix resizing the wrong pane in some layouts, and allow resizing multiple panes at the same time). * Allow , and } to be escaped in formats as #, and #}. * Add KRB5CCNAME to update-environment. * Change meaning of -c to display-message so the client is used if it matches the session given to -t. * Fixes to : form of SGR. * Add x and X to choose-tree to kill sessions, windows or panes. CHANGES FROM 2.6 TO 2.7 * Remove EVENT_* variables from environment on platforms where tmux uses them so they do not pass on to panes. * Fixes for hooks at server exit. * Remove SGR 10 (was equivalent to SGR 0 but no other terminal seems to do this). * Expand formats in window and session names. * Add -Z flag to choose-tree, choose-client, choose-buffer to automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. This is now part of the default key bindings. * Add C-g to exit modes with emacs keys. * Add exit-empty option to exit server if no sessions (defaults to on). * Show if a filter is present in choose modes. * Add pipe-pane -I to to connect stdin of the child process. * Performance improvements for reflow. * Use RGB terminfo(5) capability to detect RGB colour terminals (the existing Tc extension remains unchanged). * Support for ISO colon-separated SGR sequences. * Add select-layout -E to spread panes out evenly (bound to E key). * Support wide characters properly when reflowing. * Pass PWD to new panes as a hint to shells, as well as calling chdir(). * Performance improvements for the various choose modes. * Only show first member of session groups in tree mode (-G flag to choose-tree to show all). * Support %else in config files to match %if; from Brad Town in GitHub issue 1071. * Fix "kind" terminfo(5) capability to be S-Down not S-Up. * Add a box around the preview label in tree mode. * Show exit status and time in the remain-on-exit pane text; from Timo Boettcher in GitHub issue 1103. * Correctly use pane-base-index in tree mode. * Change the allow-rename option default to off. * Support for xterm(1) title stack escape sequences (GitHub issue 1075 from Brad Town). * Correctly remove padding cells to fix a UTF-8 display problem (GitHub issue 1090).
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.
Sync with HEAD
file config.sub was added on branch pgoyette-localcount on 2017-04-26 02:52:52 +0000
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.
Initial revision