1CHANGES FROM 3.2 TO 3.2a 2 3* Add an "always" value for the "extended-keys" option; if set then tmux will 4 forward extended keys to applications even if they do not request them. 5 6* Add a "mouse" terminal feature so tmux can enable the mouse on terminals 7 where it is known to be supported even if terminfo(5) says otherwise. 8 9* Do not expand the filename given to -f so it can contain colons. 10 11* Fixes for problems with extended keys and modifiers, scroll region, 12 source-file, crosscompiling, format modifiers and other minor issues. 13 14CHANGES FROM 3.1c TO 3.2 15 16* Add a flag to disable keys to close a message. 17 18* Permit shortcut keys in buffer, client, tree modes to be configured with a 19 format (-K flag to choose-buffer, choose-client, choose-tree). 20 21* Add a current_file format for the config file being parsed. 22 23* When display-message used in config file, show the message after the config 24 file finishes. 25 26* Add client-detached notification in control mode. 27 28* Improve performance of format evaluation. 29 30* Make jump command support UTF-8 in copy mode. 31 32* Support X11 colour names and other colour formats for OSC 10 and 11. 33 34* Add "pipe" variants of "copy-pipe" commands which do not copy. 35 36* Include "focused" in client flags. 37 38* Send Unicode directional isolate characters around horizontal pane borders if 39 the terminal supports UTF-8 and an extension terminfo(5) capability "Bidi" is 40 present. 41 42* Add a -S flag to new-window to make it select the existing window if one 43 with the given name already exists rather than failing with an error. 44 45* Add a format modifier to check if a window or session name exists (N/w or 46 N/s). 47 48* Add compat clock_gettime for older macOS. 49 50* Add a no-detached choice to detach-on-destroy which detaches only if there 51 are no other detached sessions to switch to. 52 53* Add rectangle-on and rectangle-off copy mode commands. 54 55* Change so that window_flags escapes # automatically. A new format 56 window_raw_flags contains the old unescaped version. 57 58* Add -N flag to never start server even if command would normally do so. 59 60* With incremental search, start empty and only repeat the previous search if 61 the user tries to search again with an empty prompt. 62 63* Add a value for remain-on-exit that only keeps the pane if the program 64 failed. 65 66* Add a -C flag to run-shell to use a tmux command rather than a shell command. 67 68* Do not list user options with show-hooks. 69 70* Remove current match indicator in copy mode which can't work anymore since we 71 only search the visible region. 72 73* Make synchronize-panes a pane option and add -U flag to set-option to unset 74 an option on all panes. 75 76* Make replacement of ##s consistent when drawing formats, whether followed by 77 [ or not. Add a flag (e) to the q: format modifier to double up #s. 78 79* Add -N flag to display-panes to ignore keys. 80 81* Change how escaping is processed for formats so that ## and # can be used in 82 styles. 83 84* Add a 'w' format modifier for string width. 85 86* Add support for Haiku. 87 88* Expand menu and popup -x and -y as formats. 89 90* Add numeric comparisons for formats. 91 92* Fire focus events even when the pane is in a mode. 93 94* Add -O flag to display-menu to not automatically close when all mouse buttons 95 are released. 96 97* Allow fnmatch(3) wildcards in update-environment. 98 99* Disable nested job expansion so that the result of #() is not expanded again. 100 101* Use the setal capability as well as (tmux's) Setulc. 102 103* Add -q flag to unbind-key to hide errors. 104 105* Allow -N without a command to change or add a note to an existing key. 106 107* Add a -w flag to set- and load-buffer to send to clipboard using OSC 52. 108 109* Add -F to set-environment and source-file. 110 111* Allow colour to be spelt as color in various places. 112 113* Add n: modifier to get length of a format. 114 115* Respond to OSC colour requests if a colour is available. 116 117* Add a -d option to display-message to set delay. 118 119* Add a way for control mode clients to subscribe to a format and be notified 120 of changes rather than having to poll. 121 122* Add some formats for search in copy mode (search_present, search_match). 123 124* Do not wait on shutdown for commands started with run -b. 125 126* Add -b flags to insert a window before (like the existing -a for after) to 127 break-pane, move-window, new-window. 128 129* Make paste -p the default for ]. 130 131* Add support for pausing a pane when the output buffered for a control mode 132 client gets too far behind. The pause-after flag with a time is set on the 133 pane with refresh-client -f and a paused pane may be resumed with 134 refresh-client -A. 135 136* Allow strings in configuration files to span multiple lines - newlines and 137 any leading whitespace are removed, as well as any following comments that 138 couldn't be part of a format. This allows long formats or other strings to be 139 annotated and indented. 140 141* Instead of using a custom parse function to process {} in configuration 142 files, treat as a set of statements the same as outside {} and convert back 143 to a string as the last step. This means the rules are consistent inside and 144 outside {}, %if and friends work at the right time, and the final result 145 isn't littered with unnecessary newlines. 146 147* Add support for extended keys - both xterm(1)'s CSI 27 ~ sequence and the 148 libtickit CSI u sequence are accepted; only the latter is output. tmux will 149 only attempt to use these if the extended-keys option is on and it can detect 150 that the terminal outside supports them (or is told it does with the 151 "extkeys" terminal feature). 152 153* Add an option to set the pane border lines style from a choice of single 154 lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or number 155 (the pane numbers). Lines that won't work on a non-UTF-8 terminal are 156 translated back into ACS when they are output. 157 158* Make focus events update the latest client (like a key press). 159 160* Store UTF-8 characters differently to reduce memory use. 161 162* Fix break-pane -n when only one pane in the window. 163 164* Instead of sending all data to control mode clients as fast as possible, add 165 a limit of how much data will be sent to the client and try to use it for 166 panes with some degree of fairness. 167 168* Add an active-pane client flag (set with attach-session -f, new-session -f 169 or refresh-client -f). This allows a client to have an independent active 170 pane for interactive use (the window client pane is still used for many 171 things however). 172 173* Add a mark to copy mode, this is set with the set-mark command (bound to X) 174 and appears with the entire line shown using copy-mode-mark-style and the 175 marked character in reverse. The jump-to-mark command (bound to M-x) swaps 176 the mark and the cursor positions. 177 178* Add a -D flag to make the tmux server run in the foreground and not as a 179 daemon. 180 181* Do not loop forever in copy mode when search finds an empty match. 182 183* Fix the next-matching-bracket logic when using vi(1) keys. 184 185* Add a customize mode where options may be browsed and changed, includes 186 adding a brief description of each option. Bound to C-b C by default. 187 188* Change message log (C-b ~) so there is one for the server rather than one per 189 client and it remains after detach, and make it useful by logging every 190 command. 191 192* Add M-+ and M-- to tree mode to expand and collapse all. 193 194* Change the existing client flags for control mode to apply for any client, 195 use the same mechanism for the read-only flag and add an ignore-size flag. 196 197 refresh-client -F has become -f (-F stays for backwards compatibility) and 198 attach-session and switch-client now have -f flags also. A new format 199 client_flags lists the flags and is shown by list-clients by default. 200 201 This separates the read-only flag from "ignore size" behaviour (new 202 ignore-size) flag - both behaviours are useful in different circumstances. 203 204 attach -r and switchc -r remain and set or toggle both flags together. 205 206* Store and restore cursor position when copy mode is resized. 207 208* Export TERM_PROGRAM and TERM_PROGRAM_VERSION like various other terminals. 209 210* Add formats for after hook command arguments: hook_arguments with all the 211 arguments together; hook_argument_0, hook_argument_1 and so on with 212 individual arguments; hook_flag_X if flag -X is present; hook_flag_X_0, 213 hook_flag_X_1 and so on if -X appears multiple times. 214 215* Try to search the entire history first for up to 200 ms so a search count can 216 be shown. If it takes too long, search the visible text only. 217 218* Use VIS_CSTYLE for paste buffers also (show \012 as \n). 219 220* Change default formats for tree mode, client mode and buffer mode to be more 221 compact and remove some clutter. 222 223* Add a key (e) in buffer mode to open the buffer in an editor. The buffer 224 contents is updated when the editor exits. 225 226* Add -e flag for new-session to set environment variables, like the same flag 227 for new-window. 228 229* Improve search match marking in copy mode. Two new options 230 copy-mode-match-style and copy-mode-current-match-style to set the style for 231 matches and for the current match respectively. Also a change so that if a 232 copy key is pressed with no selection, the current match (if any) is copied. 233 234* Sanitize session names like window names instead of forbidding invalid ones. 235 236* Check if the clear terminfo(5) capability starts with CSI and if so then 237 assume the terminal is VT100-like, rather than relying on the XT capability. 238 239* Improve command prompt tab completion and add menus both for strings and -t 240 and -s (when used without a trailing space). command-prompt has additional 241 flags for only completing a window (-W) and a target (-T), allowing C-b ' to 242 only show windows and C-b . only targets. 243 244* Change all the style options to string options so they can support formats. 245 Change pane-border-active-style to use this to change the border colour when 246 in a mode or with synchronize-panes on. This also implies a few minor changes 247 to existing behaviour: 248 249 - set-option -a with a style option automatically inserts a comma between the 250 old value and appended text. 251 252 - OSC 10 and 11 no longer set the window-style option, instead they store the 253 colour internally in the pane data and it is used as the default when the 254 option is evaluated. 255 256 - status-fg and -bg now override status-style instead of the option values 257 being changed. 258 259* Add extension terminfo(5) capabilities for margins and focus reporting. 260 261* Try $XDG_CONFIG_HOME/tmux/tmux.conf as well as ~/.config/tmux/tmux.conf for 262 configuration file (the search paths are in TMUX_CONF in Makefile.am). 263 264* Remove the DSR 1337 iTerm2 extension and replace by the extended device 265 attributes sequence (CSI > q) supported by more terminals. 266 267* Add a -s flag to copy-mode to specify a different pane for the source 268 content. This means it is possible to view two places in a pane's history at 269 the same time in different panes, or view the history while still using the 270 pane. Pressing r refreshes the content from the source pane. 271 272* Add an argument to list-commands to show only a single command. 273 274* Change copy mode to make copy of the pane history so it does not need to 275 freeze the pane. 276 277* Restore pane_current_path format from portable tmux on OpenBSD. 278 279* Wait until the initial command sequence is done before sending a device 280 attributes request and other bits that prompt a reply from the terminal. This 281 means that stray replies are not left on the terminal if the command has 282 attached and then immediately detached and tmux will not be around to receive 283 them. 284 285* Add a -f filter argument to the list commands like choose-tree. 286 287* Move specific hooks for panes to pane options and windows for window options 288 rather than all hooks being session options. These hooks are now window options: 289 290 window-layout-changed 291 window-linked 292 window-pane-changed 293 window-renamed 294 window-unlinked 295 296 And these are now pane options: 297 298 pane-died 299 pane-exited 300 pane-focus-in 301 pane-focus-out 302 pane-mode-changed 303 pane-set-clipboard 304 305 Any existing configurations using these hooks on a session rather than 306 globally (that is, set-hook or set-option without -g) may need to be changed. 307 308* Show signal names when a process exits with remain-on-exit on platforms which 309 have a way to get them. 310 311* Start menu with top item selected if no mouse and use mode-style for the 312 selected item. 313 314* Add a copy-command option and change copy-pipe and friends to pipe to it if 315 used without arguments, allows all the default copy key bindings to be 316 changed to pipe with one option rather than needing to change each key 317 binding individually. 318 319* Tidy up the terminal detection and feature code and add named sets of 320 terminal features, each of which are defined in one place and map to a 321 builtin set of terminfo(5) capabilities. Features can be specified based on 322 TERM with a new terminal-features option or with the -T flag when running 323 tmux. tmux will also detect a few common terminals from the DA and DSR 324 responses. 325 326 This is intended to make it easier to configure tmux's use of terminfo(5) 327 even in the presence of outdated ncurses(3) or terminfo(5) databases or for 328 features which do not yet have a terminfo(5) entry. Instead of having to grok 329 terminfo(5) capability names and what they should be set to in the 330 terminal-overrides option, the user can hopefully just give tmux a feature 331 name and let it do the right thing. 332 333 The terminal-overrides option remains both for backwards compatibility and to 334 allow tweaks of individual capabilities. 335 336* Support mintty's application escape sequence (means tmux doesn't have to 337 delay to wait for Escape, so no need to reduce escape-time when using 338 mintty). 339 340* Change so main-pane-width and height can be given as a percentage. 341 342* Support for the iTerm2 synchronized updates feature (allows the terminal to 343 avoid unnecessary drawing while output is still in progress). 344 345* Make the mouse_word and mouse_line formats work in copy mode and enable the 346 default pane menu in copy mode. 347 348* Add a -T flag to resize-pane to trim lines below the cursor, moving lines out 349 of the history. 350 351* Add a way to mark environment variables as "hidden" so they can be used by 352 tmux (for example in formats) but are not set in the environment for new 353 panes. set-environment and show-environment have a new -h flag and there is a 354 new %hidden statement for the configuration file. 355 356* Change default position for display-menu -x and -y to centre rather than top 357 left. 358 359* Add support for per-client transient popups, similar to menus but which are 360 connected to an external command (like a pane). These are created with new 361 command display-popup. 362 363* Change double and triple click bindings so that only one is fired (previously 364 double click was fired on the way to triple click). Also add default double 365 and triple click bindings to copy the word or line under the cursor and 366 change the existing bindings in copy mode to do the same. 367 368* Add a default binding for button 2 to paste. 369 370* Add -d flag to run-shell to delay before running the command and allow it to 371 be used without a command so it just delays. 372 373* Add C-g to cancel command prompt with vi keys as well as emacs, and q in 374 command mode. 375 376* When the server socket is given with -S, create it with umask 177 instead of 377 117 (because it may not be in a safe directory like the default directory in 378 /tmp). 379 380* Add a copy-mode -H flag to hide the position marker in the top right. 381 382* Add number operators for formats (+, -, *, / and m), 383 384CHANGED FROM 3.1b TO 3.1c 385 386* Do not write after the end of the array and overwrite the stack when 387 colon-separated SGR sequences contain empty arguments. 388 389CHANGES FROM 3.1a TO 3.1b 390 391* Fix build on systems without sys/queue.h. 392 393* Fix crash when allow-rename is on and an empty name is set. 394 395CHANGES FROM 3.1 TO 3.1a 396 397* Do not close stdout prematurely in control mode since it is needed to print 398 exit messages. Prevents hanging when detaching with iTerm2. 399 400CHANGES FROM 3.0a TO 3.1 401 402* Only search the visible part of the history when marking (highlighting) 403 search terms. This is much faster than searching the whole history and solves 404 problems with large histories. The count of matches shown is now the visible 405 matches rather than all matches. 406 407* Search using regular expressions in copy mode. search-forward and 408 search-backward use regular expressions by default; the incremental versions 409 do not. 410 411* Turn off mouse mode 1003 as well as the rest when exiting. 412 413* Add selection_active format for when the selection is present but not moving 414 with the cursor. 415 416* Fix dragging with modifier keys, so binding keys such as C-MouseDrag1Pane and 417 C-MouseDragEnd1Pane now work. 418 419* Add -a to list-keys to also list keys without notes with -N. 420 421* Do not jump to next word end if already on a word end when selecting a word; 422 fixes select-word with single character words and vi(1) keys. 423 424* Fix top and bottom pane calculation with pane border status enabled. 425 426* Add support for adding a note to a key binding (with bind-key -N) and use 427 this to add descriptions to the default key bindings. A new -N flag to 428 list-keys shows key bindings with notes. Change the default ? binding to use 429 this to show a readable summary of keys. Also extend command-prompt to return 430 the name of the key pressed and add a default binding (/) to show the note 431 for the next key pressed. 432 433* Add support for the iTerm2 DSR 1337 sequence to get the terminal version. 434 435* Treat plausible but invalid keys (like C-BSpace) as literal like any other 436 unrecognised string passed to send-keys. 437 438* Detect iTerm2 and enable use of DECSLRM (much faster with horizontally split 439 windows). 440 441* Add -Z to default switch-client command in tree mode. 442 443* Add ~ to quoted characters for %%%. 444 445* Document client exit messages in the manual page. 446 447* Do not let read-only clients limit the size, unless all clients are 448 read-only. 449 450* Add a number of new formats to inspect what sessions and clients a window is 451 present or active in. 452 453* Change file reading and writing to go through the client if necessary. This 454 fixes commands like "tmux loadb /dev/fd/X". Also modify source-file to 455 support "-" for standard input, like load-buffer and save-buffer. 456 457* Add ~/.config/tmux/tmux.conf to the default search path for configuration 458 files. 459 460* Bump the escape sequence timeout to five seconds to allow for longer 461 legitimate sequences. 462 463* Make a best effort to set xpixel and ypixel for each pane and add formats for 464 them. 465 466* Add push-default to status-left and status-right in status-format[0]. 467 468* Do not clear search marks on cursor movement with vi(1) keys. 469 470* Add p format modifier for padding to width and allow multiple substitutions 471 in a single format. 472 473* Add -f for full size to join-pane (like split-window). 474 475* Do not use bright when emulating 256 colours on an 8 colour terminal because 476 it is also bold on some terminals. 477 478* Make select-pane -P set window-active-style also to match previous behaviour. 479 480* Do not truncate list-keys output. 481 482* Turn automatic-rename back on if the \033k rename escape sequence is used 483 with an empty name. 484 485* Add support for percentage sizes for resize-pane ("-x 10%"). Also change 486 split-window and join-pane -l to accept similar percentages and deprecate the 487 -p flag. 488 489* Add -F flag to send-keys to expand formats in search-backward and forward 490 copy mode commands and copy_cursor_word and copy_cursor_line formats for word 491 and line at cursor in copy mode. Use for default # and * binding with vi(1) 492 keys. 493 494* Add formats for word and line at cursor position in copy mode. 495 496* Add formats for cursor and selection position in copy mode. 497 498* Support all the forms of RGB colour strings in OSC sequences rather than 499 requiring two digits. 500 501* Limit lazy resize to panes in attached sessions only. 502 503* Add an option to set the key sent by backspace for those whose system uses ^H 504 rather than ^?. 505 506* Change new-session -A without a session name (that is, no -s option also) to 507 attach to the best existing session like attach-session rather than a new 508 one. 509 510* Add a "latest" window-size option which tries to size windows based on the 511 most recently used client. This is now the default. 512 513* Add simple support for OSC 7 (result is available in the pane_path format). 514 515* Add push-default and pop-default for styles which change the colours and 516 attributes used for #[default]. These are used in status-format to restore 517 the behaviour of window-status-style being the default for 518 window-status-format. 519 520* Add window_marked_flag. 521 522* Add cursor-down-and-cancel in copy mode. 523 524* Default to previous search string for search-forward and search-backward. 525 526* Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to 527 preserve zoomed state. 528 529* Add -N to capture-pane to preserve trailing spaces. 530 531* Add reverse sorting in tree, client and buffer modes. 532 533CHANGES FROM 3.0 TO 3.0a 534 535* Do not require REG_STARTEND. 536 537* Respawn panes or windows correctly if default-command is set. 538 539* Add missing option for after-kill-pane hook. 540 541* Fix for crash with a format variable that doesn't exist. 542 543* Do not truncate list-keys output on some platforms. 544 545* Do not crash when restoring a layout with only one pane. 546 547CHANGES FROM 2.9 TO 3.0 548 549* Workaround invalid layout strings generated by older tmux versions and add 550 some additional sanity checks 551 552* xterm 348 now disables margins when resized, so send DECLRMM again after 553 resize. 554 555* Add support for the SD (scroll down) escape sequence. 556 557* Expand arguments to C and s format modifiers to match the m modifier. 558 559* Add support for underscore colours (Setulc capability must be added with 560 terminal-overrides as described in tmux(1)). 561 562* Add a "fill" style attribute for the fill colour of the drawing area (where 563 appropriate). 564 565* New -H flag to send-keys to send literal keys. 566 567* Format variables for pane mouse modes (mouse_utf8_flag and mouse_sgr_flag) 568 and for origin mode (origin_flag). 569 570* Add -F to refresh-client for flags for control mode clients, only one flag 571 (no-output) supported at the moment. 572 573* Add a few vi(1) keys for menus. 574 575* Add pane options, set with set-option -p and displayed with show-options -p. 576 Pane options inherit from window options (so every pane option is also 577 a window option). The pane style is now configured by setting window-style 578 and window-active-style in the pane options; select-pane -P and -g now change 579 the option but are no longer documented. 580 581* Do not document set-window-option and show-window-options. set-option -w and 582 show-options -w should be used instead. 583 584* Add a -A flag to show-options to show parent options as well (they are marked 585 with a *). 586 587* Resize panes lazily - do not resize unless they are in an attached, active 588 window. 589 590* Add regular expression support for the format search, match and substitute 591 modifiers and make them able to ignore case. find-window now accepts -r to 592 use regular expressions. 593 594* Do not use $TMUX to find the session because for windows in multiple sessions 595 it is wrong as often as it is right, and for windows in one session it is 596 pointless. Instead use TMUX_PANE if it is present. 597 598* Do not always resize the window back to its original size after applying a 599 layout, keep it at the layout size until it must be resized (for example when 600 attached and window-size is not manual). 601 602* Add new-session -X and attach-session -x to send SIGHUP to parent when 603 detaching (like detach-client -P). 604 605* Support for octal escapes in strings (such as \007) and improve list-keys 606 output so it parses correctly if copied into a configuration file. 607 608* INCOMPATIBLE: Add a new {} syntax to the configuration file. This is a string 609 similar to single quotes but also includes newlines and allows commands that 610 take other commands as string arguments to be expressed more clearly and 611 without additional escaping. 612 613 A literal { and } or a string containing { or } must now be escaped or 614 quoted, for example '{' and '}' instead of { or }, or 'X#{foo}' instead of 615 X#{foo}. 616 617* New <, >, <= and >= comparison operators for formats. 618 619* Improve escaping of special characters in list-keys output. 620 621* INCOMPATIBLE: tmux's configuration parsing has changed to use yacc(1). There 622 is one incompatible change: a \ on its own must be escaped or quoted as 623 either \\ or '\' (the latter works on older tmux versions). 624 625 Entirely the same parser is now used for parsing the configuration file 626 and for string commands. This means that constructs previously only 627 available in .tmux.conf, such as %if, can now be used in string commands 628 (for example, those given to if-shell - not commands invoked from the 629 shell, they are still parsed by the shell itself). 630 631* Add support for the overline attribute (SGR 53). The Smol capability is 632 needed in terminal-overrides. 633 634* Add the ability to create simple menus. Introduces new command 635 display-menu. Default menus are bound to MouseDown3 on the status line; 636 MouseDown3 or M-MouseDown3 on panes; MouseDown3 in tree, client and 637 buffer modes; and C-b < and >. 638 639* Allow panes to be empty (no command). They can be created either by piping to 640 split-window -I, or by passing an empty command ('') to split-window. Output 641 can be sent to an existing empty window with display-message -I. 642 643* Add keys to jump between matching brackets (emacs C-M-f and C-M-b, vi %). 644 645* Add a -e flag to new-window, split-window, respawn-window, respawn-pane to 646 pass environment variables into the newly created process. 647 648* Hooks are now stored in the options tree as array options, allowing them to 649 have multiple separate commands. set-hook and show-hooks remain but 650 set-option and show-options can now also be used (show-options will only show 651 hooks if given the -H flag). Hooks with multiple commands are run in index 652 order. 653 654* Automatically scroll if dragging to create a selection with the mouse and the 655 cursor reaches the top or bottom line. 656 657* Add -no-clear variants of copy-selection and copy-pipe which do not clear the 658 selection after copying. Make copy-pipe clear the selection by default to be 659 consistent with copy-selection. 660 661* Add an argument to copy commands to set the prefix for the buffer name, this 662 (for example) allows buffers for different sessions to be named separately. 663 664* Update session activity on focus event. 665 666* Pass target from source-file into the config file parser so formats in %if 667 and %endif have access to more useful variables. 668 669* Add the ability to infer an option type (server, session, window) from its 670 name to show-options (it was already present in set-option). 671 672CHANGES FROM 2.9 TO 2.9a 673 674* Fix bugs in select-pane and the main-horizontal and main-vertical layouts. 675 676CHANGES FROM 2.8 TO 2.9 677 678* Attempt to preserve horizontal cursor position as well as vertical with 679 reflow. 680 681* Rewrite main-vertical and horizontal and change layouts to better handle the 682 case where all panes won't fit into the window size, reduce problems with 683 pane border status lines and fix other bugs mostly found by Thomas Sattler. 684 685* Add format variables for the default formats in the various modes 686 (tree_mode_format and so on) and add a -a flag to display-message to list 687 variables with values. 688 689* Add a -v flag to display-message to show verbose messages as the format is 690 parsed, this allows formats to be debugged 691 692* Add support for HPA (\033[`). 693 694* Add support for origin mode (\033[?6h). 695 696* No longer clear history on RIS. 697 698* Extend the #[] style syntax and use that together with previous format 699 changes to allow the status line to be entirely configured with a single 700 option. 701 702 Now that it is possible to configure their content, enable the existing code 703 that lets the status line be multiple lines in height. The status option can 704 now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to 705 configure more than one line. The new status-format array option configures 706 the format of each line, the default just references the existing status-* 707 options, although some of the more obscure status options may be eliminated 708 in time. 709 710 Additions to the #[] syntax are: "align" to specify alignment (left, centre, 711 right), "list" for the window list and "range" to configure ranges of text 712 for the mouse bindings. 713 714 The "align" keyword can also be used to specify alignment of entries in tree 715 mode and the pane status lines. 716 717* Add E: and T: format modifiers to expand a format twice (useful to expand the 718 value of an option). 719 720* The individual -fg, -bg and -attr options have been removed; they 721 were superseded by -style options in tmux 1.9. 722 723* Allow more than one mode to be opened in a pane. Modes are kept on a stack 724 and retrieved if the same mode is entered again. Exiting the active mode goes 725 back to the previous one. 726 727* When showing command output in copy mode, call it view mode instead (affects 728 pane_mode format). 729 730* Add -b to display-panes like run-shell. 731 732* Handle UTF-8 in word-separators option. 733 734* New "terminal" colour allowing options to use the terminal default colour 735 rather than inheriting the default from a parent option. 736 737* Do not move the cursor in copy mode when the mouse wheel is used. 738 739* Use the same working directory rules for jobs as new windows rather than 740 always starting in the user's home. 741 742* Allow panes to be one line or column in size. 743 744* Go to last line when goto-line number is out of range in copy mode. 745 746* Yank previously cut text if any with C-y in the command prompt, only use the 747 buffer if no text has been cut. 748 749* Add q: format modifier to quote shell special characters. 750 751* Add StatusLeft and StatusRight mouse locations (keys such as 752 MouseDown1StatusLeft) for the status-left and status-right areas of the 753 status line. 754 755* Add -Z to find-window. 756 757* Support for windows larger than the client. This adds two new options, 758 window-size and default-size, and a new command, resize-window. The 759 force-width and force-height options and the session_width and session_height 760 formats have been removed. 761 762 The new window-size option tells tmux how to work out the size of windows: 763 largest means it picks the size of the largest session, smallest the smallest 764 session (similar to the old behaviour) and manual means that it does not 765 automatically resize windows. aggressive-resize modifies the choice of 766 session for largest and smallest as it did before. 767 768 If a window is in a session attached to a client that is too small, only part 769 of the window is shown. tmux attempts to keep the cursor visible, so the part 770 of the window displayed is changed as the cursor moves (with a small delay, 771 to try and avoid excess redrawing when applications redraw status lines or 772 similar that are not currently visible). 773 774 Drawing windows which are larger than the client is not as efficient as those 775 which fit, particularly when the cursor moves, so it is recommended to avoid 776 using this on slow machines or networks (set window-size to smallest or 777 manual). 778 779 The resize-window command can be used to resize a window manually. If it is 780 used, the window-size option is automatically set to manual for the window 781 (undo this with "setw -u window-size"). resize-window works in a similar way 782 to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a 783 sets the window to the size of the smallest client (what it would be if 784 window-size was smallest) and -A the largest. 785 786 For the same behaviour as force-width or force-height, use resize-window -x 787 or -y. 788 789 If the global window-size option is set to manual, the default-size option is 790 used for new windows. If -x or -y is used with new-session, that sets the 791 default-size option for the new session. 792 793 The maximum size of a window is 10000x10000. But expect applications to 794 complain and higher memory use if making a window that big. The minimum size 795 is the size required for the current layout including borders. 796 797 The refresh-client command can be used to pan around a window, -U -D -L -R 798 moves up, down, left or right and -c returns to automatic cursor 799 tracking. The position is reset when the current window is changed. 800 801CHANGES FROM 2.7 TO 2.8 802 803* Make display-panes block the client until a pane is chosen or it 804 times out. 805 806* Clear history on RIS like most other terminals do. 807 808* Add an "Any" key to run a command if a key is pressed that is not 809 bound in the current key table. 810 811* Expand formats in load-buffer and save-buffer. 812 813* Add a rectangle_toggle format. 814 815* Add set-hook -R to run a hook immediately. 816 817* Add README.ja. 818 819* Add pane focus hooks. 820 821* Allow any punctuation as separator for s/x/y not only /. 822 823* Improve resizing with the mouse (fix resizing the wrong pane in some 824 layouts, and allow resizing multiple panes at the same time). 825 826* Allow , and } to be escaped in formats as #, and #}. 827 828* Add KRB5CCNAME to update-environment. 829 830* Change meaning of -c to display-message so the client is used if it 831 matches the session given to -t. 832 833* Fixes to : form of SGR. 834 835* Add x and X to choose-tree to kill sessions, windows or panes. 836 837CHANGES FROM 2.6 TO 2.7 838 839* Remove EVENT_* variables from environment on platforms where tmux uses them 840 so they do not pass on to panes. 841 842* Fixes for hooks at server exit. 843 844* Remove SGR 10 (was equivalent to SGR 0 but no other terminal seems to do 845 this). 846 847* Expand formats in window and session names. 848 849* Add -Z flag to choose-tree, choose-client, choose-buffer to automatically 850 zoom the pane when the mode is entered and unzoom when it exits, assuming the 851 pane is not already zoomed. This is now part of the default key bindings. 852 853* Add C-g to exit modes with emacs keys. 854 855* Add exit-empty option to exit server if no sessions (defaults to on). 856 857* Show if a filter is present in choose modes. 858 859* Add pipe-pane -I to to connect stdin of the child process. 860 861* Performance improvements for reflow. 862 863* Use RGB terminfo(5) capability to detect RGB colour terminals (the existing 864 Tc extension remains unchanged). 865 866* Support for ISO colon-separated SGR sequences. 867 868* Add select-layout -E to spread panes out evenly (bound to E key). 869 870* Support wide characters properly when reflowing. 871 872* Pass PWD to new panes as a hint to shells, as well as calling chdir(). 873 874* Performance improvements for the various choose modes. 875 876* Only show first member of session groups in tree mode (-G flag to choose-tree 877 to show all). 878 879* Support %else in config files to match %if; from Brad Town in GitHub issue 880 1071. 881 882* Fix "kind" terminfo(5) capability to be S-Down not S-Up. 883 884* Add a box around the preview label in tree mode. 885 886* Show exit status and time in the remain-on-exit pane text; from Timo 887 Boettcher in GitHub issue 1103. 888 889* Correctly use pane-base-index in tree mode. 890 891* Change the allow-rename option default to off. 892 893* Support for xterm(1) title stack escape sequences (GitHub issue 1075 from 894 Brad Town). 895 896* Correctly remove padding cells to fix a UTF-8 display problem (GitHub issue 897 1090). 898 899CHANGES FROM 2.5 TO 2.6, 05 October 2017 900 901* Add select-pane -T to set pane title. 902 903* Fix memory leak when lines with BCE are removed from history. 904 905* Fix (again) the "prefer unattached" behaviour of attach-session. 906 907* Reorder how keys are checked to allow keys to be specified that have a 908 leading escape. GitHub issue 1048. 909 910* Support REP escape sequence (\033[b). 911 912* Run alert hooks based on options rather than always, and allow further bells 913 even if there is an existing bell. 914 915* Add -d flag to display-panes to override display-panes-time. 916 917* Add selection_present format when in copy mode (allows key bindings that do 918 something different if there is a selection). 919 920* Add pane_at_left, pane_at_right, pane_at_top and pane_at_bottom formats. 921 922* Make bell, activity and silence alerting more consistent by: removing the 923 bell-on-alert option; adding activity-action and silence-action options with 924 the same possible values as the existing bell-action; adding a "both" value 925 for the visual-bell, visual-activity and visual-silence options to trigger 926 both a bell and a message. 927 928* Add a pane_pipe format to show if pipe-pane is active. 929 930* Block signals between forking and resetting signal handlers so that the 931 libevent signal handler doesn't get called in the child and incorrectly write 932 into the signal pipe that it still shares with the parent. GitHub issue 1001. 933 934* Allow punctuation in pane_current_command. 935 936* Add -c for respawn-pane and respawn-window. 937 938* Wait for any remaining data to flush when a pane is closed while pipe-pane is 939 in use. 940 941* Fix working out current client with no target. GitHub issue 995. 942 943* Try to fallback to C.UTF-8 as well as en_US.UTF-8 when looking for a UTF-8 944 locale. 945 946* Add user-keys option for user-defined key escape sequences (mapped to User0 947 to User999 keys). 948 949* Add pane-set-clipboard hook. 950 951* FAQ file has moved out of repository to online. 952 953* Fix problem with high CPU usage when a client dies unexpectedly. GitHub issue 954 941. 955 956* Do a dance on OS X 10.10 and above to return tmux to the user namespace, 957 allowing access to the clipboard. 958 959* Do not allow escape sequences which expect a specific terminator (APC, DSC, 960 OSC) to wait for forever - use a small timeout. This reduces the chance of 961 the pane locking up completely when sent garbage (cat /dev/random or 962 similar). 963 964* Support SIGUSR2 to toggle logging on a running server, also generate the 965 "out" log file with -vv not -vvvv. 966 967* Make set-clipboard a three state option: on (tmux both sends to outside 968 terminal and accepts from applications inside); external (tmux sends outside 969 but does not accept inside); and off. 970 971* Fix OSC 4 palette setting for bright foreground colours. GitHub issue 954. 972 973* Use setrgbf and setrgbb terminfo(5) capabilities to set RGB colours, if they 974 are available. (Tc is still supported as well.) 975 976* Fix redrawing panes when they are resized several times but end up with the 977 size unchanged (for example, splitw/resizep -Z/breakp). 978 979* Major rewrite of choose mode. Now includes preview, sorting, searching and 980 tagging; commands that can be executed directly from the mode (for example, 981 to delete one or more buffers); and filtering in tree mode. 982 983* choose-window and choose-session are now aliases of choose-tree (in the 984 command-alias option). 985 986* Support OSC 10 and OSC 11 to set foreground and background colours. 987 988* Check the U8 capability to determine whether to use UTF-8 line drawing 989 characters for ACS. 990 991* Some missing notifications for layout changes. 992 993* Control mode clients now do not affect session sizes until they issue 994 refresh-client -C. new-session -x and -y works with control clients even if 995 the session is not detached. 996 997* All new sessions that are unattached (whether with -d or started with no 998 terminal) are now created with size 80 x 24. Whether the status line is on or 999 off does not affect the size of new sessions until they are attached. 1000 1001* Expand formats in option names and add -F flag to expand them in option values. 1002 1003* Remember the search string for a pane even if copy mode is exited and entered 1004 again. 1005 1006* Some further BCE fixes (scroll up, reverse index). 1007 1008* Improvements to how terminals are cleared (entirely or partially). 1009 1010CHANGES FROM 2.4 TO 2.5, 09 May 2017 1011 1012* Reset updated flag when restarting #() command so that new output is properly 1013 recognised. GitHub issue 922. 1014 1015* Fix ECH with a background colour. 1016 1017* Do not rely on the terminal not moving the cursor after DL or EL. 1018 1019* Fix send-keys and send-prefix in copy-mode (so C-b C-b works). GitHub issue 1020 905. 1021 1022* Set the current pane for rotate-window so it works in command sequences. 1023 1024* Add pane_mode format. 1025 1026* Differentiate M-Up from Escape+Up when possible (that is, in terminals with 1027 xterm(1) style function keys). GitHub issue 907. 1028 1029* Add session_stack and window_stack_index formats. 1030 1031* Some new control mode notifications and corresponding hooks: 1032 pane-mode-changed, window-pane-changed, client-session-changed, 1033 session-window-changed. 1034 1035* Format pane_search_string for last search term while in copy mode (useful 1036 with command-prompt -I). 1037 1038* Fix a problem with high CPU usage and multiple clients with #(). GitHub issue 1039 889. 1040 1041* Fix UTF-8 combining characters in column 0. 1042 1043* Fix reference counting so that panes are properly destroyed and their 1044 processes killed. 1045 1046* Clamp SU (CSI S) parameter to work around a bug in Konsole. 1047 1048* Tweak line wrapping in full width panes to play more nicely with terminal 1049 copy and paste. 1050 1051* Fix when we emit SGR 0 in capture-pane -e. 1052 1053* Do not change TERM until after config file parsing has finished, so that 1054 commands run inside the config file can use it to make decisions (typically 1055 about default-terminal). 1056 1057* Make the initial client wait until config file parsing has finished to avoid 1058 racing with commands. 1059 1060* Fix core when if-shell fails. 1061 1062* Only use ED to clear screen if the pane is at the bottom. 1063 1064* Fix multibyte UTF-8 output. 1065 1066* Code improvements around target (-t) resolution. 1067 1068* Change how the default target (for commands without -t) is managed across 1069 command sequences: now it is set up at the start and commands are required 1070 to update it if needed. Fixes binding command sequences to mouse keys. 1071 1072* Make if-shell from the config file work correctly. 1073 1074* Change to always check the root key table if no binding is found in the 1075 current table (prefix table or copy-mode table or whatever). This means that 1076 root key bindings will take effect even in copy mode, if not overridden by a 1077 copy mode key binding. 1078 1079* Fix so that the history file works again. 1080 1081* Run config file without a client rather than using the first client, restores 1082 previous behaviour. 1083 1084* If a #() command doesn't exit, continue to read from it and use its last full 1085 line of output. 1086 1087* Handle slow terminals and fast output better: when the amount of data 1088 outstanding gets too large, discard output until it is drained and we are 1089 able to do a full redraw. Prevents tmux sitting on a huge buffer that the 1090 terminal will take forever to consume. 1091 1092* Do not redraw a client unless we realistically think it can accept the data - 1093 defer redraws until the client has nothing else waiting to write. 1094 1095CHANGES FROM 2.3 TO 2.4, 20 April 2017 1096 1097Incompatible Changes 1098==================== 1099 1100* Key tables have undergone major changes. Mode key tables are no longer 1101 separate from the main key tables. All mode key tables have been removed, 1102 together with the -t flag to bind-key and unbind-key. 1103 1104 The emacs-edit, vi-edit, emacs-choose and vi-choose tables have been replaced 1105 by fixed key bindings in the command prompt and choose modes. The mode-keys 1106 and status-keys options remain. 1107 1108 The emacs-copy and vi-copy tables have been replaced by the copy-mode and 1109 copy-mode-vi tables. Commands are sent using the -X and -N flags to 1110 send-keys. So the following: 1111 1112 bind -temacs-copy C-Up scroll-up 1113 bind -temacs-copy -R5 WheelUpPane scroll-up 1114 1115 Becomes: 1116 1117 bind -Tcopy-mode C-Up send -X scroll-up 1118 bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up 1119 1120 These changes allows the full command parser (including command sequences) and 1121 command set to be used - for example, the normal command prompt with editing 1122 and history is now used for searching, jumping, and so on instead of a custom 1123 one. The default C-r binding is now: 1124 1125 bind -Tcopy-mode C-r command-prompt -i -p'search up' "send -X search-backward-incremental '%%'" 1126 1127 There are also some new commmands available with send -X, such as 1128 copy-pipe-and-cancel. 1129* set-remain-on-exit has gone -- can be achieved with hooks instead. 1130* Hooks: before hooks have been removed and only a selection of commands now 1131 have after hooks (they are no longer automatic). Additional hooks have been 1132 added. 1133* The xterm-keys option now defaults to on. 1134 1135Normal Changes 1136============== 1137 1138* Support for mouse double and triple clicks. 1139* BCE (Background Colour Erase) is now supported. 1140* All occurrences of a search string in copy mode are now highlighted; 1141 additionally, the number of search results is displayed. The highlighting 1142 updates interactively with the default emacs key bindings (incremental 1143 search). 1144* source-file now understands glob patterns. 1145* Formats now have simple comparisons: 1146 1147 #{==:a,b} 1148 #{!=:a,b} 1149 1150* There are the following new formats: 1151 1152 - #{version} -- the tmux server version; 1153 - #{client_termtype} -- the terminal type of the client; 1154 - #{client_name} -- the name of a client; 1155 - #{client_written} -- the number of bytes written to the client. 1156 1157* The configuration file now accepts %if/%endif conditional blocks which are 1158 processed when it is parsed; the argument is a format string (useful with the 1159 new format comparison options). 1160* detach-client now has -E to execute a command replacing the client instead of 1161 exiting. 1162* Add support for custom command aliases, this is an array option which 1163 contains items of the form "alias=command". This is consulted when an 1164 unknown command is parsed. 1165* break-pane now has -n to specify the new window name. 1166* OSC 52 support has been added for programs inside tmux to set a tmux buffer. 1167* The mouse "all event" mode (1003) is now supported. 1168* Palette setting is now possible (OSC 4 and 104). 1169* Strikethrough support (a recent terminfo is required). 1170* Grouped sessions can now be named (new -t). 1171* terminal-overrides and update-environment are now array options (the previous 1172 set -ag syntax should work without change). 1173* There have been substantial performance improvements. 1174 1175CHANGES FROM 2.2 TO 2.3, 29 September 2016 1176 1177Incompatible Changes 1178==================== 1179 1180None. 1181 1182Normal Changes 1183============== 1184 1185* New option 'pane-border-status' to add text in the pane borders. 1186* Support for hooks on commands: 'after' and 'before' hooks. 1187* 'source-file' understands '-q' to suppress errors for nonexistent files. 1188* Lots of UTF8 improvements, especially on MacOS. 1189* 'window-status-separator' understands #[] expansions. 1190* 'split-window' understands '-f' for performing a full-width split. 1191* Allow report count to be specified when using 'bind-key -R'. 1192* 'set -a' for appending to user options (@foo) is now supported. 1193* 'display-panes' can now accept a command to run, rather than always 1194 selecting the pane. 1195 1196CHANGES FROM 2.1 TO 2.2, 10 April 2016 1197 1198Incompatible Changes 1199==================== 1200 1201* The format strings which referenced time have been removed. Instead: 1202 1203 #{t:window_activity} 1204 1205can be used. 1206 1207* Support for TMPDIR has been removed. Use TMUX_TMPDIR instead. 1208* UTF8 detection now happens automatically if the client supports it, hence 1209 the: 1210 1211 mouse-utf8 1212 utf8 1213 1214 options has been removed. 1215* The: 1216 1217 mouse_utf8_flag 1218 1219 format string has been removed. 1220* The -I option to show-messages has been removed. See: 1221 1222 #{t:start_time} 1223 1224 format option instead. 1225 1226Normal Changes 1227============== 1228 1229* Panes are unzoomed with selectp -LRUD 1230* New formats added: 1231 1232 #{scroll_position} 1233 #{socket_path} 1234 #{=10:...} -- limit to N characters (from the start) 1235 #{=-10:...} -- limit to N characters (from the end) 1236 #{t:...} -- used to format time-based formats 1237 #{b:...} -- used to ascertain basename from string 1238 #{d:...} -- used to ascertain dirname from string 1239 #{s:...} -- used to perform substitutions on a string 1240 1241* Job output is run via the format system, so formats work again 1242* If display-time is set to 0, then the indicators wait for a key to be 1243 pressed. 1244* list-keys and list-commands can be run without starting the tmux server. 1245* kill-session learns -C to clear all alerts in all windows of the session. 1246* Support for hooks (internal for now), but hooks for the following have been 1247 implemented: 1248 1249 alert-bell 1250 alert-silence 1251 alert-activity 1252 client-attached 1253 client-detached 1254 client-resized 1255 pane-died 1256 pane-exited 1257 1258* RGB (24bit) colour support. The 'Tc' flag must be set in the external TERM 1259 entry (using terminal-overrides or a custom terminfo entry). 1260 1261CHANGES FROM 2.0 TO 2.1, 18 October 2015 1262 1263Incompatible Changes 1264==================== 1265 1266* Mouse-mode has been rewritten. There's now no longer options for: 1267 - mouse-resize-pane 1268 - mouse-select-pane 1269 - mouse-select-window 1270 - mode-mouse 1271 1272 Instead there is just one option: 'mouse' which turns on mouse support 1273 entirely. 1274* 'default-terminal' is now a session option. Furthermore, if this is set 1275 to 'screen-*' then emulate what screen does. If italics are wanted, this 1276 can be set to 'tmux' but this is still new and not necessarily supported 1277 on all platforms with older ncurses installs. 1278* The c0-* options for rate-limiting have been removed. Instead, a backoff 1279 approach is used. 1280 1281Normal Changes 1282============== 1283 1284* New formats: 1285 - session_activity 1286 - window_linked 1287 - window_activity_format 1288 - session_alerts 1289 - session_last_attached 1290 - client_pid 1291 - pid 1292* 'copy-selection', 'append-selection', 'start-named-buffer' now understand 1293 an '-x' flag to prevent it exiting copying mode. 1294* 'select-pane' now understands '-P' to set window/pane background colours. 1295* 'renumber-windows' now understands windows which are unlinked. 1296* 'bind' now understands multiple key tables. Allows for key-chaining. 1297* 'select-layout' understands '-o' to undo the last layout change. 1298* The environment is updated when switching sessions as well as attaching. 1299* 'select-pane' now understands '-M' for marking a pane. This marked pane 1300 can then be used with commands which understand src-pane specifiers 1301 automatically. 1302* If a session/window target is prefixed with '=' then only an exact match 1303 is considered. 1304* 'move-window' understands '-a'. 1305* 'update-environment' understands '-E' when attach-session is used on an 1306 already attached client. 1307* 'show-environment' understands '-s' to output Bourne-compatible commands. 1308* New option: 'history-file' to save/restore command prompt history. 1309* Copy mode is exited if the history is cleared whilst in copy-mode. 1310* 'copy-mode' learned '-e' to exit copy-mode when scrolling to end. 1311 1312CHANGES FROM 1.9a TO 2.0, 06 March 2015 1313 1314Incompatible Changes 1315==================== 1316 1317* The choose-list command has been removed. 1318* 'terminal-overrides' is now a server option, not a session option. 1319* 'message-limit' is now a server option, not a session option. 1320* 'monitor-content' option has been removed. 1321* 'pane_start_path' option has been removed. 1322* The "info" mechanism which used to (for some commands) provide feedback 1323 has been removed, and like other commands, they now produce nothing on 1324 success. 1325 1326Normal Changes 1327============== 1328 1329* tmux can now write an entry to utmp if the library 'utempter' is present 1330 at compile time. 1331* set-buffer learned append mode (-a), and a corresponding 1332 'append-selection' command has been added to copy-mode. 1333* choose-mode now has the following commands which can be bound: 1334 - start-of-list 1335 - end-of-list 1336 - top-line 1337 - bottom-line 1338 1339* choose-buffer now understands UTF-8. 1340* Pane navigation has changed: 1341 - The old way of always using the top or left if the choice is ambiguous. 1342 - The new way of remembering the last used pane is annoying if the 1343 layout is balanced and the leftmost is obvious to the user (because 1344 clearly if we go right from the top-left in a tiled set of four we want 1345 to end up in top-right, even if we were last using the bottom-right). 1346 1347 So instead, use a combination of both: if there is only one possible 1348 pane alongside the current pane, move to it, otherwise choose the most 1349 recently used of the choice. 1350* 'set-buffer' can now be told to give names to buffers. 1351* The 'new-session', 'new-window', 'split-window', and 'respawn-pane' commands 1352 now understand multiple arguments and handle quoting problems correctly. 1353* 'capture-pane' understands '-S-' to mean the start of the pane, and '-E-' to 1354 mean the end of the pane. 1355* Support for function keys beyond F12 has changed. The following explains: 1356 - F13-F24 are S-F1 to S-F12 1357 - F25-F36 are C-F1 to C-F12 1358 - F37-F48 are C-S-F1 to C-S-F12 1359 - F49-F60 are M-F1 to M-F12 1360 - F61-F63 are M-S-F1 to M-S-F3 1361 1362 Therefore, F13 becomes a binding of S-F1, etc. 1363* Support using pane id as part of session or window specifier (so % means 1364 session-of-%1 or window-of-%1) and window id as part of session 1365 (so @1 means session-of-@1). 1366* 'copy-pipe' command now understands formats via -F 1367* 'if-shell' command now understands formats via -F 1368* 'split-window' and 'join-window' understand -b to create the pane to the left 1369 or above the target pane. 1370 1371CHANGES FROM 1.9 TO 1.9a, 22 February 2014 1372 1373NOTE: This is a bug-fix release to address some important bugs which just 1374missed the 1.9 deadline, but were found afterwards. 1375 1376Normal Changes 1377============== 1378 1379* Fix crash due to uninitialized lastwp member of layout_cell 1380* Fix -fg/-bg/-style with 256 colour terminals. 1381 1382CHANGES FROM 1.8 TO 1.9, 20 February 2014 1383 1384NOTE: This release has bumped the tmux protocol version. It is therefore 1385advised that the prior tmux server is restarted when this version of tmux is 1386installed, to avoid protocol mismatch errors for newer clients trying to 1387talk to an older running tmux server. 1388 1389Incompatible Changes 1390==================== 1391 1392* 88 colour support has been removed. 1393* 'default-path' has been removed. The new-window command accepts '-c' to 1394 cater for this. The previous value of "." can be replaced with: 'neww -c 1395 $PWD', the previous value of '' which meant current path of the pane can 1396 be specified as: 'neww -c "#{pane_current_path}"' 1397 1398Deprecated Changes 1399================== 1400 1401* The single format specifiers: #A -> #Z (where defined) have been 1402 deprecated and replaced with longer-named equivalents, as listed in the 1403 FORMATS section of the tmux manpage. 1404* The various foo-{fg,bg,attr} commands have been deprecated and replaced 1405 with equivalent foo-style option instead. Currently this is still 1406 backwards-compatible, but will be removed over time. 1407 1408Normal Changes 1409============== 1410 1411* A new environment variable TMUX_TMPDIR is now honoured, allowing the 1412 socket directory to be set outside of TMPDIR (/tmp/ if not set). 1413* If -s not given to swap-pane the current pane is assumed. 1414* A #{pane_synchronized} format specifier has been added to be a conditional 1415 format if a pane is in a synchronised mode (c.f. synchronize-panes) 1416* Tmux now runs under Cygwin natively. 1417* Formats can now be nested within each other and expanded accordingly. 1418* Added 'automatic-rename-format' option to allow the automatic rename 1419 mechanism to use something other than the default of 1420 #{pane_current_command}. 1421* new-session learnt '-c' to specify the starting directory for that session 1422 and all subsequent windows therein. 1423* The session name is now shown in the message printed to the terminal when 1424 a session is detached. 1425* Lots more format specifiers have been added. 1426* Server race conditions have been fixed; in particular commands are not run 1427 until after the configuration file is read completely. 1428* Case insensitive searching in tmux's copy-mode is now possible. 1429* attach-session and switch-client learnt the '-t' option to accept a window 1430 and/or a pane to use. 1431* Copy-mode is only exited if no selection is in progress. 1432* Paste key in copy-mode is now possible to enter text from the clipboard. 1433* status-interval set to '0' now works as intended. 1434* tmux now supports 256 colours running under fbterm. 1435* Many bug fixes! 1436 1437CHANGES FROM 1.7 TO 1.8, 26 March 2013 1438 1439Incompatible Changes 1440==================== 1441 1442* layout redo/undo has been removed. 1443 1444Normal Changes 1445============== 1446 1447* Add halfpage up/down bindings to copy mode. 1448* Session choosing fixed to work with unattached sessions. 1449* New window options window-status-last-{attr,bg,fg} to denote the last 1450 window which was active. 1451* Scrolling in copy-mode now scrolls the region without moving the mouse 1452 cursor. 1453* run-shell learnt '-t' to specify the pane to use when displaying output. 1454* Support for middle-click pasting. 1455* choose-tree learns '-u' to start uncollapsed. 1456* select-window learnt '-T' to toggle to the last window if it's already 1457 current. 1458* New session option 'assume-paste-time' for pasting text versus key-binding 1459 actions. 1460* choose-* commands now work outside of an attached client. 1461* Aliases are now shown for list-commands command. 1462* Status learns about formats. 1463* Free-form options can be set with set-option if prepended with an '@' 1464 sign. 1465* capture-pane learnt '-p' to send to stdout, and '-e' for capturing escape 1466 sequences, and '-a' to capture the alternate screen, and '-P' to dump 1467 pending output. 1468* Many new formats added (client_session, client_last_session, etc.) 1469* Control mode, which is a way for a client to send tmux commands. 1470 Currently more useful to users of iterm2. 1471* resize-pane learnt '-x' and '-y' for absolute pane sizing. 1472* Config file loading now reports errors from all files which are loaded via 1473 the 'source-file' command. 1474* 'copy-pipe' mode command to copy selection and pipe the selection to a 1475 command. 1476* Panes can now emit focus notifications for certain applications 1477 which use those. 1478* run-shell and if-shell now accept formats. 1479* resize-pane learnt '-Z' for zooming a pane temporarily. 1480* new-session learnt '-A' to make it behave like attach-session. 1481* set-option learnt '-o' to prevent setting an option which is already set. 1482* capture-pane and show-options learns '-q' to silence errors. 1483* New command 'wait-for' which blocks a client until woken up again. 1484* Resizing panes will now reflow the text inside them. 1485* Lots and lots of bug fixes, fixing memory-leaks, etc. 1486* Various manpage improvements. 1487 1488CHANGES FROM 1.6 TO 1.7, 13 October 2012 1489 1490* tmux configuration files now support line-continuation with a "\" at the 1491 end of a line. 1492* New option status-position to move the status line to the top or bottom of 1493 the screen. 1494* Enforce history-limit option when clearing the screen. 1495* Give each window a unique id, like panes but prefixed with @. 1496* Add pane id to each pane in layout description (while still accepting 1497 the old form). 1498* Provide defined ways to set the various default-path possibilities: ~ 1499 for home directory, . for server start directory, - for session start 1500 directory and empty for the pane's working directory (the default). All 1501 can also be used as part of a relative path (eg -/foo). Also provide -c 1502 flags to neww and splitw to override default-path setting. 1503* Add -l flag to send-keys to send input literally (without translating 1504 key names). 1505* Allow a single option to be specified to show-options to show just that 1506 option. 1507* New command "move-pane" (like join-pane but allows the same window). 1508* join-pane and move-pane commands learn "-b" option to place the pane to 1509 the left or above. 1510* Support for bracketed-paste mode. 1511* Allow send-keys command to accept hex values. 1512* Add locking around "start-server" to avoid race-conditions. 1513* break-pane learns -P/-F arguments for display formatting. 1514* set-option learns "-q" to make it quiet, and not print out anything. 1515* copy mode learns "wrap-search" option. 1516* Add a simple form of output rate limiting by counting the number of 1517 certain C0 sequences (linefeeds, backspaces, carriage returns) and if it 1518 exceeds a threshold (current default 250/millisecond), start to redraw 1519 the pane every 100 milliseconds instead of making each change as it 1520 comes. Two configuration options - c0-change-trigger and 1521 c0-change-interval. 1522* find-window learns new flags: "-C", "-N", "-T" to match against either or 1523 all of a window's content, name, or title. Defaults to all three options 1524 if none specified. 1525* find-window automatically selects the appropriate pane for the found 1526 matches. 1527* show-environment can now accept one option to show that environment value. 1528* Exit mouse mode when end-of-screen reached when scrolling with the mouse 1529 wheel. 1530* select-layout learns -u and -U for layout history stacks. 1531* kill-window, detach-client, kill-session all learn "-a" option for 1532 killing all but the current thing specified. 1533* move-window learns "-r" option to renumber window sequentially in a 1534 session. 1535* New session option "renumber-windows" to automatically renumber windows in 1536 a session when a window is closed. (see "move-window -r"). 1537* Only enter copy-mode on scroll up. 1538* choose-* and list-* commands all use "-F" for format specifiers. 1539* When spawning external commands, the value from the "default-shell" option 1540 is now used, rather than assuming /bin/sh. 1541* New choose-tree command to render window/sessions as a tree for selection. 1542* display-message learns new format options. 1543* For linked-windows across sessions, all flags for that window are now 1544 cleared across sessions. 1545* Lots and lots of bug fixes, fixing memory-leaks, etc. 1546* Various manpage improvements. 1547 1548CHANGES FROM 1.5 TO 1.6, 23 January 2012 1549 1550* Extend the mode-mouse option to add a third choice which means the mouse 1551 does not enter copy mode. 1552* Add a -r flag to switch-client to toggle the client read-only flag. 1553* Add pane-base-index option. 1554* Support \ for line continuation in the configuration file. 1555* Framework for more powerful formatting of command output and use it for 1556 list-{panes,windows,sessions}. This allows more descriptive replacements 1557 (such as #{session_name}) and conditionals. 1558* Mark dead panes with some text saying they are dead. 1559* Reject $SHELL if it is not a full path. 1560* Add -S option to refresh-client to redraw status line. 1561* Add an else clause for if-shell. 1562* Try to resolve relative paths for loadb and saveb (first, using client 1563 working directory, if any, then default-path or session working directory). 1564* Support for \e[3J to clear the history and send the corresponding 1565 terminfo code (E3) before locking. 1566* When in copy mode, make repeat count indicate buffer to replace, if used. 1567* Add screen*:XT to terminal-overrides for tmux-in-tmux. 1568* Status-line message attributes added. 1569* Move word-separators to be a session rather than window option. 1570* Change the way the working directory for new processes is discovered. If 1571 default-path isn't empty, it is used. Otherwise, if a new window is created 1572 from the command-line, the working directory of the client is used. If not, 1573 platform specific code is used to retrieve the current working directory 1574 of the process in the active pane. If that fails, the directory where the 1575 session was created is used, instead. 1576* Do not change the current pane if both mouse-select-{pane,window} are 1577 enabled. 1578* Add \033[s and \033[u to save and restore cursor position. 1579* Allow $HOME to be used as default-path. 1580* Add CNL and CPL escape sequences. 1581* Calculate last position correctly for UTF-8 wide characters. 1582* Add an option allow-rename to disable the window rename escape sequence. 1583* Attributes for each type of status-line alert (ie bell, content and 1584 activity) added. Therefore, remove the superfluous options 1585 window-status-alert-{attr,bg,fg}. 1586* Add a -R flag to send-keys to reset the terminal. 1587* Add strings to allow the aixterm bright colours to be used when 1588 configuring colours. 1589* Drop the ability to have a list of keys in the prefix in favour of two 1590 separate options, prefix and prefix2. 1591* Flag -2 added to send-prefix to send the secondary prefix key. 1592* Show pane size in top right of display panes mode. 1593* Some memory leaks plugged. 1594* More command-prompt editing improvements. 1595* Various manpage improvements. 1596* More Vi mode improvements. 1597 1598CHANGES FROM 1.4 TO 1.5, 09 July 2011 1599 1600* Support xterm mouse modes 1002 and 1003. 1601* Change from a per-session stack of buffers to one global stack. This renders 1602 copy-buffer useless and makes buffer-limit now a server option. 1603* Fix most-recently-used choice by avoiding reset the activity timer for 1604 unattached sessions every second. 1605* Add a -P option to new-window and split-window to print the new window or 1606 pane index in target form (useful to pass it into other commands). 1607* Handle a # at the end of a replacement string (such as status-left) 1608 correctly. 1609* Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262. 1610 If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all 1611 UTF-8 terminals. The option defaults to on if LANG etc are set in the same 1612 manner as the utf8 option. 1613* Support for HP-UX. 1614* Accept colours of the hex form #ffffff and translate to the nearest from the 1615 xterm(1) 256-colour set. 1616* Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors 1617 before closing them (fixes things like "tmux ls && cat"). 1618* Use TMPDIR if set. 1619* Fix next and previous session functions to actually work. 1620* Support -x and -y for new-session to specify the initial size of the window 1621 if created detached with -d. 1622* Make bind-key accept characters with the top-bit-set and print them as octal. 1623* Set $TMUX without the session when background jobs are run. 1624* Simplify the way jobs work and drop the persist type, so all jobs are 1625 fire-and-forget. 1626* Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the 1627 terminal disappears while locked. 1628* Add a -P option to detach to HUP the client's parent process (usually causing 1629 it to exit as well). 1630* Support passing through escape sequences to the underlying terminal by using 1631 DCS with a "tmux;" prefix. 1632* Prevent tiled producing a corrupt layout when only one column is needed. 1633* Give each pane created in a tmux server a unique id (starting from 0), put it 1634 in the TMUX_PANE environment variable and accept it as a target. 1635* Allow a start and end line to be specified for capture-pane which may be 1636 negative to capture part of the history. 1637* Add -a and -s options to lsp to list all panes in the server or session 1638 respectively. Likewise add -s to lsw. 1639* Change -t on display-message to be target-pane for the #[A-Z] replacements 1640 and add -c as target-client. 1641* The attach-session command now prefers the most recently used unattached 1642 session. 1643* Add -s option to detach-client to detach all clients attached to a session. 1644* Add -t to list-clients. 1645* Change window with mouse wheel over status line if mouse-select-window is on. 1646* When mode-mouse is on, automatically enter copy mode when the mouse is 1647 dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel 1648 is scrolled off the bottom. 1649* Provide #h character pair for short hostname (no domain). 1650* Don't use strnvis(3) for the title as it breaks UTF-8. 1651* Use the tsl and fsl terminfo(5) capabilities to update terminal title and 1652 automatically fill them in on terminals with the XT capability (which means 1653 their title setting is xterm-compatible). 1654* Add a new option, mouse-resize-pane. When on, panes may be resized by 1655 dragging their borders. 1656* Fix crash by resetting last pane on {break,swap}-pane across windows. 1657* Add three new copy-mode commands - select-line, copy-line, copy-end-of-line. 1658* Support setting the xterm clipboard when copying from copy mode using the 1659 xterm escape sequence for the purpose (if xterm is configured to allow it). 1660* Support xterm(1) cursor colour change sequences through terminfo(5) Cc 1661 (set) and Cr (reset) extensions. 1662* Support DECSCUSR sequence to set the cursor style with two new terminfo(5) 1663 extensions, Cs and Csr. 1664* Make the command-prompt custom prompts recognize the status-left option 1665 character pairs. 1666* Add a respawn-pane command. 1667* Add a couple of extra xterm-style keys that gnome terminal provides. 1668* Allow the initial context on prompts to be set with the new -I option to 1669 command-prompt. Include the current window and session name in the prompt 1670 when renaming and add a new key binding ($) for rename session. 1671* Option bell-on-alert added to trigger the terminal bell when there is an 1672 alert. 1673* Change the list-keys format so that it shows the keys using actual tmux 1674 commands which should be able to be directly copied into the config file. 1675* Show full targets for lsp/lsw -a. 1676* Make confirm-before prompt customizable with -p option like command-prompt 1677 and add the character pairs #W and #P to the default kill-{pane,window} 1678 prompts. 1679* Avoid sending data to suspended/locked clients. 1680* Small memory leaks in error paths plugged. 1681* Vi mode improvements. 1682 1683CHANGES FROM 1.3 TO 1.4, 27 December 2010 1684 1685* Window bell reporting fixed. 1686* Show which pane is active in the list-panes output. 1687* Backoff reworked. 1688* Prevent the server from dying when switching into copy mode when already 1689 in a different mode. 1690* Reset running jobs when the status line is enabled or disabled. 1691* Simplify xterm modifier detection. 1692* Avoid crashing in copy mode if the screen size is too small for the 1693 indicator. 1694* Flags -n and -p added to switch-client. 1695* Use UTF-8 line drawing characters on UTF-8 terminals, thus fixing some 1696 terminals (eg putty) which disable the vt100 ACS mode switching sequences 1697 in UTF-8 mode. On terminals without ACS, use ASCII equivalents. 1698* New server option exit-unattached added. 1699* New session option destroy-unattached added. 1700* Fall back on normal session choice method if $TMUX exists but is invalid 1701 rather than rejecting. 1702* Mark repeating keys with "(repeat)" in the key list. 1703* When removing a pane, don't change the active pane unless the active pane 1704 is actually the one being removed. 1705* New command last-pane added. 1706* AIX fixes. 1707* Flag -a added to unbind-key. 1708* Add XAUTHORITY to update-environment. 1709* More info regarding window and pane flags is now shown in list-*. 1710* If VISUAL or EDITOR contains "vi" configure mode-keys and status-key to vi. 1711* New window option monitor-silence and session option visual-silence added. 1712* In the built-in layouts distribute the panes more evenly. 1713* Set the default value of main-pane-width to 80 instead of 81. 1714* Command-line flag -V added. 1715* Instead of keeping a per-client prompt history make it global. 1716* Fix rectangle copy to behave like emacs (the cursor is not part of the 1717 selection on the right edge but on the left it is). 1718* Flag -l added to switch-client. 1719* Retrieve environment variables from the global environment rather than 1720 getenv(3), thus allowing them to be updated during the configuration file. 1721* New window options other-pane-{height,width} added. 1722* More minor bugs fixed and manpage improvements. 1723 1724CHANGES FROM 1.2 TO 1.3, 18 July 2010 1725 1726* New input parser. 1727* Flags to move through panes -UDLR added to select-pane. 1728* Commands up-pane, and down-pane removed, since equivalent behaviour is now 1729 available through the target flag (-t:+ and -t:-). 1730* Jump-forward/backward in copy move (based on vi's F, and f commands). 1731* Make paste-buffer accept a pane as a target. 1732* Flag -a added to new-window to insert a window after an existing one, moving 1733 windows up if necessary. 1734* Merge more mode into copy mode. 1735* Run job commands explicitly in the global environment (which can be modified 1736 with setenv -g), rather than with the environment tmux started with. 1737* Use the machine's hostname as the default title, instead of an empty string. 1738* Prevent double free if the window option remain-on-exit is set. 1739* Key string conversions rewritten. 1740* Mark zombie windows as dead in the choose-window list. 1741* Tiled layout added. 1742* Signal handling reworked. 1743* Reset SIGCHLD after fork to fix problems with some shells. 1744* Select-prompt command removed. Therefore, bound ' to command-prompt -p index 1745 "select-window -t:%%" by default. 1746* Catch SIGHUP and terminate if running as a client, thus avoiding clients from 1747 being left hanging around when, for instance, a SSH session is disconnected. 1748* Solaris 9 fixes (such as adding compat {get,set}env(3) code). 1749* Accept none instead of default for attributes. 1750* Window options window-status-alert-{alert,bg,fg} added. 1751* Flag -s added to the paste-buffer command to specify a custom separator. 1752* Allow dragging to make a selection in copy mode if the mode-mouse option is 1753 set. 1754* Support the mouse scroll wheel. 1755* Make pipe-pane accept special character sequences (eg #I). 1756* Fix problems with window sizing when starting tmux from .xinitrc. 1757* Give tmux sockets (but not the containing folder) group permissions. 1758* Extend the target flags (ie -t) to accept an offset (for example -t:+2), and 1759 make it wrap windows, and panes. 1760* New command choose-buffer added. 1761* New server option detach-on-destroy to set what happens to a client when the 1762 session it is attached to is destroyed. If on (default), the client is 1763 detached. Otherwise, the client is switched to the most recently active of 1764 the remaining sessions. 1765* The commands load-buffer, and save-buffer now accept a dash (-) as the file 1766 to read from stdin, or write to stdout. 1767* Custom layouts added. 1768* Additional code reduction, bug fixes, and manpage enhancements. 1769 1770CHANGES FROM 1.1 TO 1.2, 10 March 2010 1771 1772* Switch to libevent. 1773* Emulate the ri (reverse index) capability, ergo allowing tmux to at least 1774 start on Sun consoles (TERM=sun, or sun-color). 1775* Assign each entry a number, or lowercase letter in choose mode, and accept 1776 that as a shortcut key. 1777* Permit top-bit-set characters to be entered in the status line. 1778* Mark no-prefix keys with (no prefix), rather than [] in list-keys. 1779* New command show-messages (alias showmsgs), and new session option 1780 message-limit, to show a per-client log of status lines messages up to the 1781 number defined by message-limit. 1782* Do not interpret #() for display-message to avoid leaking commands. 1783* New window options window-status-format, and window-status-current-format to 1784 control the format of each window in the status line. 1785* Add a -p flag to display-message to print the output, instead of displaying 1786 it in the status line. 1787* Emulate il1, dl1, ich1 to run with vt100 feature set. 1788* New command capture-pane (alias capturep) to copy the entire pane contents 1789 to a paste buffer. 1790* Avoid duplicating code by adding a -w flag to set-option, and show-options to 1791 set, and show window options. The commands set-window-option, and 1792 show-window-options are now aliases. 1793* Panes can now be referred to as top, bottom, top-left, etc. 1794* Add server-wide options, which can be set with set-option -s, and shown with 1795 show-options -s. 1796* New server option quiet (like -q from the command line). 1797* New server option escape-time to set the timeout used to detect if escapes 1798 are alone, part of a function key, or meta sequence. 1799* New session options pane-active-border-bg, pane-active-border-fg, 1800 pane-border-bg, and pane-border-fg to set pane colours. 1801* Make split-window accept a pane target, instead of a window. 1802* New command join-pane (alias joinp) to split, and move an existing pane into 1803 the space (the opposite of break-pane), thus simplifying calls to 1804 split-window, followed by move-window. 1805* Permit S- prefix on keys for shift when the terminal/terminfo supports them. 1806* Window targets (-t flag) can now refer to the last window (!), next (+), and 1807 previous (-) window by number. 1808* Mode keys to jump to the bottom/top of history, end of the next word, scroll 1809 up/down, and reverse search in copy mode. 1810* New session option display-panes-active-colour to display the active pane in 1811 a different colour with the display-panes command. 1812* Read the socket path from $TMUX if it's present, and -L, and -S are not 1813 given. 1814* Vi-style mode keys B, W, and E to navigate between words in copy mode. 1815* Start in more mode when configuration file errors are detected. 1816* Rectangle copy support added. 1817* If attach-session was specified with the -r flag, make the client read-only. 1818* Per-window alternate-screen option. 1819* Make load-buffer work with FIFOs. 1820* New window option word-separators to set the characters considered as word 1821 separators in copy mode. 1822* Permit keys in copy mode to be prefixed by a repeat count, entered with [1-9] 1823 in vi mode, or M-[1-9] in emacs mode. 1824* utf8 improvements. 1825* As usual, additional code reduction, bug fixes, and manpage enhancements. 1826 1827CHANGES FROM 1.0 TO 1.1, 05 November 2009 1828 1829* New run-shell (alias run) command to run an external command without a 1830 window, capture it's stdout, and send it to output mode. 1831* Ability to define multiple prefix keys. 1832* Internal locking mechanism removed. Instead, detach each client and run the 1833 external command specified in the new session option lock-command (by default 1834 lock -np), thus allowing the system password to be used. 1835* set-password command, and -U command line flag removed per the above change. 1836* Add support for -c command line flag to execute a shell command. 1837* New lock-client (alias lockc), and lock-session (alias locks) commands to 1838 lock a particular client, or all clients attached to a session. 1839* Support C-n/C-p/C-v/M-v with emacs keys in choice mode. 1840* Use : for goto line rather than g in vi mode. 1841* Try to guess which client to use when no target client was specified. Finds 1842 the current session, and if only one client is present, use it. Otherwise, 1843 return the most recently used client. 1844* Make C-Down/C-Up in copy mode scroll the screen down/up one line without 1845 moving the cursor. 1846* Scroll mode superseded by copy mode. 1847* New synchronize-panes window option to send all input to all other panes in 1848 the same window. 1849* New lock-server session option to lock, when off (on by default), each 1850 session when it has been idle for the lock-after-time setting. When on, the 1851 entire server locks when all sessions have been idle for their individual 1852 lock-after-time setting. 1853* Add support for grouped sessions which have independent name, options, 1854 current window, but where the linked windows are synchronized (ie creating, 1855 killing windows are mirrored between the sessions). A grouped session may be 1856 created by passing -t to new-session. 1857* New mouse-select-pane session option to select the current pane with the 1858 mouse. 1859* Queue, and run commands in the background for if-shell, status-left, 1860 status-right, and #() by starting each once every status-interval. Adds the 1861 capability to call some programs which would previously cause the server to 1862 hang (eg sleep/tmux). It also avoids running commands excessively (ie if used 1863 multiple times, it will be run only once). 1864* When a window is zombified and automatic-rename is on, append [dead] to the 1865 name. 1866* Split list-panes (alias lsp) off from list-windows. 1867* New pipe-pane (alias pipep) to redirect a pane output to an external command. 1868* Support for automatic-renames for Solaris. 1869* Permit attributes to be turned off in #[] by prefixing with no (eg nobright). 1870* Add H/M/L in vi mode, and M-R/M-r in emacs to move the cursor to the top, 1871 middle, and bottom of the screen. 1872* -a option added to kill-pane to kill all except current pane. 1873* The -d command line flag is now gone (can be replaced by terminal-overrides). 1874 Just use op/AX to detect default colours. 1875* input/tty/utf8 improvements. 1876* xterm-keys rewrite. 1877* Additional code reduction, and bug fixes. 1878 1879CHANGES FROM 0.9 TO 1.0, 20 September 2009 1880 1881* Option to alter the format of the window title set by tmux. 1882* Backoff for a while after multiple incorrect password attempts. 1883* Quick display of pane numbers (C-b q). 1884* Better choose-window, choose-session commands and a new choose-client command. 1885* Option to request multiple responses when using command-prompt. 1886* Improved environment handling. 1887* Combine wrapped lines when pasting. 1888* Option to override terminal settings (terminal-overrides). 1889* Use the full range of ACS characters for drawing pane separator lines. 1890* Customisable mode keys. 1891* Status line colour options, with embedded colours in status-left/right, and 1892 an option to centre the window list. 1893* Much improved layouts, including both horizontal and vertical splitting. 1894* Optional visual bell, activity and content indications. 1895* Set the utf8 and status-utf8 options when the server is started with -u. 1896* display-message command to show a message in the status line, by default some 1897 information about the current window. 1898* Improved current process detection on NetBSD. 1899* unlink-window -k is now the same as kill-window. 1900* attach-session now works from inside tmux. 1901* A system-wide configuration file, /usr/local/etc/tmux.conf. 1902* A number of new commands in copy mode, including searching. 1903* Panes are now specified using the target (-t) notation. 1904* -t now accepts fnmatch(3) patterns and looks for prefixes. 1905* Translate \r into \n when pasting. 1906* Support for binding commands to keys without the prefix key 1907* Support for alternate screen (terminfo smcup/rmcup). 1908* Maintain data that goes off screen after reducing the window size, so it can 1909 be restored when the size is increased again. 1910* New if-shell command to test a shell command before running a tmux command. 1911* tmux now works as the shell. 1912* Man page reorganisation. 1913* Many minor additions, much code tidying and several bug fixes. 1914 1915CHANGES FROM 0.8 TO 0.9, 01 July 2009 1916 1917* Major changes to build infrastructure: cleanup of makefiles and addition 1918 of a configure script. 1919* monitor-content window option to monitor a window for a specific fnmatch(3) 1920 pattern. The find-window command also now accepts fnmatch(3) patterns. 1921* previous-layout and select-layout commands, and a main-horizontal layout. 1922* Recreate the server socket on SIGUSR1. 1923* clear-history command. 1924* Use ACS line drawing characters for pane separator lines. 1925* UTF-8 improvements, and code to detect UTF-8 support by looking at 1926 environment variables. 1927* The resize-pane-up and resize-pane-down commands are now merged together 1928 into a new resize-pane command with -U and -D flags. 1929* confirm-before command to request a yes/no answer before executing dangerous 1930 commands. 1931* Status line bug fixes, support for UTF-8 (status-utf8 option), and a key to 1932 paste from the paste buffer. 1933* Support for some additional escape sequences and terminal features, including 1934 better support for insert mode and tab stops. 1935* Improved window resizing behaviour, modelled after xterm. 1936* Some code reduction and a number of miscellaneous bug fixes. 1937 1938================================================================================ 1939 1940On 01 June 2009, tmux was imported into the OpenBSD base system. From this date 1941onward changes are logged as part of the normal CVS commit message to either 1942OpenBSD or SourceForge CVS. This file will be updated to contain a summary of 1943major changes with each release, and to mention important configuration or 1944command syntax changes during development. 1945 1946The list of older changes is below. 1947 1948================================================================================ 1949 195021 May 2009 1951 1952* stat(2) files before trying to load them to avoid problems, for example 1953 with "source-file /dev/zero". 1954 195519 May 2009 1956 1957* Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide 1958 character and seeing how much the cursor moves. Currently tries to figure out 1959 if this works by some stupid checks on the terminal, these need to be 1960 rethought. Also might be better using a width 1 character rather than width 2. 1961* If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds 1962 that anyone who configures it probably wants UTF-8. Not certain if this is 1963 a perfect idea but let's see if it causes any problems. 1964* New window option: monitor-content. Searches for a string in a window and if 1965 it matches, highlight the status line. 1966 196718 May 2009 1968 1969* main-horizontal layout and main-pane-height option to match vertical. 1970* New window option main-pane-width to set the width of the large left pane with 1971 main-vertical (was left-vertical) layout. 1972* Lots of layout cleanup. manual layout is now manual-vertical. 1973 197416 May 2009 1975 1976* select-layout command and a few default key bindings (M-0, M-1, M-2, M-9) to 1977 select layouts. 1978* Recreate server socket on SIGUSR1, per SF feature request 2792533. 1979 198014 May 2009 1981 1982* Keys in status line (p in vi mode, M-y in emacs) to paste the first line 1983 of the upper paste buffer. Suggested by Dan Colish. 1984* clear-history command to clear a pane's history. 1985* Don't force wrapping with \n when asked, let the cursor code figure it out. 1986 Should fix terminals which use this to detect line breaks. 1987* Major cleanup and restructuring of build infrastructure. Still separate files 1988 for GNU and BSD make, but they are now hugely simplified at the expense of 1989 adding a configure script which must be run before make. Now build and 1990 install with: 1991 1992 $ ./configure && make && sudo make install 1993 199404 May 2009 1995 1996* Use ACS line drawing characters for pane separator lines. 1997 199830 April 2009 1999 2000* Support command sequences without a space before the semicolon, for example 2001 "neww; neww" now works as well as "neww ; neww". "neww;neww" is still an 2002 error. 2003* previous-layout command. 2004* Display the layout name in window lists. 2005* Merge resize-pane-up and resize-pane-down into resize-pane with -U and -D 2006 flags. 2007 200829 April 2009 2009 2010* Get rid of compat/vis.* - only one function was used which is easily 2011 replaced,and less compat code == good. 2012 201327 April 2009 2014 2015* Avoid using the prompt history when the server is locked, and prevent any 2016 input entered from being added to the client's prompt history. 2017* New command, confirm-before (alias confirm), which asks for confirmation 2018 before executing a command. Bound "&" and "x" by default to confirm-before 2019 "kill-window" and confirm-before "kill-pane", respectively. 2020 202123 April 2009 2022 2023* Support NEL, yet another way of making newline. Fixes the output from some 2024 Gentoo packaging thing. Reported by someone on SF then logs that allowed a 2025 fix sent by tcunha. 2026* Use the xenl terminfo flag to detect early-wrap terminals like the FreeBSD 2027 console. Many thanks for a very informative email from Christian Weisgerber. 2028 202921 April 2009 2030 2031* tmux 0.8 released. 2032 203317 April 2009 2034 2035* Remove the right number of characters from the buffer when escape then 2036 a cursor key (or other key prefixed by \033) is pressed. Reported by 2037 Stuart Henderson. 2038 203903 April 2009 2040 2041* rotate-window command. -U flag (default) for up, -D flag for down. 2042 204302 April 2009 2044 2045* Change scroll/pane redraws to only redraw the single pane affected rather 2046 than the entire window. 2047* If redrawing the region would mean redrawing > half the pane, just schedule 2048 to redraw the entire window. Also add a flag to skip updating the window any 2049 further if it is scheduled to be redrawn. This has the effect of batching 2050 multiple redraws together. 2051 205201 April 2009 2053 2054* Basic horizontal splitting and layout management. Still some redraw and other 2055 issues - particularly, don't mix with manual pane resizing, be careful when 2056 viewing from multiple clients and don't expect shell windows to redraw very 2057 well after the layout is changed; generally cycling the layout a few times 2058 will fix most problems. Getting this in for testing while I think about how 2059 to deal with manual mode. 2060 2061 Split window as normal and cycle the layouts with C-b space. Some of the 2062 layouts will work better when swap-pane comes along. 2063 206431 March 2009 2065 2066* AIX port, thanks to cmihai for access to a box. Only tested on 6.1 with xlc 2067 10.1 (make sure CC is set). Needs GNU make and probably ncurses (didn't try 2068 plain curses). Also won't build with DEBUG, so comment the FDEBUG=1 line in 2069 GNUmakefile. 2070* Draw a vertical line on the right when the window size is less than the 2071 terminal size. This is partly to shake out any horizontal limit bugs on the 2072 way to horizontal splitting/pane tiling. Currently a bit slow since it has to 2073 do a lot of redrawing but hopefully that will improve as I get some better 2074 ideas for how to do it. 2075* Fix remaining problems with copy and paste and UTF-8. 2076 207728 March 2009 2078 2079* Better UTF-8 support, including combined characters. Unicode data is now 2080 stored as UTF-8 in a separate array, the code does a lookup into this every 2081 time it gets to a UTF-8 cell. Zero width characters are just appended onto 2082 the UTF-8 data for the previous cell. This also means that almost no bytes 2083 extra are wasted non-Unicode data (yay). 2084 2085 Still some oddities, such as copy mode skips over wide characters in a 2086 strange way, and the code could do with some tidying. 2087* Key repeating is now a property of the key binding not of the command. 2088 Repeat is turned on when the key is bound with the -r flag to bind-key. 2089 next/previous-window no longer repeat by default as it turned out to annoy 2090 me. 2091 209227 March 2009 2093 2094* Clear using ED when redrawing the screen. I foolishly assumed using spaces 2095 would be equivalent and terminals would pick up on this, but apparently not. 2096 This fixes copy and paste in xterm/rxvt. 2097* Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg 2098 tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a 2099 separate server, the new -L command line option should be used: this creates 2100 a socket in the same directory with a different name ("-L main" will create 2101 socket called "main"). -S should only be used to place the socket outside 2102 /tmp. This makes sockets a little more secure and a bit more convenient to 2103 use multiple servers. 2104 210521 March 2009 2106 2107* New session flag "set-remain-on-exit" to set remain-on-exit flag for new 2108 windows created in that session (like "remain-by-default" used to do). Not 2109 perfectly happy about this, but until I can think of a good way to introduce 2110 it generically (maybe a set of options in the session) this will do. Fixes 2111 SF request 2527847. 2112 211307 March 2009 2114 2115* Support for 88 colour terminals. 2116* break-pane command to create a new window using an existing pane. 2117 211802 March 2009 2119 2120* Make escape key timer work properly so escape+key can be used without 2121 lightning fast key presses. 2122 212313 February 2009 2124 2125* Redo mode keys slightly more cleanly and apply them to command prompt 2126 editing. vi or emacs mode is controlled by the session option status-keys. 2127 212812 February 2009 2129 2130* Looking up argv[0] is expensive, so just use p_comm for the window name which 2131 is good enough. Also increase name update time to 500 ms. 2132 213311 February 2009 2134 2135* Only use ri when actually at the top of the screen; just move the cursor up 2136 otherwise. 2137* FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the 2138 cursor can never be beyond $COLUMNS - 1) and does not appear to support 2139 changing this behaviour, or any of the obvious possibilities (turning off 2140 right margin wrapping, insert mode). This is irritating, most notably because 2141 it impossible to write to the very bottom-right of the screen without 2142 scrolling. To work around this, if built on FreeBSD and run with a "cons" 2143 $TERM, the bottom-right cell on the screen is omitted. 2144* Emulate scroll regions (slowly) to support the few terminals which don't have 2145 it (some of which don't really have any excuse). 2146 214710 February 2009 2148 2149* No longer redraw the status line every status-interval unless it has actually 2150 changed. 2151 215208 February 2009 2153 2154* Don't treat empty arguments ("") differently when parsing configuration 2155 file/command prompt rather than command line. 2156* tmux 0.7 released. 2157 215803 February 2009 2159 2160* New command, copy-buffer (alias copyb), to copy a session paste buffer to 2161 another session. 2162 216301 February 2009 2164 2165* The character pair #(command) may now contain (escaped) right parenthesis. 2166 216730 January 2009 2168 2169* . now bound to "command-prompt 'move-window %%'" by default, from joshe. 2170 217129 January 2009 2172 2173* Window options to set status line fg, bg and attributes for a single 2174 window. Options are: window-status-fg, window-status-bg, 2175 window-status-attr. Set to "default" to use the session status colours. 2176 2177 This allows quite neat things like: 2178 2179 $ cat ~/bin/xssh 2180 #!/bin/sh 2181 2182 if [ ! -z "$TMUX" ]; then 2183 case "$1" in 2184 natalya) 2185 tmux setw window-status-fg red >/dev/null 2186 ;; 2187 natasha) 2188 tmux setw window-status-fg yellow >/dev/null 2189 ;; 2190 esac 2191 fi 2192 ssh "$@" 2193 [ ! -z "$TMUX" ] && tmux setw -u window-status-fg >/dev/null 2194 $ alias ssh="~/bin/xssh" 2195 2196* Support #(command) in status-left, and status-right, which is displayed as 2197 the first line of command's output (e.g. set -g status-right 2198 "#(whoami)@#(hostname -s)"). Commands with )s aren't supported. 2199 220028 January 2009 2201 2202* Support mouse in copy mode to move cursor. Can't do anything else at the 2203 moment until other mouse modes are handled. 2204* Better support for at least the most common variant of mouse input: parse it 2205 and adjust for different panes. Also support mouse in window/session choice 2206 mode. 2207 220827 January 2009 2209 2210* Bring back the fancy window titles with session/window names: it is easy to 2211 work around problems with elinks (see FAQ). 2212* -u flag to scroll-mode and copy-mode to start scrolled one page 2213 up. scroll-mode -u is bound to prefix,page-up (ppage) by default. 2214* Allow status, mode and message attributes to be changed by three new options: 2215 status-attr, mode-attr, message-attr. A comma-separated list is accepted 2216 containing: bright, dim, underscore, blink, reverse, hidden, italics, for 2217 example: 2218 2219 set -g status-attr bright,blink 2220 2221 From Josh Elsasser, thanks! 2222 222326 January 2009 2224 2225* Be more clever about picking the right process to create the window name. 2226* Don't balls up the terminal on UTF-8 combined characters. Don't support them 2227 properly either - they are just discarded for the moment. 2228 222925 January 2009 2230 2231* load-buffer command 2232 223323 January 2009 2234 2235* Use reverse colours rather than swapping fg and bg for message, mode and 2236 status line. This makes these usable on black and white terminals. 2237* Better error messages when creating a session or window fails. 2238* Oops. Return non-zero on error. Reported by Will Maier. 2239 224021 January 2009 2241 2242* Handle SIGTERM (and kill-server which uses it), a bit more neatly - tidy 2243 up properly and print a nicer message. Same effect though :-). 2244* new-window now supports -k to kill target window if it exists. 2245* Bring back split-window -p and -l options to specify the height a percentage 2246 or as a number of lines. 2247* Make window and session choice modes allow you to choose items in vi keys 2248 mode (doh!). As a side-effect, this makes enter copy selection (as well 2249 as C-w/M-w) when using emacs keys in copy mode. Reported by merdely. 2250 225120 January 2009 2252 2253* Darwin support for automatic-rename from joshe; Darwin doesn't seem to have 2254 a sane method of getting argv[0] and searching for the precise insane way 2255 is too frustrating, so this just uses the executable name. 2256* Try to change the window title to match the command running it in. This is 2257 done by reading argv[0] from the process group leader of the group that owns 2258 the tty (tcgetpgrp()). This can't be done portably so some OS-dependent code 2259 is introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment. 2260 2261 A new window flag, automatic-rename, is available: if this is set to off, the 2262 window name is not changed. Specifying a name with the new-window, 2263 new-session or rename-window commands will automatically set this flag to off 2264 for the window in question. To disable it entirely set the option to off 2265 globally (setw -g automatic-rename off). 2266 226719 January 2009 2268 2269* Fix various stupid issues when the status line is turned off. Grr. 2270* Use reverse attributes for clock and cursor, otherwise they do not 2271 appear on black and white terminals. 2272* An error in a command sequence now stops execution of that sequence. 2273 Internally, each command code now passes a return code back rather than 2274 talking to the calling client (if any) directly. 2275* attach-session now tries to start the server if it isn't already started - if 2276 no sessions are created in .tmux.conf this will cause an error. 2277* Clean up starting server by making initial client get a special socketpair. 2278 227918 January 2009 2280 2281* Unbreak UTF-8. 2282* -a flag to next-window and previous-window to select the next or previous 2283 window with activity or bell. Bound to M-n and M-p. 2284* find-window command to search window names, titles and visible content (but 2285 not history) for a string. If only one is found, the window is selected 2286 otherwise a choice list is shown. This (as with the other choice commands) 2287 only works from a key. Bound to "f" by default. 2288* Cleaned up command printing code, also enclose arguments with spaces in "s. 2289* Added command sequences. These are entered by separating each argument by a ; 2290 argument (spaces on both sides), for example: 2291 2292 lsk ; lsc 2293 2294 To use a literal ; as the argument prefix it with \, for example: 2295 2296 bind x lsk \; lsc 2297 2298 Commands are executed from left to right. Also note that command sequences do 2299 not support repeat-time repetition unless all commands making up the sequence 2300 support it. 2301* suspend-client command to suspend a client. Don't try to background it 2302 though... 2303* Mark attached sessions in sessions lists. Suggested by Simon Kuhnle. 2304 230517 January 2009 2306 2307* tmux 0.6 released. 2308 230915 January 2009 2310 2311* Support #H for hostname and #S for session name in status-left/right. 2312* Two new commands, choose-window and choose-session which work only when bound 2313 to a key and allow the window or session to be selected from a list. These 2314 are now bound to "w" and "s" instead of the list commands. 2315 231614 January 2009 2317 2318* Rework the prefix-time stuff. The option is now called repeat-time and 2319 defaults to 500 ms. It only applies to a small subset of commands, currently: 2320 up-pane, down-pane, next-window, previous-window, resize-pane-up, 2321 resize-pane-down. These are the commands for which it is obviously useful, 2322 having it for everything else was just bloody annoying. 2323* The alt-up and alt-down keys now resize a pane by five lines at a time. 2324* switch-pane is now select-pane and requires -p to select a pane. The 2325 "o" key binding is changed to down-pane. 2326* up-pane and down-pane commands, bound to arrow up and down by default. 2327* Multiple vertical window splitting. Minimum pane size is four lines, an 2328 (unhelpful) error will be shown if attempting to split a window with less 2329 that eight lines. If the window is resized, as many panes are shown as can 2330 fit without reducing them below four lines. There is (currently!) not a way 2331 to show a hidden pane without making the window larger. 2332 2333 Note the -p and -l options to split-window are now gone, these may reappear 2334 once I think them through again. 2335* Server locking on inactivity (lock-after-time) is now disabled by default. 2336 233713 January 2009 2338 2339* kill-pane command. 2340 234112 January 2009 2342 2343* command-prompt now accepts a single argument, a template string. Any 2344 occurrences of %% in this string are replaced by whatever is entered at the 2345 prompt and the result is executed as a command. This allows things like (now 2346 bound by default): 2347 2348 bind , command-prompt "rename-window %%" 2349 2350 Or my favourite: 2351 2352 bind x command-prompt "split-window 'man %%'" 2353 2354* Option to set prefix time, allowing multiple commands to be entered without 2355 pressing the prefix key again, so long as they each typed within this time of 2356 each other. 2357* Yet more hacks for key handling. Think it is just about working now. 2358* Two commands, resize-pane-up and resize-pane-down to resize a pane. 2359* Make the window pane code handle panes of different sizes, and add a -l 2360 and -p arguments to split-window to specify the new window size in lines 2361 or as a percentage. 2362 236311 January 2009 2364 2365* Vertical window splitting. Currently can only split a window into two panes. 2366 New split-window command splits (bound to ") and switch-pane command (bound to 2367 o) switches between panes. 2368 2369 close-pane, swap-pane commands are to follow. Also to come are pane resizing, 2370 >2 panes, the ability to break a pane out to a full window and vice versa and 2371 possibly horizontal splitting. 2372 2373 Panes are subelements of windows rather than being windows in their own 2374 right. I tried to make them windows (so the splitting was at the session or 2375 client level) but this rapidly became very complex and invasive. So in the 2376 interests of having something working, I just made it so each window can have 2377 two child processes instead of one (and it still took me 12 hours straight 2378 coding). Now the concept is proven and much of the support code is there, 2379 this may change in future if more flexibility is needed. 2380* save-buffer command, from Tiago Cunha. 2381 238210 January 2009 2383 2384* New option, lock-after-time. If there is no activity in the period specified 2385 by this option (in seconds), tmux will lock the server. Default is 1800 (30 2386 minutes), set to 0 to disable. 2387* Server locking. Two new commands: set-password to set a password (a 2388 preencrypted password may be specified with -c); and lock-server to lock the 2389 server until the password is entered. Also an additional command line flag, 2390 -U, to unlock from the shell. The default password is blank (any password 2391 accepted). If specifying an encrypted password from encrypt(1) in .tmux.conf 2392 with -c, don't forget to enclose it in single-quotes (') to prevent shell 2393 variable expansion. 2394* If a window is created from the command line, tmux will now use the same 2395 current working directory for the new process. A new default-path option to 2396 sets the working directory for processes created from keys or interactively 2397 from the prompt. 2398* New mode to display a large clock. Entered with clock-mode command (bound to 2399 C-b t by default); two window options: clock-mode-colour and clock-mode-style 2400 (12 or 24). This will probably be used as the basis for window locking. 2401* New command, server-info, to show some server information and terminal 2402 details. 2403 240409 January 2009 2405 2406* Stop using ncurses variables and instead build a table of the codes we want 2407 into an array for each terminal type. This makes the code a little more 2408 untidy in places but gets rid of the awful global variables and calling 2409 setterm all the time, and shoves all the ncurses-dependent mess into a single 2410 file, tty-term.c. It also allows overriding single terminal codes, this is 2411 used to fix rxvt on some platforms (where it is missing dch) and in future 2412 may allow user customisation a la vim. 2413* Update key handling code. Simplify, support ctrl properly and add a new 2414 window option (xterm-keys) to output xterm key codes including ctrl and, 2415 if available, alt and shift. 2416 241708 January 2009 2418 2419* If built without DEBUG (the release versions), don't cause a fatal error if 2420 the grid functions notice an input error, just log and ignore the 2421 request. This might mean me getting shouted at less often when bugs kill 2422 long-running sessions, at least in release versions. 2423* Hopefully fix cursor out-of-bounds checking when writing to grid. When I 2424 wrote the code I must have forgotten that the cursor can be one cell off the 2425 right of the screen (yes, I know), so there were number of out-of-bounds/ 2426 overflow problems. 2427 242807 January 2009 2429 2430* New flag to set and setw, -u, to unset an option (allowing it to inherit from) 2431 the global options again. 2432* Added more info messages for options changes. 2433* A bit of tidying and reorganisation of options code. 2434 243506 January 2009 2436 2437* Don't crash when backspacing if cursor is off the right of the screen, 2438 reported by David Chisnall. 2439* Complete words at any point inside command in prompt, also use option name 2440 as well as command names. 2441* Per-client prompt history of up to 100 items. 2442* Use a splay tree for key bindings instead of an array. As a side-effect this 2443 sorts them when listed. 2444 244522 December 2008 2446 2447* Use the right keys for home and end. 2448 244920 December 2008 2450 2451* Add vim mode for tmux configuration file to examples/, from Tiago Cunha. 2452 245315 December 2008 2454 2455* New command, source-file (alias source), to load a configuration 2456 file. Written by Tiago Cunha, many thanks. 2457 245813 December 2008 2459 2460* Work around lack of dch. On Linux, the rxvt termcap doesn't have it (it is 2461 lying, but we can't really start disbelieving termcaps...). This is a bit 2462 horrible - I can see no way to do it without pretty much redrawing the whole 2463 line, but it works... 2464 246510 December 2008 2466 2467* glibc's getopt(3) is useless: it is not POSIX compliant without jumping 2468 through non-portable hoops, and the method of resetting it is unclear (the 2469 man page on my system says set optind to 1, but other sources say 0). So, 2470 import OpenBSD's getopt_long.c into compat/ for use on Linux and use the 2471 clearly documented optreset = optind = 1 method. This fixes some strange 2472 issues with command parsing (getting the syntax wrong would prevent any 2473 further commands being parsed). 2474 247506 December 2008 2476 2477* Bring set/setw/show/showw into line with other commands. This means that by 2478 default they now affect the current window (if any); the new -g flag must be 2479 passed to set the global options. This changes the behaviour of set/show and 2480 WILL BREAK CURRENT CONFIGURATIONS. 2481 2482 In summary, whether in the configuration file, the command prompt, or a key 2483 binding, use -g to set a global option, use -t to specify a particular window 2484 or session, or omit both to try and use the current window or session. 2485 2486 This makes set/show a bit of a pain but is the correct behaviour for 2487 setw/showw and is the same as every other command, so we can put up with a 2488 bit of pain for consistency. 2489* Redo window options. They now work in the same way to session options with a 2490 global options set. showw/setw commands now have similar syntax to show/set 2491 (including the ability to use abbreviations). 2492 2493 PLEASE NOTE this includes the following configuration-breaking changes: 2494 2495 - remain-by-default is now GONE, use "setw -g remain-on-exit" to apply the 2496 global window option instead; 2497 - mode-keys is now a window option rather than session - use "setw [-g] 2498 mode-keys" instead of set. 2499 2500 There are also some additions: 2501 2502 - message-fg and message-bg session options to control status line message 2503 colours; 2504 - mode-fg and mode-bg window options to set colours in window modes such as 2505 copy mode. 2506 2507 The options code still a mess and now there is twice as much of it :-(. 2508 250902 December 2008 2510 2511* Add support for including the window title in status-left or status-right 2512 strings by including the character pair "#T". This may be prefixed with 2513 a number to specify a maximum length, for example "#24T" to use at most 2514 24 characters of the title. 2515* Introduce two new options, status-left-length and status-right-length, 2516 control the maximum length of left and right components of the status bar. 2517* elinks (and possibly others) bypass the terminal and talk directly to X to 2518 restore the window title when exiting. tmux can't know about this particular 2519 bit of stupidity so the title ends up strange - the prefix isn't terribly 2520 important and elinks is quite useful so just get rid of it. 2521 252227 November 2008 2523 2524* Tweaks to support Dragonfly. 2525 252617 November 2008 2527 2528* tmux 0.5 released. 2529 253016 November 2008 2531 2532* New window option: "utf8"; this must be on (it is off by default) for UTF-8 2533 to be parsed. The global/session option "utf8-default" controls the setting 2534 for new windows. 2535 2536 This means that by default tmux does not handle UTF-8. To use UTF-8 by 2537 default it is necessary to a) "set utf8-default on" in .tmux.conf b) start 2538 tmux with -u on any terminal which support UTF-8. 2539 2540 It seems a bit unnecessary for this to be a per-window option but that is 2541 the easiest way to do it, and it can't do any harm... 2542* Enable default colours if op contains \033[39;49m, based on a report from 2543 fulvio ciriaco. 2544 254512 November 2008 2546 2547* Keep stack of last windows rather than just most recent; based on a diff from 2548 joshe. 2549 255004 November 2008 2551 2552* Don't try to redraw status line when showing a prompt or message; if it does, 2553 the status timer is never reset so it redraws on every loop. Spotted by 2554 joshe. 2555 255609 October 2008 2557 2558* Translate 256 colours into 16 if 256 is not available, same as screen does. 2559* Better support for OSC command (only to set window title now), and also 2560 support using APC for the same purpose (some Linux default shell profiles do 2561 this). 2562 256325 September 2008 2564 2565* Large internal rewrite to better support 256 colours and UTF-8. Screen data 2566 is now stored as single two-way array of structures rather than as multiple 2567 separate arrays. Also simplified a lot of code. 2568 2569 Only external changes are three new flags, -2, -d and -u, which force tmux to 2570 assume the terminal supports 256 colours, default colours (useful for 2571 xterm-256color which lacks the AX flag), or UTF-8 respectively. 2572 257310 September 2008 2574 2575* Split off colour conversion code from screen code. 2576 257709 September 2008 2578 2579* Initial UTF-8 support. A bit ugly and with a limit of 4096 UTF-8 2580 characters per window. 2581 258208 September 2008 2583 2584* 256 colour support. tmux attempts to autodetect the terminal by looking 2585 both at what ncurses reports (usually wrong for xterm) and checking if 2586 the TERM contains "256col". For xterm TERM=xterm-256color is needed (as 2587 well as a build that support 256 colours); this seems to work for rxvt 2588 as well. On non-256 colour terminals, high colours are translated to white 2589 foreground and black background. 2590 259128 August 2008 2592 2593* Support OS X/Darwin thanks to bsd-poll.c from OpenSSH. Also convert 2594 from clock_gettime(2) to gettimeofday(2) as OS X doesn't support the 2595 former; microsecond accuracy will have to be sufficient ;-). 2596 259707 August 2008 2598 2599* Lose some unused/useless wrapper functions. 2600 260125 July 2008 2602 2603* Shell variables may now be defined and used in configuration file. Define 2604 variables with: 2605 2606 VAR=1 2607 2608 And use with: 2609 2610 renamew ${VAR} 2611 renamew "x${VAR}x" 2612 2613 Also some other fixes to make, for example, "abc""abc" work similarly to 2614 the shell. 2615 261624 July 2008 2617 2618* Finally lose inconsistently-used SCREEN_DEF* defines. 2619* If cursor mode is on, switch the arrow keys from \033[A to \033OA. 2620* Support the numeric keypad in both application and numbers mode. This is 2621 different from screen which always keeps it in application mode. 2622 262319 July 2008 2624 2625* Unbreak "set status" - tmux thought it was ambiguous, reported by rivo nurges. 2626 262702 July 2008 2628 2629* Split vi and emacs mode keys into two tables and add an option (mode-keys) 2630 to select between them. Default is emacs, use, 2631 2632 tmux set mode-keys vi 2633 2634 to change to vi. 2635 2636 vi mode uses space to start selection, enter to copy selection and escape 2637 to clear selection. 2638 263901 July 2008 2640 2641* Protocol versioning. Clients which identify as a different version from the 2642 server will be rejected. 2643* tmux 0.4 released. 2644 264529 June 2008 2646 2647* Zombie windows. These are not closed when the child process dies. May be 2648 set for a window with the new "remain-on-exit" option; the default setting 2649 of this flag for new windows may be set with the "remain-by-default" session 2650 option. 2651 2652 A window may be restarted with the respawn-window command: 2653 2654 respawn-window [-k] [command] 2655 2656 If -k is given, any existing process running in the window is killed; 2657 if command is omitted, the same command as when the window was first 2658 created is used. 2659 266027 June 2008 2661 2662* Handle nonexistent session or client to -t properly. 2663 266425 June 2008 2665 2666* select-prompt command to allow a window to be selected at a prompt. Only 2667 windows in the current session may be selected. Bound to ' by default. 2668 Suggested by merdely. 2669* move-window command. Requested by merdely. 2670* Support binding alt keys (prefixed with M-). Change default to use 2671 C- for ctrl keys (^ is still accepted as an alternative). 2672* Slim down default key bindings: support lowercase only. 2673* Handle escaped keys properly (parse eg \033b into a single key code) and 2674 use this to change copy mode next/previous work to M-f and M-b to match 2675 emacs. 2676 267724 June 2008 2678 2679* Next word (C-n/w) and previous word (C-b/b) in copy mode. 2680 268123 June 2008 2682 2683* list-commands command (alias lscm). 2684* Split information about options into a table and use it to parse options 2685 on input (allowing abbreviations) and to print them with show-options 2686 (meaning that bell-action gets a proper string). This turned out a bit ugly 2687 though :-/. 2688 268922 June 2008 2690 2691* Do not translate black and white into default if the terminal supports 2692 default colours. This was nice to force programs which didn't use default 2693 colours to be properly transparent in rxvt/aterm windows with a background 2694 image, but it causes trouble if someone redefines the default foreground and 2695 background (to have black on white or something). 2696 269721 June 2008 2698 2699* Naive tab completion in the command prompt. This only completes command 2700 names if a) they are at the start of the text b) the cursor is at 2701 the end of the text c) the text contains no spaces. 2702* Only attempt to set the title where TERM looks like an xterm (contains 2703 "xterm", "rxvt" or is "screen"). I hate this but I don't see a better way: 2704 setting the title actually kills some other terminals pretty much dead. 2705* Strip padding out of terminfo(5) strings. Currently the padding is just 2706 ignored, this may need to be altered if there are any software terminals 2707 out there that actually need it. 2708 270920 June 2008 2710 2711* buffer-limit option to set maximum size of buffer stack. Default is 9. 2712* Initial buffer improvements. Each session has a stack of buffers and each 2713 buffer command takes a -b option to manipulate items on the stack. If -b 2714 is omitted, the top entry is used. The following commands are currently 2715 available: 2716 2717 set-buffer [-b index] [-t target-session] string 2718 paste-buffer [-d] [-b index] [-t target-window] 2719 delete-buffer [-b index] [-t target-session] 2720 show-buffers [-t target-session] 2721 show-buffer [-b index] [-t target-session] 2722 2723 -d to paste-buffer deletes the buffer after pasting it. 2724* New option, display-time, sets the time status line messages stay on screen 2725 (unless a key is pressed). Set in milliseconds, default is 750 (0.75 seconds). 2726 The timer is only checked every 100 ms or so. 2727 272819 June 2008 2729 2730* Use "status" consistently for status line option, and prefix for "prefix" key 2731 option. 2732* Allow commands to be entered at a prompt. This is triggered with the 2733 command-prompt command, bound to : by default. 2734* Show status messages properly, without blocking the server. 2735 273618 June 2008 2737 2738* New option, set-titles. On by default, this attempts to set the window title 2739 using the \e]2;...\007 xterm code. 2740 2741 Note that elinks requires the STY environment variable (used by screen) to be 2742 set before it will set the window title. So, if you want window titles set by 2743 elinks, set STY before running it (any value will do). I can't do this for all 2744 windows since setting it to an invalid value breaks screen. 2745* Show arrows at either end of status line when scrolled if more windows 2746 exist. Highlight the arrow if a hidden window has activity or bell. 2747* Scroll the status line to show the current window if necessary. Also handle 2748 windows smaller than needed better (show a blank status line instead of 2749 hanging or crashing). 2750 275117 June 2008 2752 2753* tmux 0.3 released. 2754 275516 June 2008 2756 2757* Add some information messages when window options are changed, suggested by 2758 Mike Erdely. Also add a -q command-line option to suppress them. 2759* show-window-options (showw) command. 2760 276115 June 2008 2762 2763* show-options (show) command to show one or all options. 2764 276514 June 2008 2766 2767* New window options: force-width and force-height. This will force a window 2768 to an arbitrary width and height (0 for the default unlimited). This is 2769 neat for emacs which doesn't have a sensible way to force hard wrapping at 80 2770 columns. Also, don't try to be clever and use clr_eol when redrawing the 2771 whole screen, it causes trouble since the redraw functions are used to draw 2772 the blank areas too. 2773* Clear the blank area below windows properly when they are smaller than client, 2774 also add an indicator line to show the vertical limit. 2775* Don't die on empty strings in config file, reported by Will Maier. 2776 277708 June 2008 2778 2779* Set socket mode +x if any sessions are attached and -x if not. 2780 278107 June 2008 2782 2783* Make status-interval actually changeable. 2784 278506 June 2008 2786 2787* New window option: aggressive-resize. Normally, windows are resized to the 2788 size of the smallest attached session to which they are linked. This means a 2789 window only changes size when sessions are detached or attached, or they are 2790 linked or unlinked from a session. This flag changes a window to be the size 2791 of the smallest attached session for which it is the current window - it is 2792 resized every time a session changes to it or away from it. This is nice for 2793 things that handle SIGWINCH well (like irssi) and bad for things like shells. 2794* The server now exits when no sessions remain. 2795* Fix bug with inserting characters with TERM=xterm-color. 2796 279705 June 2008 2798 2799* Completely reorganise command parsing. Much more common code in cmd-generic.c 2800 and a new way of specifying windows, clients or sessions. Now, most commands 2801 take a -t argument, which specifies a client, a session, or a window target. 2802 Clients and sessions are given alone (sessions are fnmatch(3)d and 2803 clients currently not), windows are give by (client|session):index. For 2804 example, if a user is in session "1" window 0 on /dev/ttypi, these should all 2805 be equivalent: 2806 2807 tmux renamew newname (current session and window) 2808 tmux renamew -t: newname (current session and window) 2809 tmux renamew -t:0 newname (current session, window 0) 2810 tmux renamew -t0 newname (current session, window 0) 2811 tmux renamew -t1:0 newname (session 1, window 0) 2812 tmux renamew -t1: newname (session 1's current window) 2813 tmux renamew -t/dev/ttypi newname (client /dev/ttypi's current 2814 session and window) 2815 tmux renamew -t/dev/ttypi: newname (client /dev/ttypi's current 2816 session and window) 2817 tmux renamew -t/dev/ttypi:0 newname (client /dev/ttypi's current 2818 session, window 0) 2819 2820 This does have some downsides, for example, having to use -t on selectw, 2821 2822 tmux selectw -t7 2823 2824 is annoying. But then using non-flagged arguments would mean renaming the 2825 current window would need to be something like: 2826 2827 tmux renamew : newname 2828 2829 It might be better not to try and be so consistent; comments to the usual 2830 address ;-). 2831* Infrastructure for printing arguments in list-keys output. Easy ones only for 2832 now. 2833 283404 June 2008 2835 2836* Add some vi(1) key bindings in copy mode, and support binding ^[, ^\, ^] 2837 ^^ and ^_. Both from/prompted by Will Maier. 2838* setw monitor-activity and set status without arguments now toggle the current 2839 value; suggested by merdely. 2840* New command set-window-option (alias setw) to set the single current window 2841 option: monitor-activity to determine whether window activity is shown in 2842 the status bar for that window (default off). 2843* Change so active/bell windows are inverted in status line. 2844* Activity monitoring - window with activity are marked in status line. No 2845 way to disable this/filter windows yet. 2846* Brought select-window command into line with everything else; it now uses 2847 -i for the window index. 2848* Strings to display on the left and right of the status bar may now be set 2849 with the status-left and status-right options. These are passed through 2850 strftime(3) before being displayed. The status bar is automatically updated 2851 at an interval set by the status-interval option. The default is to display 2852 nothing on the left and the date and time on the left; the default update 2853 interval is 15 seconds. 2854 285503 June 2008 2856 2857* Per session options. Setting options without specifying a session sets the 2858 global options as normal (global options are inherited by all sessions); 2859 passing -c or -s will set the option only for that session. 2860* Because a client has a session attached, any command needing a session can 2861 take a client and use its session. So, anything that used to accept -s now 2862 accepts -c as well. 2863* -s to specify session name now supports fnmatch(3) wildcards; if multiple 2864 sessions are found, or if no -s is specified, the most newly created is used. 2865* If no command is specified, assume new-session. As a byproduct, clean up 2866 command default values into separate init functions. 2867* kill-server command. 2868 286902 June 2008 2870 2871* New command, start-server (alias "start"), to start the tmux server and do 2872 nothing else. This is good if you have a configuration file which creates 2873 windows or sessions (like me): in that case, starting the server the first 2874 time tmux new is run is bad since it creates a new session and window (as 2875 it is supposed to - starting the server is a side-effect). 2876 2877 Instead, I have a little script which does the equivalent of: 2878 2879 tmux has -s0 2>/dev/null || tmux start 2880 tmux attach -d -s0 2881 2882 And I use it to start the server if necessary and attach to my primary 2883 session. 2884* Basic configuration file in ~/.tmux.conf or specified with -f. This is file 2885 contains a set of tmux commands that are run the first time the server is 2886 started. The configuration commands are executed before any others, so 2887 if you have a configuration file that contains: 2888 2889 new -d 2890 neww -s0 2891 2892 And you do the following without an existing server running: 2893 2894 tmux new 2895 2896 You will end up with two sessions, session 0 with two windows (created by 2897 the configuration file) and your client attached to session 1 with one 2898 window (created by the command-line command). I'm not completely happy with 2899 this, it seems a little non-obvious, but I haven't yet decided what to do 2900 about it. 2901 2902 There is no environment variable handling or other special stuff yet. 2903 2904 In the future, it might be nice to be able to have per-session configuration 2905 settings, probably by having conditionals in the file (so you could, for 2906 example, have commands to define a particular window layout that would only 2907 be invoked if you called tmux new -smysession and mysession did not already 2908 exist). 2909* BIG CHANGE: -s and -c to specify session name and client name are now passed 2910 after the command rather than before it. So, for example: 2911 2912 tmux -s0 neww 2913 2914 Becomes: 2915 2916 tmux neww -s0 2917 2918 This is to allow them to be used in the (forthcoming) configuration file 2919 THIS WILL BREAK ANY CURRENT SCRIPTS OR ALIASES USING -s OR -c. 2920 292101 June 2008 2922 2923* Bug fix: don't die if -k passed to link-window and the destination doesn't 2924 exist. 2925* New command, send-keys, will send a set of keys to a window. 2926 292731 May 2008 2928 2929* Fix so tmux doesn't hang if the initial window fails for some reason. This 2930 was highlighted by problems on Darwin, thanks to Elias Pipping for the report 2931 and access to a test account. (tmux still won't work on Darwin since its 2932 poll(2) is broken.) 2933 293402 January 2008 2935 2936* Don't attempt to reset the tty on exit if it has been closed externally. 2937 293806 December 2007 2939 2940* Restore checks for required termcap entries and add a few more obvious 2941 emulations. 2942* Another major reorganisation, this time of screen handling. A new set of 2943 functions, screen_write_*, are now used to write to a screen and a tty 2944 simultaneously. These are used by the input parser to update the base 2945 window screen and also by the different modes which now interpose their own 2946 screen. 2947 294830 November 2007 2949 2950* Support \ek...\e\ to set window name. 2951 295227 November 2007 2953 2954* Enable/disable mouse when asked, if terminal claims to support it. Mouse 2955 sequences are just passed through unaltered for the moment. 2956* Big internal reorganisation. Rather than leaving control of the tty solely in 2957 the client and piping all data through a socket to it, change so that the 2958 server opens the tty again and reads and writes to it directly. This avoids 2959 a lot of buffering and copying. Also reorganise the redrawing stuff so that 2960 everything goes through screen_draw_* - this makes the code simpler, but 2961 still needs broken up more, and all the ways of writing to screens should be 2962 more consistent. 2963 296426 November 2007 2965 2966* Rather than shifting up one line at a time once the history is full, 2967 shift by 10% of the history each time. This is faster. 2968* Add ^A and ^E to copy mode to move to start-of-line/end-of-line. 2969 297024 November 2007 2971 2972* Support for alt charset mode (VT100 graphics characters). 2973 297423 November 2007 2975 2976* Mostly complete copy & paste. Copy mode entered with C-b [ (copy-mode 2977 command). In copy mode, arrow keys/page up/page down/hjkl/C-u/C-f navigate, 2978 space or C-space starts selection, and enter or C-w copies and (important!) 2979 exits copy mode. C-b ] (paste-buffer) pastes into current window. No 2980 extra utility keys (bol/eol/clear selection/etc), only one single buffer, 2981 and no buffer manipulation commands (clear/view/etc) yet. The code is also 2982 fugly :-(. 2983* history-limit option to set maximum history. Does not apply retroactively to 2984 existing windows! Lines take up a variable amount of space, but a reasonable 2985 guess for an 80-column terminal is 250 KB per 1000 lines (of history used, 2986 an empty history takes no space). 2987 298821 November 2007 2989 2990* Create every line as zero length and only expand it as data is written, 2991 rather than creating at full size immediately. 2992* Make command output (eg list-keys) go to a scrollable window similar to 2993 scroll mode. 2994* Redo screen redrawing so it is a) readable b) split into utility functions 2995 that can be used outside screen.c. Use these to make scroll mode only 2996 redraw what it has to which gets rid of irritating flickering status box and 2997 makes it much faster. 2998* Full line width memory and horizontal scrolling in history. 2999* Initial support for scroll history. = to enter scrolling mode, and then 3000 vi keys or up/down/pgup/pgdown to navigate. Q to exit. No horizontal history 3001 yet (need per-line sizes) and a few kinks to be worked out (resizing while in 3002 history mode will probably cause trouble). 3003 300420 November 2007 3005 3006* Fix format string error with "must specify a client" message. Also 3007 sprinkle some printflike tags. 3008* tmux 0.1 released. 3009 301017 November 2007 3011 3012* (nicm) Add -k option to link-window to kill target window if it exists. 3013 301416 November 2007 3015 3016* (nicm) Split in-client display into two columns. This is a hack but not a lot 3017 more so than that bit is already and it helps with lots of keys. 3018* (nicm) switch-client command to switch client between different sessions. This 3019 is pretty cool: 3020 3021 $ tmux bind q switch 0 3022 $ tmux bind w switch 1 3023 3024 Then you can switch between sessions 0 and 1 with a key :-). 3025* (nicm) Accept "-c client-tty" on command line to allow client manipulation 3026 commands, and change detach-/refresh-session to detach-/refresh-client (this 3027 loses the -a behaviour, but at some point -session versions may return, and 3028 -c will allow fnmatch(3)). 3029* (nicm) List available commands on ambiguous command. 3030 303112 November 2007 3032 3033* (nicm) If the terminal supports default colours (AX present), force black 3034 background and white foreground to default. This is useful on transparent 3035 *terms for programs which don't do it themselves (like most(1)). 3036* (nicm) Fill in the rest of the man page. 3037* (nicm) kill-session command. 3038 303909 November 2007 3040 3041* (nicm) C-space is now "^ " not "^@". 3042* (nicm) Support tab (\011). 3043* (nicm) Initial man page outline. 3044* (nicm) -V to show version. 3045* (nicm) rename-session command. 3046 304708 November 2007 3048 3049* (nicm) Check for required terminal capabilities on start. 3050 305131 October 2007 3052 3053* (nicm) Linux port. 3054 305530 October 2007 3056 3057* (nicm) swap-window command. Same as link-window but swaps windows. 3058 305926 October 2007 3060 3061* (nicm) Saving scroll region on \e7 causes problems with ncmpc so I guess 3062 it is not required. 3063* (nicm) unlink-window command. 3064* (nicm) link-window command to link an existing window into another session 3065 (or another index in the same session). Syntax: 3066 3067 tmux -s dstname link-window [-i dstidx] srcname srcidx 3068 3069* (nicm) Redo window data structures. The global array remains, but each per- 3070 session list is now a RB tree of winlink structures. This disassociates the 3071 window index from the array size (allowing arbitrary indexes) which still 3072 allowing windows to have multiple indexes. 3073 307425 October 2007 3075 3076* (nicm) has-session command: checks if session exists. 3077 307824 October 2007 3079 3080* (nicm) Support for \e6n to request cursor position. resize(1) now works. 3081* (nicm) Support for \e7, \e8 save/restore cursor and attribute sequences. 3082 Currently don't save mode (probably should). Also change some cases where 3083 out-of-bound values are ignored to limit them to within range (there are 3084 others than need to be checked too). 3085 308623 October 2007 3087 3088* (nicm) Lift limit on session name passed with -s. 3089* (nicm) Show size in session/window lists. 3090* (nicm) Pass tty up to server when client identifies and add a list-clients 3091 command to list connected clients. 3092 309320 October 2007 3094 3095* (nicm) Add default-command option and change default to be $SHELL rather than 3096 $SHELL -l. Also try to read shell from passwd db if $SHELL isn't present. 3097 309819 October 2007 3099 3100* (nicm) -n on new-session is now -s, and -n is now the initial window name. 3101 This was documented but not implemented :-/. 3102* (nicm) kill-window command, bound to & by default (because it should be hard 3103 to hit accidently). 3104* (nicm) bell-style option with three choices: "none" completely ignore bell; 3105 "any" pass through a bell in any window to current; "current" ignore bells 3106 except in current window. This applies only to the bell terminal signal, 3107 the status bar always reflects any bells. 3108* (nicm) Refresh session command. 3109 311012 October 2007 3111 3112* (nicm) Add a warning if $TMUX exists on new/attach. 3113* (nicm) send-prefix command. Bound to C-b by default. 3114* (nicm) set status, status-fg, status-bg commands. fg and bg are as a number 3115 from 0 to 8 or a string ("red", "blue", etc). status may be 1/0, on/off, 3116 yes/no. 3117* (nicm) Make status line mark window in yellow on bell. 3118 311904 October 2007 3120 3121* (nicm) -d option to attach to detach all other clients on the same session. 3122* (nicm) Partial resizing support. Still buggy. A C-b S and back sometimes fixes 3123 it when it goes wonky. 3124* (mxey) Added my tmux start script as an example (examples/start-tmux.sh). 3125* (mxey) New sessions can now be given a command for their first window. 3126* (mxey) Fixed usage statement for new-window. 3127* (nicm) attach-session (can't believe I forgot it until now!) and list-windows 3128 commands. 3129* (nicm) rename-window and select-window commands. 3130* (nicm) set-option command (alias set): "tmux set-option prefix ^A". 3131* (nicm) Key binding and unbinding is back. 3132 313303 October 2007 3134 3135* (nicm) {new,next,last,previous}-window. 3136* (nicm) Rewrite command handling so commands are much more generic and the 3137 same commands are used for command line and keys (although most will probably 3138 need to check how they are called). Currently incomplete (only new/detach/ls 3139 implemented). Change: -s is now passed before command again! 3140* (nicm) String number arguments. So you can do: tmux bind ^Q create "blah". 3141* (nicm) Key binding. tmux bind key command [argument] and tmux unbind key. 3142 Key names are in a table in key-string.c, plus A is A, ^A is ctrl-A. 3143 Possible commands are in cmd.c (look at cmd_bind_table). 3144* (nicm) Move command parsing into the client. Also rename some messages and 3145 tidy up a few bits. Lots more tidying up needed :-/. 3146 314702 October 2007 3148 3149* (nicm) Redraw client status lines on rename. 3150* (nicm) Error on ambiguous command. 3151 315201 October 2007 3153 3154* (nicm) Restore window title handling. 3155* (nicm) Simple uncustomisable status line with window list. 3156 315730 September 2007 3158 3159* (nicm) Window info command for debugging, C-b I. 3160 316129 September 2007 3162 3163* (nicm) Deleting/inserting lines should follow scrolling region. Fix. 3164* (nicm) Allow creation of detached sessions: "tmux new-session -d". 3165* (nicm) Permit error messages to be passed back for transient clients like 3166 rename. Also make rename -i work. 3167* (nicm) Pass through bell in any window to current. 3168 316928 September 2007 3170 3171* (nicm) Major rewrite of input parser: 3172 - Lose the old weirdness in favour of a state machine. 3173 - Merge in parsing from screen.c. 3174 - Split key parsing off into a separate file. 3175 This is step one towards hopefully allowing a status line. It requires 3176 that we output data as if the terminal had one line less than it really does - 3177 a serious problem when it comes to things like scrolling. This change 3178 consolidates all the range checking and limiting together which should make 3179 it easier. 3180* (mxey) Added window renaming, like "tmux rename [-s session] [-i index] name" 3181 318227 September 2007 3183 3184* Split "tmux list" into "tmux list-sessions" (ls) and "list-windows" (lsw). 3185* New command session selection: 3186 - if name is specified, look for it and use it if it exists, otherwise 3187 error 3188 - if no name specified, try the current session from $TMUX 3189 - if $TMUX doesn't exist, and there is only one session, use it, 3190 otherwise error 3191 319226 September 2007 3193 3194* Add command aliases, so "ls" is an alias for "list". 3195* Rename some commands and alter syntax to take options after a la CVS. Also 3196 change some flags. So: 3197 3198 tmux -s/socket -nabc new 3199 3200 Becomes: 3201 3202 tmux -S/socket new -sabc 3203 3204* Major tidy and split of client/server code. 3205 320622 September 2007 3207 3208* Window list command (C-b W). Started by Maximilian Gass, finished by me. 3209 321020 September 2007 3211 3212* Specify meta via environment variable (META). 3213* Record last window and ^L key to switch to it. Largely from Maximilian Gass. 3214* Reset ignored signals in child after forkpty, makes ^C work. 3215* Wrap on next/previous. From Maximilian Gass. 3216 321719 September 2007 3218 3219* Don't renumber windows on close. 3220 322128 August 2007 3222 3223* Scrolling region (\e[r) support. 3224 322527 August 2007 3226 3227* Change screen.c to work more logically and hopefully fix heap corruption. 3228 322909 July 2007 3230 3231* Initial import to CVS. Basic functions are working, albeit with a couple of 3232 showstopper memory bugs and many missing features. Detaching, reattaching, 3233 creating new sessions, listing sessions work acceptably for using with shells. 3234 Simple curses programs (top, systat, tetris) and more complicated ones (mutt, 3235 emacs) that don't require scrolling regions (ESC[r) mostly work fine 3236 (including mutt, emacs). No status bar yet and no key remapping or other 3237 customisation. 3238