1CHANGES FROM 2.2 to 2.3 29 September 2016 2 3Incompatible Changes 4==================== 5 6None. 7 8Normal Changes 9============== 10 11* New option 'pane-border-status' to add text in the oane borders. 12* Support for hooks on commands: 'after' and 'before' hooks. 13* 'source-file' understands '-q' to supress errors for nonexistent files. 14* Lots of UTF8 improvements, especially on MacOS. 15* 'window-status-separator' understands #[] expansions. 16* 'split-window' understands '-f' for performing a full-width split. 17* Allow report count to be specified when using 'bind-key -R'. 18* 'set -a' for appending to user options (@foo) is now supported. 19* 'display-panes' can now accept a command to run, rather than always 20 selecting the pane. 21 22CHANGES FROM 2.1 to 2.2 10 April 2016 23 24Incompatible Changes 25==================== 26 27* The format strings which referenced time have been removed. Instead: 28 29 #{t:window_activity} 30 31can be used. 32 33* Support for TMPDIR has been removed. Use TMUX_TMPDIR instead. 34* UTF8 detection how happens automatically if the client supports it, hence 35 the: 36 37 mouse-utf8 38 utf8 39 40 options has been removed. 41* The: 42 43 mouse_utf8_flag 44 45 format string has been removed. 46* The -I option to show-messages has been removed. See: 47 48 #{t:start_time} 49 50 format option instead. 51 52Normal Changes 53============== 54 55* Panes are unzoomed with selectp -LRUD 56* New formats added: 57 58 #{scroll_position} 59 #{socket_path} 60 #{=10:...} -- limit to N characters (from the start) 61 #{=-10:...} -- limit to N characters (from the end) 62 #{t:...} -- used to format time-based formats 63 #{b:...} -- used to ascertain basename from string 64 #{d:...} -- used to ascertain dirname from string 65 #{s:...} -- used to perform substitutions on a string 66 67* Job output is run via the format system, so formats work again 68* If display-time is set to 0, then the indicators wait for a key to be 69 pressed. 70* list-keys and list-commands can be run without starting the tmux server. 71* kill-session learns -C to clear all alerts in all windows of the session. 72* Support for hooks (internal for now), but hooks for the following have been 73 implemented: 74 75 alert-bell 76 alert-silence 77 alert-activity 78 client-attached 79 client-detached 80 client-resized 81 pane-died 82 pane-exited 83 84* RGB (24bit) colour support. The 'Tc' flag must be set in the external TERM 85 entry (using terminal-overrides or a custom terminfo entry). 86 87 88CHANGES FROM 2.0 to 2.1 18 October 2015 89 90Incompatible Changes 91==================== 92 93* Mouse-mode has been rewritten. There's now no longer options for: 94 - mouse-resize-pane 95 - mouse-select-pane 96 - mouse-select-window 97 - mode-mouse 98 99 Instead there is just one option: 'mouse' which turns on mouse support 100 entirely. 101* 'default-terminal' is now a session option. Furthermore, if this is set 102 to 'screen-*' then emulate what screen does. If italics are wanted, this 103 can be set to 'tmux' but this is still new and not necessarily supported 104 on all platforms with older ncurses installs. 105* The c0-* options for rate-limiting have been removed. Instead, a backoff 106 approach is used. 107 108Normal Changes 109============== 110 111* New formats: 112 - session_activity 113 - window_linked 114 - window_activity_format 115 - session_alerts 116 - session_last_attached 117 - client_pid 118 - pid 119* 'copy-selection', 'append-selection', 'start-named-buffer' now understand 120 an '-x' flag to prevent it exiting copying mode. 121* 'select-pane' now understands '-P' to set window/pane background colours. 122* 'renumber-windows' now understands windows which are unlinked. 123* 'bind' now understands multiple key tables. Allows for key-chaining. 124* 'select-layout' understands '-o' to undo the last layout change. 125* The environment is updated when switching sessions as well as attaching. 126* 'select-pane' now understands '-M' for marking a pane. This marked pane 127 can then be used with commands which understand src-pane specifiers 128 automatically. 129* If a session/window target is prefixed with '=' then only an exact match 130 is considered. 131* 'move-window' understands '-a'. 132* 'update-environment' understands '-E' when attach-session is used on an 133 already attached client. 134* 'show-environment' understands '-s' to output Bourne-compatible commands. 135* New option: 'history-file' to save/restore command prompt history. 136* Copy mode is exited if the history is cleared whilst in copy-mode. 137* 'copy-mode' learned '-e' to exit copy-mode when scrolling to end. 138 139CHANGES FROM 1.9a to 2.0 6 March 2015 140 141Incompatible Changes 142==================== 143 144* The choose-list command has been removed. 145* 'terminal-overrides' is now a server option, not a session option. 146* 'message-limit' is now a server option, not a session option. 147* 'monitor-content' option has been removed. 148* 'pane_start_path' option has been removed. 149* The "info" mechanism which used to (for some commands) provide feedback 150 has been removed, and like other commands, they now produce nothing on 151 success. 152 153Normal Changes 154============== 155 156* tmux can now write an entry to utmp if the library 'utempter' is present 157 at compile time. 158* set-buffer learned append mode (-a), and a corresponding 159 'append-selection' command has been added to copy-mode. 160* choose-mode now has the following commands which can be bound: 161 - start-of-list 162 - end-of-list 163 - top-line 164 - bottom-line 165 166* choose-buffer now understands UTF-8. 167* Pane navigation has changed: 168 - The old way of always using the top or left if the choice is ambiguous. 169 - The new way of remembering the last used pane is annoying if the 170 layout is balanced and the leftmost is obvious to the user (because 171 clearly if we go right from the top-left in a tiled set of four we want 172 to end up in top-right, even if we were last using the bottom-right). 173 174 So instead, use a combination of both: if there is only one possible 175 pane alongside the current pane, move to it, otherwise choose the most 176 recently used of the choice. 177* 'set-buffer' can now be told to give names to buffers. 178* The 'new-session', 'new-window', 'split-window', and 'respawn-pane' commands 179 now understand multiple arguments and handle quoting problems correctly. 180* 'capture-pane' understands '-S-' to mean the start of the pane, and '-E-' to 181 mean the end of the pane. 182* Support for function keys beyond F12 has changed. The following explains: 183 - F13-F24 are S-F1 to S-F12 184 - F25-F36 are C-F1 to C-F12 185 - F37-F48 are C-S-F1 to C-S-F12 186 - F49-F60 are M-F1 to M-F12 187 - F61-F63 are M-S-F1 to M-S-F3 188 189 Therefore, F13 becomes a binding of S-F1, etc. 190* Support using pane id as part of session or window specifier (so % means 191 session-of-%1 or window-of-%1) and window id as part of session 192 (so @1 means session-of-@1). 193* 'copy-pipe' command now understands formats via -F 194* 'if-shell' command now understands formats via -F 195* 'split-window' and 'join-window' understand -b to create the pane to the left 196 or above the target pane. 197 198CHANGES FROM 1.9 to 1.9a 22 February 2014 199 200NOTE: This is a bug-fix release to address some important bugs which just 201missed the 1.9 deadline, but were found afterwards. 202 203Normal Changes 204============== 205 206* Fix crash due to uninitialized lastwp member of layout_cell 207* Fix -fg/-bg/-style with 256 colour terminals. 208 209CHANGES FROM 1.8 to 1.9, 20 February 2014 210 211NOTE: This release has bumped the tmux protocol version. It is therefore 212advised that the prior tmux server is restarted when this version of tmux is 213installed, to avoid protocol mismatch errors for newer clients trying to 214talk to an older running tmux server. 215 216Incompatible Changes 217==================== 218 219* 88 colour support has been removed. 220* 'default-path' has been removed. The new-window command accepts '-c' to 221 cater for this. The previous value of "." can be replaced with: 'neww -c 222 $PWD', the previous value of '' which meant current path of the pane can 223 be specified as: 'neww -c "#{pane_current_path}"' 224 225Deprecated Changes 226================== 227 228* The single format specifiers: #A -> #Z (where defined) have been 229 deprecated and replaced with longer-named equivalents, as listed in the 230 FORMATS section of the tmux manpage. 231* The various foo-{fg,bg,attr} commands have been deprecated and replaced 232 with equivalent foo-style option instead. Currently this is still 233 backwards-compatible, but will be removed over time. 234 235Normal Changes 236============== 237 238* A new environment variable TMUX_TMPDIR is now honoured, allowing the 239 socket directory to be set outside of TMPDIR (/tmp/ if not set). 240* If -s not given to swap-pane the current pane is assumed. 241* A #{pane_synchronized} format specifier has been added to be a conditional 242 format if a pane is in a synchronised mode (c.f. synchronize-panes) 243* Tmux now runs under Cygwin natively. 244* Formats can now be nested within each other and expanded accordingly. 245* Added 'automatic-rename-format' option to allow the automatic rename 246 mechanism to use something other than the default of 247 #{pane_current_command}. 248* new-session learnt '-c' to specify the starting directory for that session 249 and all subsequent windows therein. 250* The session name is now shown in the message printed to the terminal when 251 a session is detached. 252* Lots more format specifiers have been added. 253* Server race conditions have been fixed; in particular commands are not run 254 until after the configuration file is read completely. 255* Case insensitive searching in tmux's copy-mode is now possible. 256* attach-session and switch-client learnt the '-t' option to accept a window 257 and/or a pane to use. 258* Copy-mode is only exited if no selection is in progress. 259* Paste key in copy-mode is now possible to enter text from the clipboard. 260* status-interval set to '0' now works as intended. 261* tmux now supports 256 colours running under fbterm. 262* Many bug fixes! 263 264CHANGES FROM 1.7 to 1.8, 26 March 2013 265 266Incompatible Changes 267==================== 268 269* layout redo/undo has been removed. 270 271Normal Changes 272============== 273 274* Add halfpage up/down bindings to copy mode. 275* Session choosing fixed to work with unattached sessions. 276* New window options window-status-last-{attr,bg,fg} to denote the last 277 window which was active. 278* Scrolling in copy-mode now scrolls the region without moving the mouse 279 cursor. 280* run-shell learnt '-t' to specify the pane to use when displaying output. 281* Support for middle-click pasting. 282* choose-tree learns '-u' to start uncollapsed. 283* select-window learnt '-T' to toggle to the last window if it's already 284 current. 285* New session option 'assume-paste-time' for pasting text versus key-binding 286 actions. 287* choose-* commands now work outside of an attached client. 288* Aliases are now shown for list-commands command. 289* Status learns about formats. 290* Free-form options can be set with set-option if prepended with an '@' 291 sign. 292* capture-pane learnt '-p' to send to stdout, and '-e' for capturing escape 293 sequences, and '-a' to capture the alternate screen, and '-P' to dump 294 pending output. 295* Many new formats added (client_session, client_last_session, etc.) 296* Control mode, which is a way for a client to send tmux commands. 297 Currently more useful to users of iterm2. 298* resize-pane learnt '-x' and '-y' for absolute pane sizing. 299* Config file loading now reports errors from all files which are loaded via 300 the 'source-file' command. 301* 'copy-pipe' mode command to copy selection and pipe the selection to a 302 command. 303* Panes can now emit focus notifications for certain applications 304 which use those. 305* run-shell and if-shell now accept formats. 306* resize-pane learnt '-Z' for zooming a pane temporarily. 307* new-session learnt '-A' to make it behave like attach-session. 308* set-option learnt '-o' to prevent setting an option which is already set. 309* capture-pane and show-options learns '-q' to silence errors. 310* New command 'wait-for' which blocks a client until woken up again. 311* Resizing panes will now reflow the text inside them. 312* Lots and lots of bug fixes, fixing memory-leaks, etc. 313* Various manpage improvements. 314 315CHANGES FROM 1.6 to 1.7, 13 October 2012 316 317* tmux configuration files now support line-continuation with a "\" at the 318 end of a line. 319* New option status-position to move the status line to the top or bottom of 320 the screen. 321* Enforce history-limit option when clearing the screen. 322* Give each window a unique id, like panes but prefixed with @. 323* Add pane id to each pane in layout description (while still accepting 324 the old form). 325* Provide defined ways to set the various default-path possibilities: ~ 326 for home directory, . for server start directory, - for session start 327 directory and empty for the pane's working directory (the default). All 328 can also be used as part of a relative path (eg -/foo). Also provide -c 329 flags to neww and splitw to override default-path setting. 330* Add -l flag to send-keys to send input literally (without translating 331 key names). 332* Allow a single option to be specified to show-options to show just that 333 option. 334* New command "move-pane" (like join-pane but allows the same window). 335* join-pane and move-pane commands learn "-b" option to place the pane to 336 the left or above. 337* Support for bracketed-paste mode. 338* Allow send-keys command to accept hex values. 339* Add locking around "start-server" to avoid race-conditions. 340* break-pane learns -P/-F arguments for display formatting. 341* set-option learns "-q" to make it quiet, and not print out anything. 342* copy mode learns "wrap-search" option. 343* Add a simple form of output rate limiting by counting the number of 344 certain C0 sequences (linefeeds, backspaces, carriage returns) and if it 345 exceeds a threshold (current default 250/millisecond), start to redraw 346 the pane every 100 milliseconds instead of making each change as it 347 comes. Two configuration options - c0-change-trigger and 348 c0-change-interval. 349* find-window learns new flags: "-C", "-N", "-T" to match against either or 350 all of a window's content, name, or title. Defaults to all three options 351 if none specified. 352* find-window automatically selects the appropriate pane for the found 353 matches. 354* show-environment can now accept one option to show that environment value. 355* Exit mouse mode when end-of-screen reached when scrolling with the mouse 356 wheel. 357* select-layout learns -u and -U for layout history stacks. 358* kill-window, detach-client, kill-session all learn "-a" option for 359 killing all but the current thing specified. 360* move-window learns "-r" option to renumber window sequentially in a 361 session. 362* New session option "renumber-windows" to automatically renumber windows in 363 a session when a window is closed. (see "move-window -r"). 364* Only enter copy-mode on scroll up. 365* choose-* and list-* commands all use "-F" for format specifiers. 366* When spawning external commands, the value from the "default-shell" option 367 is now used, rather than assuming /bin/sh. 368* New choose-tree command to render window/sessions as a tree for selection. 369* display-message learns new format options. 370* For linked-windows across sessions, all flags for that window are now 371 cleared across sessions. 372* Lots and lots of bug fixes, fixing memory-leaks, etc. 373* Various manpage improvements. 374 375CHANGES FROM 1.5 TO 1.6, 23 January 2012 376 377* Extend the mode-mouse option to add a third choice which means the mouse 378 does not enter copy mode. 379* Add a -r flag to switch-client to toggle the client read-only flag. 380* Add pane-base-index option. 381* Support \ for line continuation in the configuration file. 382* Framework for more powerful formatting of command output and use it for 383 list-{panes,windows,sessions}. This allows more descriptive replacements 384 (such as #{session_name}) and conditionals. 385* Mark dead panes with some text saying they are dead. 386* Reject $SHELL if it is not a full path. 387* Add -S option to refresh-client to redraw status line. 388* Add an else clause for if-shell. 389* Try to resolve relative paths for loadb and saveb (first, using client 390 working directory, if any, then default-path or session working directory). 391* Support for \e[3J to clear the history and send the corresponding 392 terminfo code (E3) before locking. 393* When in copy mode, make repeat count indicate buffer to replace, if used. 394* Add screen*:XT to terminal-overrides for tmux-in-tmux. 395* Status-line message attributes added. 396* Move word-separators to be a session rather than window option. 397* Change the way the working directory for new processes is discovered. If 398 default-path isn't empty, it is used. Otherwise, if a new window is created 399 from the command-line, the working directory of the client is used. If not, 400 platform specific code is used to retrieve the current working directory 401 of the process in the active pane. If that fails, the directory where the 402 session was created is used, instead. 403* Do not change the current pane if both mouse-select-{pane,window} are 404 enabled. 405* Add \033[s and \033[u to save and restore cursor position. 406* Allow $HOME to be used as default-path. 407* Add CNL and CPL escape sequences. 408* Calculate last position correctly for UTF-8 wide characters. 409* Add an option allow-rename to disable the window rename escape sequence. 410* Attributes for each type of status-line alert (ie bell, content and 411 activity) added. Therefore, remove the superfluous options 412 window-status-alert-{attr,bg,fg}. 413* Add a -R flag to send-keys to reset the terminal. 414* Add strings to allow the aixterm bright colours to be used when 415 configuring colours. 416* Drop the ability to have a list of keys in the prefix in favour of two 417 separate options, prefix and prefix2. 418* Flag -2 added to send-prefix to send the secondary prefix key. 419* Show pane size in top right of display panes mode. 420* Some memory leaks plugged. 421* More command-prompt editing improvements. 422* Various manpage improvements. 423* More Vi mode improvements. 424 425CHANGES FROM 1.4 TO 1.5, 09 July 2011 426 427* Support xterm mouse modes 1002 and 1003. 428* Change from a per-session stack of buffers to one global stack. This renders 429 copy-buffer useless and makes buffer-limit now a server option. 430* Fix most-recently-used choice by avoiding reset the activity timer for 431 unattached sessions every second. 432* Add a -P option to new-window and split-window to print the new window or 433 pane index in target form (useful to pass it into other commands). 434* Handle a # at the end of a replacement string (such as status-left) 435 correctly. 436* Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262. 437 If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all 438 UTF-8 terminals. The option defaults to on if LANG etc are set in the same 439 manner as the utf8 option. 440* Support for HP-UX. 441* Accept colours of the hex form #ffffff and translate to the nearest from the 442 xterm(1) 256-colour set. 443* Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors 444 before closing them (fixes things like "tmux ls && cat"). 445* Use TMPDIR if set. 446* Fix next and previous session functions to actually work. 447* Support -x and -y for new-session to specify the initial size of the window 448 if created detached with -d. 449* Make bind-key accept characters with the top-bit-set and print them as octal. 450* Set $TMUX without the session when background jobs are run. 451* Simplify the way jobs work and drop the persist type, so all jobs are 452 fire-and-forget. 453* Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the 454 terminal disappears while locked. 455* Add a -P option to detach to HUP the client's parent process (usually causing 456 it to exit as well). 457* Support passing through escape sequences to the underlying terminal by using 458 DCS with a "tmux;" prefix. 459* Prevent tiled producing a corrupt layout when only one column is needed. 460* Give each pane created in a tmux server a unique id (starting from 0), put it 461 in the TMUX_PANE environment variable and accept it as a target. 462* Allow a start and end line to be specified for capture-pane which may be 463 negative to capture part of the history. 464* Add -a and -s options to lsp to list all panes in the server or session 465 respectively. Likewise add -s to lsw. 466* Change -t on display-message to be target-pane for the #[A-Z] replacements 467 and add -c as target-client. 468* The attach-session command now prefers the most recently used unattached 469 session. 470* Add -s option to detach-client to detach all clients attached to a session. 471* Add -t to list-clients. 472* Change window with mouse wheel over status line if mouse-select-window is on. 473* When mode-mouse is on, automatically enter copy mode when the mouse is 474 dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel 475 is scrolled off the bottom. 476* Provide #h character pair for short hostname (no domain). 477* Don't use strnvis(3) for the title as it breaks UTF-8. 478* Use the tsl and fsl terminfo(5) capabilities to update terminal title and 479 automatically fill them in on terminals with the XT capability (which means 480 their title setting is xterm-compatible). 481* Add a new option, mouse-resize-pane. When on, panes may be resized by 482 dragging their borders. 483* Fix crash by resetting last pane on {break,swap}-pane across windows. 484* Add three new copy-mode commands - select-line, copy-line, copy-end-of-line. 485* Support setting the xterm clipboard when copying from copy mode using the 486 xterm escape sequence for the purpose (if xterm is configured to allow it). 487* Support xterm(1) cursor colour change sequences through terminfo(5) Cc 488 (set) and Cr (reset) extensions. 489* Support DECSCUSR sequence to set the cursor style with two new terminfo(5) 490 extensions, Cs and Csr. 491* Make the command-prompt custom prompts recognize the status-left option 492 character pairs. 493* Add a respawn-pane command. 494* Add a couple of extra xterm-style keys that gnome terminal provides. 495* Allow the initial context on prompts to be set with the new -I option to 496 command-prompt. Include the current window and session name in the prompt 497 when renaming and add a new key binding ($) for rename session. 498* Option bell-on-alert added to trigger the terminal bell when there is an 499 alert. 500* Change the list-keys format so that it shows the keys using actual tmux 501 commands which should be able to be directly copied into the config file. 502* Show full targets for lsp/lsw -a. 503* Make confirm-before prompt customizable with -p option like command-prompt 504 and add the character pairs #W and #P to the default kill-{pane,window} 505 prompts. 506* Avoid sending data to suspended/locked clients. 507* Small memory leaks in error paths plugged. 508* Vi mode improvements. 509 510CHANGES FROM 1.3 TO 1.4, 27 December 2010 511 512* Window bell reporting fixed. 513* Show which pane is active in the list-panes output. 514* Backoff reworked. 515* Prevent the server from dying when switching into copy mode when already 516 in a different mode. 517* Reset running jobs when the status line is enabled or disabled. 518* Simplify xterm modifier detection. 519* Avoid crashing in copy mode if the screen size is too small for the 520 indicator. 521* Flags -n and -p added to switch-client. 522* Use UTF-8 line drawing characters on UTF-8 terminals, thus fixing some 523 terminals (eg putty) which disable the vt100 ACS mode switching sequences 524 in UTF-8 mode. On terminals without ACS, use ASCII equivalents. 525* New server option exit-unattached added. 526* New session option destroy-unattached added. 527* Fall back on normal session choice method if $TMUX exists but is invalid 528 rather than rejecting. 529* Mark repeating keys with "(repeat)" in the key list. 530* When removing a pane, don't change the active pane unless the active pane 531 is actually the one being removed. 532* New command last-pane added. 533* AIX fixes. 534* Flag -a added to unbind-key. 535* Add XAUTHORITY to update-environment. 536* More info regarding window and pane flags is now shown in list-*. 537* If VISUAL or EDITOR contains "vi" configure mode-keys and status-key to vi. 538* New window option monitor-silence and session option visual-silence added. 539* In the built-in layouts distribute the panes more evenly. 540* Set the default value of main-pane-width to 80 instead of 81. 541* Command-line flag -V added. 542* Instead of keeping a per-client prompt history make it global. 543* Fix rectangle copy to behave like emacs (the cursor is not part of the 544 selection on the right edge but on the left it is). 545* Flag -l added to switch-client. 546* Retrieve environment variables from the global environment rather than 547 getenv(3), thus allowing them to be updated during the configuration file. 548* New window options other-pane-{height,width} added. 549* More minor bugs fixed and manpage improvements. 550 551CHANGES FROM 1.2 TO 1.3, 18 July 2010 552 553* New input parser. 554* Flags to move through panes -UDLR added to select-pane. 555* Commands up-pane, and down-pane removed, since equivalent behaviour is now 556 available through the target flag (-t:+ and -t:-). 557* Jump-forward/backward in copy move (based on vi's F, and f commands). 558* Make paste-buffer accept a pane as a target. 559* Flag -a added to new-window to insert a window after an existing one, moving 560 windows up if necessary. 561* Merge more mode into copy mode. 562* Run job commands explicitly in the global environment (which can be modified 563 with setenv -g), rather than with the environment tmux started with. 564* Use the machine's hostname as the default title, instead of an empty string. 565* Prevent double free if the window option remain-on-exit is set. 566* Key string conversions rewritten. 567* Mark zombie windows as dead in the choose-window list. 568* Tiled layout added. 569* Signal handling reworked. 570* Reset SIGCHLD after fork to fix problems with some shells. 571* Select-prompt command removed. Therefore, bound ' to command-prompt -p index 572 "select-window -t:%%" by default. 573* Catch SIGHUP and terminate if running as a client, thus avoiding clients from 574 being left hanging around when, for instance, a SSH session is disconnected. 575* Solaris 9 fixes (such as adding compat {get,set}env(3) code). 576* Accept none instead of default for attributes. 577* Window options window-status-alert-{alert,bg,fg} added. 578* Flag -s added to the paste-buffer command to specify a custom separator. 579* Allow dragging to make a selection in copy mode if the mode-mouse option is 580 set. 581* Support the mouse scroll wheel. 582* Make pipe-pane accept special character sequences (eg #I). 583* Fix problems with window sizing when starting tmux from .xinitrc. 584* Give tmux sockets (but not the containing folder) group permissions. 585* Extend the target flags (ie -t) to accept an offset (for example -t:+2), and 586 make it wrap windows, and panes. 587* New command choose-buffer added. 588* New server option detach-on-destroy to set what happens to a client when the 589 session it is attached to is destroyed. If on (default), the client is 590 detached. Otherwise, the client is switched to the most recently active of 591 the remaining sessions. 592* The commands load-buffer, and save-buffer now accept a dash (-) as the file 593 to read from stdin, or write to stdout. 594* Custom layouts added. 595* Additional code reduction, bug fixes, and manpage enhancements. 596 597CHANGES FROM 1.1 TO 1.2, 10 March 2010 598 599* Switch to libevent. 600* Emulate the ri (reverse index) capability, ergo allowing tmux to at least 601 start on Sun consoles (TERM=sun, or sun-color). 602* Assign each entry a number, or lowercase letter in choose mode, and accept 603 that as a shortcut key. 604* Permit top-bit-set characters to be entered in the status line. 605* Mark no-prefix keys with (no prefix), rather than [] in list-keys. 606* New command show-messages (alias showmsgs), and new session option 607 message-limit, to show a per-client log of status lines messages up to the 608 number defined by message-limit. 609* Do not interpret #() for display-message to avoid leaking commands. 610* New window options window-status-format, and window-status-current-format to 611 control the format of each window in the status line. 612* Add a -p flag to display-message to print the output, instead of displaying 613 it in the status line. 614* Emulate il1, dl1, ich1 to run with vt100 feature set. 615* New command capture-pane (alias capturep) to copy the entire pane contents 616 to a paste buffer. 617* Avoid duplicating code by adding a -w flag to set-option, and show-options to 618 set, and show window options. The commands set-window-option, and 619 show-window-options are now aliases. 620* Panes can now be referred to as top, bottom, top-left, etc. 621* Add server-wide options, which can be set with set-option -s, and shown with 622 show-options -s. 623* New server option quiet (like -q from the command line). 624* New server option escape-time to set the timeout used to detect if escapes 625 are alone, part of a function key, or meta sequence. 626* New session options pane-active-border-bg, pane-active-border-fg, 627 pane-border-bg, and pane-border-fg to set pane colours. 628* Make split-window accept a pane target, instead of a window. 629* New command join-pane (alias joinp) to split, and move an existing pane into 630 the space (the opposite of break-pane), thus simplifying calls to 631 split-window, followed by move-window. 632* Permit S- prefix on keys for shift when the terminal/terminfo supports them. 633* Window targets (-t flag) can now refer to the last window (!), next (+), and 634 previous (-) window by number. 635* Mode keys to jump to the bottom/top of history, end of the next word, scroll 636 up/down, and reverse search in copy mode. 637* New session option display-panes-active-colour to display the active pane in 638 a different colour with the display-panes command. 639* Read the socket path from $TMUX if it's present, and -L, and -S are not 640 given. 641* Vi-style mode keys B, W, and E to navigate between words in copy mode. 642* Start in more mode when configuration file errors are detected. 643* Rectangle copy support added. 644* If attach-session was specified with the -r flag, make the client read-only. 645* Per-window alternate-screen option. 646* Make load-buffer work with FIFOs. 647* New window option word-separators to set the characters considered as word 648 separators in copy mode. 649* Permit keys in copy mode to be prefixed by a repeat count, entered with [1-9] 650 in vi mode, or M-[1-9] in emacs mode. 651* utf8 improvements. 652* As usual, additional code reduction, bug fixes, and manpage enhancements. 653 654CHANGES FROM 1.0 TO 1.1, 05 November 2009 655 656* New run-shell (alias run) command to run an external command without a 657 window, capture it's stdout, and send it to output mode. 658* Ability to define multiple prefix keys. 659* Internal locking mechanism removed. Instead, detach each client and run the 660 external command specified in the new session option lock-command (by default 661 lock -np), thus allowing the system password to be used. 662* set-password command, and -U command line flag removed per the above change. 663* Add support for -c command line flag to execute a shell command. 664* New lock-client (alias lockc), and lock-session (alias locks) commands to 665 lock a particular client, or all clients attached to a session. 666* Support C-n/C-p/C-v/M-v with emacs keys in choice mode. 667* Use : for goto line rather than g in vi mode. 668* Try to guess which client to use when no target client was specified. Finds 669 the current session, and if only one client is present, use it. Otherwise, 670 return the most recently used client. 671* Make C-Down/C-Up in copy mode scroll the screen down/up one line without 672 moving the cursor. 673* Scroll mode superseded by copy mode. 674* New synchronize-panes window option to send all input to all other panes in 675 the same window. 676* New lock-server session option to lock, when off (on by default), each 677 session when it has been idle for the lock-after-time setting. When on, the 678 entire server locks when all sessions have been idle for their individual 679 lock-after-time setting. 680* Add support for grouped sessions which have independent name, options, 681 current window, but where the linked windows are synchronized (ie creating, 682 killing windows are mirrored between the sessions). A grouped session may be 683 created by passing -t to new-session. 684* New mouse-select-pane session option to select the current pane with the 685 mouse. 686* Queue, and run commands in the background for if-shell, status-left, 687 status-right, and #() by starting each once every status-interval. Adds the 688 capability to call some programs which would previously cause the server to 689 hang (eg sleep/tmux). It also avoids running commands excessively (ie if used 690 multiple times, it will be run only once). 691* When a window is zombified and automatic-rename is on, append [dead] to the 692 name. 693* Split list-panes (alias lsp) off from list-windows. 694* New pipe-pane (alias pipep) to redirect a pane output to an external command. 695* Support for automatic-renames for Solaris. 696* Permit attributes to be turned off in #[] by prefixing with no (eg nobright). 697* Add H/M/L in vi mode, and M-R/M-r in emacs to move the cursor to the top, 698 middle, and bottom of the screen. 699* -a option added to kill-pane to kill all except current pane. 700* The -d command line flag is now gone (can be replaced by terminal-overrides). 701 Just use op/AX to detect default colours. 702* input/tty/utf8 improvements. 703* xterm-keys rewrite. 704* Additional code reduction, and bug fixes. 705 706CHANGES FROM 0.9 TO 1.0, 20 Sept 2009 707 708* Option to alter the format of the window title set by tmux. 709* Backoff for a while after multiple incorrect password attempts. 710* Quick display of pane numbers (C-b q). 711* Better choose-window, choose-session commands and a new choose-client command. 712* Option to request multiple responses when using command-prompt. 713* Improved environment handling. 714* Combine wrapped lines when pasting. 715* Option to override terminal settings (terminal-overrides). 716* Use the full range of ACS characters for drawing pane separator lines. 717* Customisable mode keys. 718* Status line colour options, with embedded colours in status-left/right, and 719 an option to centre the window list. 720* Much improved layouts, including both horizontal and vertical splitting. 721* Optional visual bell, activity and content indications. 722* Set the utf8 and status-utf8 options when the server is started with -u. 723* display-message command to show a message in the status line, by default some 724 information about the current window. 725* Improved current process detection on NetBSD. 726* unlink-window -k is now the same as kill-window. 727* attach-session now works from inside tmux. 728* A system-wide configuration file, /usr/local/etc/tmux.conf. 729* A number of new commands in copy mode, including searching. 730* Panes are now specified using the target (-t) notation. 731* -t now accepts fnmatch(3) patterns and looks for prefixes. 732* Translate \r into \n when pasting. 733* Support for binding commands to keys without the prefix key 734* Support for alternate screen (terminfo smcup/rmcup). 735* Maintain data that goes off screen after reducing the window size, so it can 736 be restored when the size is increased again. 737* New if-shell command to test a shell command before running a tmux command. 738* tmux now works as the shell. 739* Man page reorganisation. 740* Many minor additions, much code tidying and several bug fixes. 741 742CHANGES FROM 0.8 TO 0.9, 01 July 2009 743 744* Major changes to build infrastructure: cleanup of makefiles and addition 745 of a configure script. 746* monitor-content window option to monitor a window for a specific fnmatch(3) 747 pattern. The find-window command also now accepts fnmatch(3) patterns. 748* previous-layout and select-layout commands, and a main-horizontal layout. 749* Recreate the server socket on SIGUSR1. 750* clear-history command. 751* Use ACS line drawing characters for pane separator lines. 752* UTF-8 improvements, and code to detect UTF-8 support by looking at 753 environment variables. 754* The resize-pane-up and resize-pane-down commands are now merged together 755 into a new resize-pane command with -U and -D flags. 756* confirm-before command to request a yes/no answer before executing dangerous 757 commands. 758* Status line bug fixes, support for UTF-8 (status-utf8 option), and a key to 759 paste from the paste buffer. 760* Support for some additional escape sequences and terminal features, including 761 better support for insert mode and tab stops. 762* Improved window resizing behaviour, modelled after xterm. 763* Some code reduction and a number of miscellaneous bug fixes. 764 765================================================================================ 766 767On 01 June 2009, tmux was imported into the OpenBSD base system. From this date 768onward changes are logged as part of the normal CVS commit message to either 769OpenBSD or SourceForge CVS. This file will be updated to contain a summary of 770major changes with each release, and to mention important configuration or 771command syntax changes during development. 772 773The list of older changes is below. 774 775================================================================================ 776 77721 May 2009 778 779* stat(2) files before trying to load them to avoid problems, for example 780 with "source-file /dev/zero". 781 78219 May 2009 783 784* Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide 785 character and seeing how much the cursor moves. Currently tries to figure out 786 if this works by some stupid checks on the terminal, these need to be 787 rethought. Also might be better using a width 1 character rather than width 2. 788* If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds 789 that anyone who configures it probably wants UTF-8. Not certain if this is 790 a perfect idea but let's see if it causes any problems. 791* New window option: monitor-content. Searches for a string in a window and if 792 it matches, highlight the status line. 793 79418 May 2009 795 796* main-horizontal layout and main-pane-height option to match vertical. 797* New window option main-pane-width to set the width of the large left pane with 798 main-vertical (was left-vertical) layout. 799* Lots of layout cleanup. manual layout is now manual-vertical. 800 80116 May 2009 802 803* select-layout command and a few default key bindings (M-0, M-1, M-2, M-9) to 804 select layouts. 805* Recreate server socket on SIGUSR1, per SF feature request 2792533. 806 80714 May 2009 808 809* Keys in status line (p in vi mode, M-y in emacs) to paste the first line 810 of the upper paste buffer. Suggested by Dan Colish. 811* clear-history command to clear a pane's history. 812* Don't force wrapping with \n when asked, let the cursor code figure it out. 813 Should fix terminals which use this to detect line breaks. 814* Major cleanup and restructuring of build infrastructure. Still separate files 815 for GNU and BSD make, but they are now hugely simplified at the expense of 816 adding a configure script which must be run before make. Now build and 817 install with: 818 819 $ ./configure && make && sudo make install 820 82104 May 2009 822 823* Use ACS line drawing characters for pane separator lines. 824 82530 April 2009 826 827* Support command sequences without a space before the semicolon, for example 828 "neww; neww" now works as well as "neww ; neww". "neww;neww" is still an 829 error. 830* previous-layout command. 831* Display the layout name in window lists. 832* Merge resize-pane-up and resize-pane-down into resize-pane with -U and -D 833 flags. 834 83529 April 2009 836 837* Get rid of compat/vis.* - only one function was used which is easily 838 replaced,and less compat code == good. 839 84027 April 2009 841 842* Avoid using the prompt history when the server is locked, and prevent any 843 input entered from being added to the client's prompt history. 844* New command, confirm-before (alias confirm), which asks for confirmation 845 before executing a command. Bound "&" and "x" by default to confirm-before 846 "kill-window" and confirm-before "kill-pane", respectively. 847 84823 April 2009 849 850* Support NEL, yet another way of making newline. Fixes the output from some 851 Gentoo packaging thing. Reported by someone on SF then logs that allowed a 852 fix sent by tcunha. 853* Use the xenl terminfo flag to detect early-wrap terminals like the FreeBSD 854 console. Many thanks for a very informative email from Christian Weisgerber. 855 85621 April 2009 857 858* tmux 0.8 released. 859 86017 April 2009 861 862* Remove the right number of characters from the buffer when escape then 863 a cursor key (or other key prefixed by \033) is pressed. Reported by 864 Stuart Henderson. 865 86603 April 2009 867 868* rotate-window command. -U flag (default) for up, -D flag for down. 869 87002 April 2009 871 872* Change scroll/pane redraws to only redraw the single pane affected rather 873 than the entire window. 874* If redrawing the region would mean redrawing > half the pane, just schedule 875 to redraw the entire window. Also add a flag to skip updating the window any 876 further if it is scheduled to be redrawn. This has the effect of batching 877 multiple redraws together. 878 87901 April 2009 880 881* Basic horizontal splitting and layout management. Still some redraw and other 882 issues - particularly, don't mix with manual pane resizing, be careful when 883 viewing from multiple clients and don't expect shell windows to redraw very 884 well after the layout is changed; generally cycling the layout a few times 885 will fix most problems. Getting this in for testing while I think about how 886 to deal with manual mode. 887 888 Split window as normal and cycle the layouts with C-b space. Some of the 889 layouts will work better when swap-pane comes along. 890 89131 March 2009 892 893* AIX port, thanks to cmihai for access to a box. Only tested on 6.1 with xlc 894 10.1 (make sure CC is set). Needs GNU make and probably ncurses (didn't try 895 plain curses). Also won't build with DEBUG, so comment the FDEBUG=1 line in 896 GNUmakefile. 897* Draw a vertical line on the right when the window size is less than the 898 terminal size. This is partly to shake out any horizontal limit bugs on the 899 way to horizontal splitting/pane tiling. Currently a bit slow since it has to 900 do a lot of redrawing but hopefully that will improve as I get some better 901 ideas for how to do it. 902* Fix remaining problems with copy and paste and UTF-8. 903 90428 March 2009 905 906* Better UTF-8 support, including combined characters. Unicode data is now 907 stored as UTF-8 in a separate array, the code does a lookup into this every 908 time it gets to a UTF-8 cell. Zero width characters are just appended onto 909 the UTF-8 data for the previous cell. This also means that almost no bytes 910 extra are wasted non-Unicode data (yay). 911 912 Still some oddities, such as copy mode skips over wide characters in a 913 strange way, and the code could do with some tidying. 914* Key repeating is now a property of the key binding not of the command. 915 Repeat is turned on when the key is bound with the -r flag to bind-key. 916 next/previous-window no longer repeat by default as it turned out to annoy 917 me. 918 91927 March 2009 920 921* Clear using ED when redrawing the screen. I foolishly assumed using spaces 922 would be equivalent and terminals would pick up on this, but apparently not. 923 This fixes copy and paste in xterm/rxvt. 924* Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg 925 tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a 926 separate server, the new -L command line option should be used: this creates 927 a socket in the same directory with a different name ("-L main" will create 928 socket called "main"). -S should only be used to place the socket outside 929 /tmp. This makes sockets a little more secure and a bit more convenient to 930 use multiple servers. 931 93221 March 2009 933 934* New session flag "set-remain-on-exit" to set remain-on-exit flag for new 935 windows created in that session (like "remain-by-default" used to do). Not 936 perfectly happy about this, but until I can think of a good way to introduce 937 it generically (maybe a set of options in the session) this will do. Fixes 938 SF request 2527847. 939 94007 March 2009 941 942* Support for 88 colour terminals. 943* break-pane command to create a new window using an existing pane. 944 94502 March 2009 946 947* Make escape key timer work properly so escape+key can be used without 948 lightning fast key presses. 949 95013 February 2009 951 952* Redo mode keys slightly more cleanly and apply them to command prompt 953 editing. vi or emacs mode is controlled by the session option status-keys. 954 95512 February 2009 956 957* Looking up argv[0] is expensive, so just use p_comm for the window name which 958 is good enough. Also increase name update time to 500 ms. 959 96011 February 2009 961 962* Only use ri when actually at the top of the screen; just move the cursor up 963 otherwise. 964* FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the 965 cursor can never be beyond $COLUMNS - 1) and does not appear to support 966 changing this behaviour, or any of the obvious possibilities (turning off 967 right margin wrapping, insert mode). This is irritating, most notably because 968 it impossible to write to the very bottom-right of the screen without 969 scrolling. To work around this, if built on FreeBSD and run with a "cons" 970 $TERM, the bottom-right cell on the screen is omitted. 971* Emulate scroll regions (slowly) to support the few terminals which don't have 972 it (some of which don't really have any excuse). 973 97410 February 2009 975 976* No longer redraw the status line every status-interval unless it has actually 977 changed. 978 97908 February 2009 980 981* Don't treat empty arguments ("") differently when parsing configuration 982 file/command prompt rather than command line. 983* tmux 0.7 released. 984 98503 February 2009 986 987* New command, copy-buffer (alias copyb), to copy a session paste buffer to 988 another session. 989 99001 February 2009 991 992* The character pair #(command) may now contain (escaped) right parenthesis. 993 99430 January 2009 995 996* . now bound to "command-prompt 'move-window %%'" by default, from joshe. 997 99829 January 2009 999 1000* Window options to set status line fg, bg and attributes for a single 1001 window. Options are: window-status-fg, window-status-bg, 1002 window-status-attr. Set to "default" to use the session status colours. 1003 1004 This allows quite neat things like: 1005 1006 $ cat ~/bin/xssh 1007 #!/bin/sh 1008 1009 if [ ! -z "$TMUX" ]; then 1010 case "$1" in 1011 natalya) 1012 tmux setw window-status-fg red >/dev/null 1013 ;; 1014 natasha) 1015 tmux setw window-status-fg yellow >/dev/null 1016 ;; 1017 esac 1018 fi 1019 ssh "$@" 1020 [ ! -z "$TMUX" ] && tmux setw -u window-status-fg >/dev/null 1021 $ alias ssh="~/bin/xssh" 1022 1023* Support #(command) in status-left, and status-right, which is displayed as 1024 the first line of command's output (e.g. set -g status-right 1025 "#(whoami)@#(hostname -s)"). Commands with )s aren't supported. 1026 102728 January 2009 1028 1029* Support mouse in copy mode to move cursor. Can't do anything else at the 1030 moment until other mouse modes are handled. 1031* Better support for at least the most common variant of mouse input: parse it 1032 and adjust for different panes. Also support mouse in window/session choice 1033 mode. 1034 103527 January 2009 1036 1037* Bring back the fancy window titles with session/window names: it is easy to 1038 work around problems with elinks (see FAQ). 1039* -u flag to scroll-mode and copy-mode to start scrolled one page 1040 up. scroll-mode -u is bound to prefix,page-up (ppage) by default. 1041* Allow status, mode and message attributes to be changed by three new options: 1042 status-attr, mode-attr, message-attr. A comma-separated list is accepted 1043 containing: bright, dim, underscore, blink, reverse, hidden, italics, for 1044 example: 1045 1046 set -g status-attr bright,blink 1047 1048 From Josh Elsasser, thanks! 1049 105026 January 2009 1051 1052* Be more clever about picking the right process to create the window name. 1053* Don't balls up the terminal on UTF-8 combined characters. Don't support them 1054 properly either - they are just discarded for the moment. 1055 105625 January 2009 1057 1058* load-buffer command 1059 106023 January 2009 1061 1062* Use reverse colours rather than swapping fg and bg for message, mode and 1063 status line. This makes these usable on black and white terminals. 1064* Better error messages when creating a session or window fails. 1065* Oops. Return non-zero on error. Reported by Will Maier. 1066 106721 January 2009 1068 1069* Handle SIGTERM (and kill-server which uses it), a bit more neatly - tidy 1070 up properly and print a nicer message. Same effect though :-). 1071* new-window now supports -k to kill target window if it exists. 1072* Bring back split-window -p and -l options to specify the height a percentage 1073 or as a number of lines. 1074* Make window and session choice modes allow you to choose items in vi keys 1075 mode (doh!). As a side-effect, this makes enter copy selection (as well 1076 as C-w/M-w) when using emacs keys in copy mode. Reported by merdely. 1077 107820 January 2009 1079 1080* Darwin support for automatic-rename from joshe; Darwin doesn't seem to have 1081 a sane method of getting argv[0] and searching for the precise insane way 1082 is too frustrating, so this just uses the executable name. 1083* Try to change the window title to match the command running it in. This is 1084 done by reading argv[0] from the process group leader of the group that owns 1085 the tty (tcgetpgrp()). This can't be done portably so some OS-dependent code 1086 is introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment. 1087 1088 A new window flag, automatic-rename, is available: if this is set to off, the 1089 window name is not changed. Specifying a name with the new-window, 1090 new-session or rename-window commands will automatically set this flag to off 1091 for the window in question. To disable it entirely set the option to off 1092 globally (setw -g automatic-rename off). 1093 109419 January 2009 1095 1096* Fix various stupid issues when the status line is turned off. Grr. 1097* Use reverse attributes for clock and cursor, otherwise they do not 1098 appear on black and white terminals. 1099* An error in a command sequence now stops execution of that sequence. 1100 Internally, each command code now passes a return code back rather than 1101 talking to the calling client (if any) directly. 1102* attach-session now tries to start the server if it isn't already started - if 1103 no sessions are created in .tmux.conf this will cause an error. 1104* Clean up starting server by making initial client get a special socketpair. 1105 110618 January 2009 1107 1108* Unbreak UTF-8. 1109* -a flag to next-window and previous-window to select the next or previous 1110 window with activity or bell. Bound to M-n and M-p. 1111* find-window command to search window names, titles and visible content (but 1112 not history) for a string. If only one is found, the window is selected 1113 otherwise a choice list is shown. This (as with the other choice commands) 1114 only works from a key. Bound to "f" by default. 1115* Cleaned up command printing code, also enclose arguments with spaces in "s. 1116* Added command sequences. These are entered by separating each argument by a ; 1117 argument (spaces on both sides), for example: 1118 1119 lsk ; lsc 1120 1121 To use a literal ; as the argument prefix it with \, for example: 1122 1123 bind x lsk \; lsc 1124 1125 Commands are executed from left to right. Also note that command sequences do 1126 not support repeat-time repetition unless all commands making up the sequence 1127 support it. 1128* suspend-client command to suspend a client. Don't try to background it 1129 though... 1130* Mark attached sessions in sessions lists. Suggested by Simon Kuhnle. 1131 113217 January 2009 1133 1134* tmux 0.6 released. 1135 113615 January 2009 1137 1138* Support #H for hostname and #S for session name in status-left/right. 1139* Two new commands, choose-window and choose-session which work only when bound 1140 to a key and allow the window or session to be selected from a list. These 1141 are now bound to "w" and "s" instead of the list commands. 1142 114314 January 2009 1144 1145* Rework the prefix-time stuff. The option is now called repeat-time and 1146 defaults to 500 ms. It only applies to a small subset of commands, currently: 1147 up-pane, down-pane, next-window, previous-window, resize-pane-up, 1148 resize-pane-down. These are the commands for which it is obviously useful, 1149 having it for everything else was just bloody annoying. 1150* The alt-up and alt-down keys now resize a pane by five lines at a time. 1151* switch-pane is now select-pane and requires -p to select a pane. The 1152 "o" key binding is changed to down-pane. 1153* up-pane and down-pane commands, bound to arrow up and down by default. 1154* Multiple vertical window splitting. Minimum pane size is four lines, an 1155 (unhelpful) error will be shown if attempting to split a window with less 1156 that eight lines. If the window is resized, as many panes are shown as can 1157 fit without reducing them below four lines. There is (currently!) not a way 1158 to show a hidden pane without making the window larger. 1159 1160 Note the -p and -l options to split-window are now gone, these may reappear 1161 once I think them through again. 1162* Server locking on inactivity (lock-after-time) is now disabled by default. 1163 116413 January 2009 1165 1166* kill-pane command. 1167 116812 January 2009 1169 1170* command-prompt now accepts a single argument, a template string. Any 1171 occurrences of %% in this string are replaced by whatever is entered at the 1172 prompt and the result is executed as a command. This allows things like (now 1173 bound by default): 1174 1175 bind , command-prompt "rename-window %%" 1176 1177 Or my favourite: 1178 1179 bind x command-prompt "split-window 'man %%'" 1180 1181* Option to set prefix time, allowing multiple commands to be entered without 1182 pressing the prefix key again, so long as they each typed within this time of 1183 each other. 1184* Yet more hacks for key handling. Think it is just about working now. 1185* Two commands, resize-pane-up and resize-pane-down to resize a pane. 1186* Make the window pane code handle panes of different sizes, and add a -l 1187 and -p arguments to split-window to specify the new window size in lines 1188 or as a percentage. 1189 119011 January 2009 1191 1192* Vertical window splitting. Currently can only split a window into two panes. 1193 New split-window command splits (bound to ") and switch-pane command (bound to 1194 o) switches between panes. 1195 1196 close-pane, swap-pane commands are to follow. Also to come are pane resizing, 1197 >2 panes, the ability to break a pane out to a full window and vice versa and 1198 possibly horizontal splitting. 1199 1200 Panes are subelements of windows rather than being windows in their own 1201 right. I tried to make them windows (so the splitting was at the session or 1202 client level) but this rapidly became very complex and invasive. So in the 1203 interests of having something working, I just made it so each window can have 1204 two child processes instead of one (and it still took me 12 hours straight 1205 coding). Now the concept is proven and much of the support code is there, 1206 this may change in future if more flexibility is needed. 1207* save-buffer command, from Tiago Cunha. 1208 120910 January 2009 1210 1211* New option, lock-after-time. If there is no activity in the period specified 1212 by this option (in seconds), tmux will lock the server. Default is 1800 (30 1213 minutes), set to 0 to disable. 1214* Server locking. Two new commands: set-password to set a password (a 1215 preencrypted password may be specified with -c); and lock-server to lock the 1216 server until the password is entered. Also an additional command line flag, 1217 -U, to unlock from the shell. The default password is blank (any password 1218 accepted). If specifying an encrypted password from encrypt(1) in .tmux.conf 1219 with -c, don't forget to enclose it in single-quotes (') to prevent shell 1220 variable expansion. 1221* If a window is created from the command line, tmux will now use the same 1222 current working directory for the new process. A new default-path option to 1223 sets the working directory for processes created from keys or interactively 1224 from the prompt. 1225* New mode to display a large clock. Entered with clock-mode command (bound to 1226 C-b t by default); two window options: clock-mode-colour and clock-mode-style 1227 (12 or 24). This will probably be used as the basis for window locking. 1228* New command, server-info, to show some server information and terminal 1229 details. 1230 123109 January 2009 1232 1233* Stop using ncurses variables and instead build a table of the codes we want 1234 into an array for each terminal type. This makes the code a little more 1235 untidy in places but gets rid of the awful global variables and calling 1236 setterm all the time, and shoves all the ncurses-dependent mess into a single 1237 file, tty-term.c. It also allows overriding single terminal codes, this is 1238 used to fix rxvt on some platforms (where it is missing dch) and in future 1239 may allow user customisation a la vim. 1240* Update key handling code. Simplify, support ctrl properly and add a new 1241 window option (xterm-keys) to output xterm key codes including ctrl and, 1242 if available, alt and shift. 1243 124408 January 2009 1245 1246* If built without DEBUG (the release versions), don't cause a fatal error if 1247 the grid functions notice an input error, just log and ignore the 1248 request. This might mean me getting shouted at less often when bugs kill 1249 long-running sessions, at least in release versions. 1250* Hopefully fix cursor out-of-bounds checking when writing to grid. When I 1251 wrote the code I must have forgotten that the cursor can be one cell off the 1252 right of the screen (yes, I know), so there were number of out-of-bounds/ 1253 overflow problems. 1254 125507 January 2009 1256 1257* New flag to set and setw, -u, to unset an option (allowing it to inherit from) 1258 the global options again. 1259* Added more info messages for options changes. 1260* A bit of tidying and reorganisation of options code. 1261 126206 January 2009 1263 1264* Don't crash when backspacing if cursor is off the right of the screen, 1265 reported by David Chisnall. 1266* Complete words at any point inside command in prompt, also use option name 1267 as well as command names. 1268* Per-client prompt history of up to 100 items. 1269* Use a splay tree for key bindings instead of an array. As a side-effect this 1270 sorts them when listed. 1271 127222 December 2008 1273 1274* Use the right keys for home and end. 1275 127620 December 2008 1277 1278* Add vim mode for tmux configuration file to examples/, from Tiago Cunha. 1279 128015 December 2008 1281 1282* New command, source-file (alias source), to load a configuration 1283 file. Written by Tiago Cunha, many thanks. 1284 128513 December 2008 1286 1287* Work around lack of dch. On Linux, the rxvt termcap doesn't have it (it is 1288 lying, but we can't really start disbelieving termcaps...). This is a bit 1289 horrible - I can see no way to do it without pretty much redrawing the whole 1290 line, but it works... 1291 129210 December 2008 1293 1294* glibc's getopt(3) is useless: it is not POSIX compliant without jumping 1295 through non-portable hoops, and the method of resetting it is unclear (the 1296 man page on my system says set optind to 1, but other sources say 0). So, 1297 import OpenBSD's getopt_long.c into compat/ for use on Linux and use the 1298 clearly documented optreset = optind = 1 method. This fixes some strange 1299 issues with command parsing (getting the syntax wrong would prevent any 1300 further commands being parsed). 1301 130206 December 2008 1303 1304* Bring set/setw/show/showw into line with other commands. This means that by 1305 default they now affect the current window (if any); the new -g flag must be 1306 passed to set the global options. This changes the behaviour of set/show and 1307 WILL BREAK CURRENT CONFIGURATIONS. 1308 1309 In summary, whether in the configuration file, the command prompt, or a key 1310 binding, use -g to set a global option, use -t to specify a particular window 1311 or session, or omit both to try and use the current window or session. 1312 1313 This makes set/show a bit of a pain but is the correct behaviour for 1314 setw/showw and is the same as every other command, so we can put up with a 1315 bit of pain for consistency. 1316* Redo window options. They now work in the same way to session options with a 1317 global options set. showw/setw commands now have similar syntax to show/set 1318 (including the ability to use abbreviations). 1319 1320 PLEASE NOTE this includes the following configuration-breaking changes: 1321 1322 - remain-by-default is now GONE, use "setw -g remain-on-exit" to apply the 1323 global window option instead; 1324 - mode-keys is now a window option rather than session - use "setw [-g] 1325 mode-keys" instead of set. 1326 1327 There are also some additions: 1328 1329 - message-fg and message-bg session options to control status line message 1330 colours; 1331 - mode-fg and mode-bg window options to set colours in window modes such as 1332 copy mode. 1333 1334 The options code still a mess and now there is twice as much of it :-(. 1335 133602 December 2008 1337 1338* Add support for including the window title in status-left or status-right 1339 strings by including the character pair "#T". This may be prefixed with 1340 a number to specify a maximum length, for example "#24T" to use at most 1341 24 characters of the title. 1342* Introduce two new options, status-left-length and status-right-length, 1343 control the maximum length of left and right components of the status bar. 1344* elinks (and possibly others) bypass the terminal and talk directly to X to 1345 restore the window title when exiting. tmux can't know about this particular 1346 bit of stupidity so the title ends up strange - the prefix isn't terribly 1347 important and elinks is quite useful so just get rid of it. 1348 134927 November 2008 1350 1351* Tweaks to support Dragonfly. 1352 135317 November 2008 1354 1355* tmux 0.5 released. 1356 135716 November 2008 1358 1359* New window option: "utf8"; this must be on (it is off by default) for UTF-8 1360 to be parsed. The global/session option "utf8-default" controls the setting 1361 for new windows. 1362 1363 This means that by default tmux does not handle UTF-8. To use UTF-8 by 1364 default it is necessary to a) "set utf8-default on" in .tmux.conf b) start 1365 tmux with -u on any terminal which support UTF-8. 1366 1367 It seems a bit unnecessary for this to be a per-window option but that is 1368 the easiest way to do it, and it can't do any harm... 1369* Enable default colours if op contains \033[39;49m, based on a report from 1370 fulvio ciriaco. 1371 137212 November 2008 1373 1374* Keep stack of last windows rather than just most recent; based on a diff from 1375 joshe. 1376 137704 November 2008 1378 1379* Don't try to redraw status line when showing a prompt or message; if it does, 1380 the status timer is never reset so it redraws on every loop. Spotted by 1381 joshe. 1382 138309 October 2008 1384 1385* Translate 256 colours into 16 if 256 is not available, same as screen does. 1386* Better support for OSC command (only to set window title now), and also 1387 support using APC for the same purpose (some Linux default shell profiles do 1388 this). 1389 139025 September 2008 1391 1392* Large internal rewrite to better support 256 colours and UTF-8. Screen data 1393 is now stored as single two-way array of structures rather than as multiple 1394 separate arrays. Also simplified a lot of code. 1395 1396 Only external changes are three new flags, -2, -d and -u, which force tmux to 1397 assume the terminal supports 256 colours, default colours (useful for 1398 xterm-256color which lacks the AX flag), or UTF-8 respectively. 1399 140010 September 2008 1401 1402* Split off colour conversion code from screen code. 1403 140409 September 2008 1405 1406* Initial UTF-8 support. A bit ugly and with a limit of 4096 UTF-8 1407 characters per window. 1408 140908 September 2008 1410 1411* 256 colour support. tmux attempts to autodetect the terminal by looking 1412 both at what ncurses reports (usually wrong for xterm) and checking if 1413 the TERM contains "256col". For xterm TERM=xterm-256color is needed (as 1414 well as a build that support 256 colours); this seems to work for rxvt 1415 as well. On non-256 colour terminals, high colours are translated to white 1416 foreground and black background. 1417 141828 August 2008 1419 1420* Support OS X/Darwin thanks to bsd-poll.c from OpenSSH. Also convert 1421 from clock_gettime(2) to gettimeofday(2) as OS X doesn't support the 1422 former; microsecond accuracy will have to be sufficient ;-). 1423 142407 August 2008 1425 1426* Lose some unused/useless wrapper functions. 1427 142825 July 2008 1429 1430* Shell variables may now be defined and used in configuration file. Define 1431 variables with: 1432 1433 VAR=1 1434 1435 And use with: 1436 1437 renamew ${VAR} 1438 renamew "x${VAR}x" 1439 1440 Also some other fixes to make, for example, "abc""abc" work similarly to 1441 the shell. 1442 144324 July 2008 1444 1445* Finally lose inconsistently-used SCREEN_DEF* defines. 1446* If cursor mode is on, switch the arrow keys from \033[A to \033OA. 1447* Support the numeric keypad in both application and numbers mode. This is 1448 different from screen which always keeps it in application mode. 1449 145019 July 2008 1451 1452* Unbreak "set status" - tmux thought it was ambiguous, reported by rivo nurges. 1453 145402 July 2008 1455 1456* Split vi and emacs mode keys into two tables and add an option (mode-keys) 1457 to select between them. Default is emacs, use, 1458 1459 tmux set mode-keys vi 1460 1461 to change to vi. 1462 1463 vi mode uses space to start selection, enter to copy selection and escape 1464 to clear selection. 1465 146601 July 2008 1467 1468* Protocol versioning. Clients which identify as a different version from the 1469 server will be rejected. 1470* tmux 0.4 released. 1471 147229 June 2008 1473 1474* Zombie windows. These are not closed when the child process dies. May be 1475 set for a window with the new "remain-on-exit" option; the default setting 1476 of this flag for new windows may be set with the "remain-by-default" session 1477 option. 1478 1479 A window may be restarted with the respawn-window command: 1480 1481 respawn-window [-k] [command] 1482 1483 If -k is given, any existing process running in the window is killed; 1484 if command is omitted, the same command as when the window was first 1485 created is used. 1486 148727 June 2008 1488 1489* Handle nonexistent session or client to -t properly. 1490 149125 June 2008 1492 1493* select-prompt command to allow a window to be selected at a prompt. Only 1494 windows in the current session may be selected. Bound to ' by default. 1495 Suggested by merdely. 1496* move-window command. Requested by merdely. 1497* Support binding alt keys (prefixed with M-). Change default to use 1498 C- for ctrl keys (^ is still accepted as an alternative). 1499* Slim down default key bindings: support lowercase only. 1500* Handle escaped keys properly (parse eg \033b into a single key code) and 1501 use this to change copy mode next/previous work to M-f and M-b to match 1502 emacs. 1503 150424 June 2008 1505 1506* Next word (C-n/w) and previous word (C-b/b) in copy mode. 1507 150823 June 2008 1509 1510* list-commands command (alias lscm). 1511* Split information about options into a table and use it to parse options 1512 on input (allowing abbreviations) and to print them with show-options 1513 (meaning that bell-action gets a proper string). This turned out a bit ugly 1514 though :-/. 1515 151622 June 2008 1517 1518* Do not translate black and white into default if the terminal supports 1519 default colours. This was nice to force programs which didn't use default 1520 colours to be properly transparent in rxvt/aterm windows with a background 1521 image, but it causes trouble if someone redefines the default foreground and 1522 background (to have black on white or something). 1523 152421 June 2008 1525 1526* Naive tab completion in the command prompt. This only completes command 1527 names if a) they are at the start of the text b) the cursor is at 1528 the end of the text c) the text contains no spaces. 1529* Only attempt to set the title where TERM looks like an xterm (contains 1530 "xterm", "rxvt" or is "screen"). I hate this but I don't see a better way: 1531 setting the title actually kills some other terminals pretty much dead. 1532* Strip padding out of terminfo(5) strings. Currently the padding is just 1533 ignored, this may need to be altered if there are any software terminals 1534 out there that actually need it. 1535 153620 June 2008 1537 1538* buffer-limit option to set maximum size of buffer stack. Default is 9. 1539* Initial buffer improvements. Each session has a stack of buffers and each 1540 buffer command takes a -b option to manipulate items on the stack. If -b 1541 is omitted, the top entry is used. The following commands are currently 1542 available: 1543 1544 set-buffer [-b index] [-t target-session] string 1545 paste-buffer [-d] [-b index] [-t target-window] 1546 delete-buffer [-b index] [-t target-session] 1547 show-buffers [-t target-session] 1548 show-buffer [-b index] [-t target-session] 1549 1550 -d to paste-buffer deletes the buffer after pasting it. 1551* New option, display-time, sets the time status line messages stay on screen 1552 (unless a key is pressed). Set in milliseconds, default is 750 (0.75 seconds). 1553 The timer is only checked every 100 ms or so. 1554 155519 June 2008 1556 1557* Use "status" consistently for status line option, and prefix for "prefix" key 1558 option. 1559* Allow commands to be entered at a prompt. This is triggered with the 1560 command-prompt command, bound to : by default. 1561* Show status messages properly, without blocking the server. 1562 156318 June 2008 1564 1565* New option, set-titles. On by default, this attempts to set the window title 1566 using the \e]2;...\007 xterm code. 1567 1568 Note that elinks requires the STY environment variable (used by screen) to be 1569 set before it will set the window title. So, if you want window titles set by 1570 elinks, set STY before running it (any value will do). I can't do this for all 1571 windows since setting it to an invalid value breaks screen. 1572* Show arrows at either end of status line when scrolled if more windows 1573 exist. Highlight the arrow if a hidden window has activity or bell. 1574* Scroll the status line to show the current window if necessary. Also handle 1575 windows smaller than needed better (show a blank status line instead of 1576 hanging or crashing). 1577 157817 June 2008 1579 1580* tmux 0.3 released. 1581 158216 June 2008 1583 1584* Add some information messages when window options are changed, suggested by 1585 Mike Erdely. Also add a -q command-line option to suppress them. 1586* show-window-options (showw) command. 1587 158815 June 2008 1589 1590* show-options (show) command to show one or all options. 1591 159214 June 2008 1593 1594* New window options: force-width and force-height. This will force a window 1595 to an arbitrary width and height (0 for the default unlimited). This is 1596 neat for emacs which doesn't have a sensible way to force hard wrapping at 80 1597 columns. Also, don't try to be clever and use clr_eol when redrawing the 1598 whole screen, it causes trouble since the redraw functions are used to draw 1599 the blank areas too. 1600* Clear the blank area below windows properly when they are smaller than client, 1601 also add an indicator line to show the vertical limit. 1602* Don't die on empty strings in config file, reported by Will Maier. 1603 160408 June 2008 1605 1606* Set socket mode +x if any sessions are attached and -x if not. 1607 160807 June 2008 1609 1610* Make status-interval actually changeable. 1611 161206 June 2008 1613 1614* New window option: aggressive-resize. Normally, windows are resized to the 1615 size of the smallest attached session to which they are linked. This means a 1616 window only changes size when sessions are detached or attached, or they are 1617 linked or unlinked from a session. This flag changes a window to be the size 1618 of the smallest attached session for which it is the current window - it is 1619 resized every time a session changes to it or away from it. This is nice for 1620 things that handle SIGWINCH well (like irssi) and bad for things like shells. 1621* The server now exits when no sessions remain. 1622* Fix bug with inserting characters with TERM=xterm-color. 1623 162405 June 2008 1625 1626* Completely reorganise command parsing. Much more common code in cmd-generic.c 1627 and a new way of specifying windows, clients or sessions. Now, most commands 1628 take a -t argument, which specifies a client, a session, or a window target. 1629 Clients and sessions are given alone (sessions are fnmatch(3)d and 1630 clients currently not), windows are give by (client|session):index. For 1631 example, if a user is in session "1" window 0 on /dev/ttypi, these should all 1632 be equivalent: 1633 1634 tmux renamew newname (current session and window) 1635 tmux renamew -t: newname (current session and window) 1636 tmux renamew -t:0 newname (current session, window 0) 1637 tmux renamew -t0 newname (current session, window 0) 1638 tmux renamew -t1:0 newname (session 1, window 0) 1639 tmux renamew -t1: newname (session 1's current window) 1640 tmux renamew -t/dev/ttypi newname (client /dev/ttypi's current 1641 session and window) 1642 tmux renamew -t/dev/ttypi: newname (client /dev/ttypi's current 1643 session and window) 1644 tmux renamew -t/dev/ttypi:0 newname (client /dev/ttypi's current 1645 session, window 0) 1646 1647 This does have some downsides, for example, having to use -t on selectw, 1648 1649 tmux selectw -t7 1650 1651 is annoying. But then using non-flagged arguments would mean renaming the 1652 current window would need to be something like: 1653 1654 tmux renamew : newname 1655 1656 It might be better not to try and be so consistent; comments to the usual 1657 address ;-). 1658* Infrastructure for printing arguments in list-keys output. Easy ones only for 1659 now. 1660 166104 June 2008 1662 1663* Add some vi(1) key bindings in copy mode, and support binding ^[, ^\, ^] 1664 ^^ and ^_. Both from/prompted by Will Maier. 1665* setw monitor-activity and set status without arguments now toggle the current 1666 value; suggested by merdely. 1667* New command set-window-option (alias setw) to set the single current window 1668 option: monitor-activity to determine whether window activity is shown in 1669 the status bar for that window (default off). 1670* Change so active/bell windows are inverted in status line. 1671* Activity monitoring - window with activity are marked in status line. No 1672 way to disable this/filter windows yet. 1673* Brought select-window command into line with everything else; it now uses 1674 -i for the window index. 1675* Strings to display on the left and right of the status bar may now be set 1676 with the status-left and status-right options. These are passed through 1677 strftime(3) before being displayed. The status bar is automatically updated 1678 at an interval set by the status-interval option. The default is to display 1679 nothing on the left and the date and time on the left; the default update 1680 interval is 15 seconds. 1681 168203 June 2008 1683 1684* Per session options. Setting options without specifying a session sets the 1685 global options as normal (global options are inherited by all sessions); 1686 passing -c or -s will set the option only for that session. 1687* Because a client has a session attached, any command needing a session can 1688 take a client and use its session. So, anything that used to accept -s now 1689 accepts -c as well. 1690* -s to specify session name now supports fnmatch(3) wildcards; if multiple 1691 sessions are found, or if no -s is specified, the most newly created is used. 1692* If no command is specified, assume new-session. As a byproduct, clean up 1693 command default values into separate init functions. 1694* kill-server command. 1695 169602 June 2008 1697 1698* New command, start-server (alias "start"), to start the tmux server and do 1699 nothing else. This is good if you have a configuration file which creates 1700 windows or sessions (like me): in that case, starting the server the first 1701 time tmux new is run is bad since it creates a new session and window (as 1702 it is supposed to - starting the server is a side-effect). 1703 1704 Instead, I have a little script which does the equivalent of: 1705 1706 tmux has -s0 2>/dev/null || tmux start 1707 tmux attach -d -s0 1708 1709 And I use it to start the server if necessary and attach to my primary 1710 session. 1711* Basic configuration file in ~/.tmux.conf or specified with -f. This is file 1712 contains a set of tmux commands that are run the first time the server is 1713 started. The configuration commands are executed before any others, so 1714 if you have a configuration file that contains: 1715 1716 new -d 1717 neww -s0 1718 1719 And you do the following without an existing server running: 1720 1721 tmux new 1722 1723 You will end up with two sessions, session 0 with two windows (created by 1724 the configuration file) and your client attached to session 1 with one 1725 window (created by the command-line command). I'm not completely happy with 1726 this, it seems a little non-obvious, but I haven't yet decided what to do 1727 about it. 1728 1729 There is no environment variable handling or other special stuff yet. 1730 1731 In the future, it might be nice to be able to have per-session configuration 1732 settings, probably by having conditionals in the file (so you could, for 1733 example, have commands to define a particular window layout that would only 1734 be invoked if you called tmux new -smysession and mysession did not already 1735 exist). 1736* BIG CHANGE: -s and -c to specify session name and client name are now passed 1737 after the command rather than before it. So, for example: 1738 1739 tmux -s0 neww 1740 1741 Becomes: 1742 1743 tmux neww -s0 1744 1745 This is to allow them to be used in the (forthcoming) configuration file 1746 THIS WILL BREAK ANY CURRENT SCRIPTS OR ALIASES USING -s OR -c. 1747 174801 June 2008 1749 1750* Bug fix: don't die if -k passed to link-window and the destination doesn't 1751 exist. 1752* New command, send-keys, will send a set of keys to a window. 1753 175431 May 2008 1755 1756* Fix so tmux doesn't hang if the initial window fails for some reason. This 1757 was highlighted by problems on Darwin, thanks to Elias Pipping for the report 1758 and access to a test account. (tmux still won't work on Darwin since its 1759 poll(2) is broken.) 1760 176102 January 2008 1762 1763* Don't attempt to reset the tty on exit if it has been closed externally. 1764 176506 December 2007 1766 1767* Restore checks for required termcap entries and add a few more obvious 1768 emulations. 1769* Another major reorganisation, this time of screen handling. A new set of 1770 functions, screen_write_*, are now used to write to a screen and a tty 1771 simultaneously. These are used by the input parser to update the base 1772 window screen and also by the different modes which now interpose their own 1773 screen. 1774 177530 November 2007 1776 1777* Support \ek...\e\ to set window name. 1778 177927 November 2007 1780 1781* Enable/disable mouse when asked, if terminal claims to support it. Mouse 1782 sequences are just passed through unaltered for the moment. 1783* Big internal reorganisation. Rather than leaving control of the tty solely in 1784 the client and piping all data through a socket to it, change so that the 1785 server opens the tty again and reads and writes to it directly. This avoids 1786 a lot of buffering and copying. Also reorganise the redrawing stuff so that 1787 everything goes through screen_draw_* - this makes the code simpler, but 1788 still needs broken up more, and all the ways of writing to screens should be 1789 more consistent. 1790 179126 November 2007 1792 1793* Rather than shifting up one line at a time once the history is full, 1794 shift by 10% of the history each time. This is faster. 1795* Add ^A and ^E to copy mode to move to start-of-line/end-of-line. 1796 179724 November 2007 1798 1799* Support for alt charset mode (VT100 graphics characters). 1800 180123 November 2007 1802 1803* Mostly complete copy & paste. Copy mode entered with C-b [ (copy-mode 1804 command). In copy mode, arrow keys/page up/page down/hjkl/C-u/C-f navigate, 1805 space or C-space starts selection, and enter or C-w copies and (important!) 1806 exits copy mode. C-b ] (paste-buffer) pastes into current window. No 1807 extra utility keys (bol/eol/clear selection/etc), only one single buffer, 1808 and no buffer manipulation commands (clear/view/etc) yet. The code is also 1809 fugly :-(. 1810* history-limit option to set maximum history. Does not apply retroactively to 1811 existing windows! Lines take up a variable amount of space, but a reasonable 1812 guess for an 80-column terminal is 250 KB per 1000 lines (of history used, 1813 an empty history takes no space). 1814 181521 November 2007 1816 1817* Create every line as zero length and only expand it as data is written, 1818 rather than creating at full size immediately. 1819* Make command output (eg list-keys) go to a scrollable window similar to 1820 scroll mode. 1821* Redo screen redrawing so it is a) readable b) split into utility functions 1822 that can be used outside screen.c. Use these to make scroll mode only 1823 redraw what it has to which gets rid of irritating flickering status box and 1824 makes it much faster. 1825* Full line width memory and horizontal scrolling in history. 1826* Initial support for scroll history. = to enter scrolling mode, and then 1827 vi keys or up/down/pgup/pgdown to navigate. Q to exit. No horizontal history 1828 yet (need per-line sizes) and a few kinks to be worked out (resizing while in 1829 history mode will probably cause trouble). 1830 183120 November 2007 1832 1833* Fix format string error with "must specify a client" message. Also 1834 sprinkle some printflike tags. 1835* tmux 0.1 released. 1836 183717 November 2007 1838 1839* (nicm) Add -k option to link-window to kill target window if it exists. 1840 184116 November 2007 1842 1843* (nicm) Split in-client display into two columns. This is a hack but not a lot 1844 more so than that bit is already and it helps with lots of keys. 1845* (nicm) switch-client command to switch client between different sessions. This 1846 is pretty cool: 1847 1848 $ tmux bind q switch 0 1849 $ tmux bind w switch 1 1850 1851 Then you can switch between sessions 0 and 1 with a key :-). 1852* (nicm) Accept "-c client-tty" on command line to allow client manipulation 1853 commands, and change detach-/refresh-session to detach-/refresh-client (this 1854 loses the -a behaviour, but at some point -session versions may return, and 1855 -c will allow fnmatch(3)). 1856* (nicm) List available commands on ambiguous command. 1857 185812 November 2007 1859 1860* (nicm) If the terminal supports default colours (AX present), force black 1861 background and white foreground to default. This is useful on transparent 1862 *terms for programs which don't do it themselves (like most(1)). 1863* (nicm) Fill in the rest of the man page. 1864* (nicm) kill-session command. 1865 186609 November 2007 1867 1868* (nicm) C-space is now "^ " not "^@". 1869* (nicm) Support tab (\011). 1870* (nicm) Initial man page outline. 1871* (nicm) -V to show version. 1872* (nicm) rename-session command. 1873 187408 November 2007 1875 1876* (nicm) Check for required terminal capabilities on start. 1877 187831 October 2007 1879 1880* (nicm) Linux port. 1881 188230 October 2007 1883 1884* (nicm) swap-window command. Same as link-window but swaps windows. 1885 188626 October 2007 1887 1888* (nicm) Saving scroll region on \e7 causes problems with ncmpc so I guess 1889 it is not required. 1890* (nicm) unlink-window command. 1891* (nicm) link-window command to link an existing window into another session 1892 (or another index in the same session). Syntax: 1893 1894 tmux -s dstname link-window [-i dstidx] srcname srcidx 1895 1896* (nicm) Redo window data structures. The global array remains, but each per- 1897 session list is now a RB tree of winlink structures. This disassociates the 1898 window index from the array size (allowing arbitrary indexes) which still 1899 allowing windows to have multiple indexes. 1900 190125 October 2007 1902 1903* (nicm) has-session command: checks if session exists. 1904 190524 October 2007 1906 1907* (nicm) Support for \e6n to request cursor position. resize(1) now works. 1908* (nicm) Support for \e7, \e8 save/restore cursor and attribute sequences. 1909 Currently don't save mode (probably should). Also change some cases where 1910 out-of-bound values are ignored to limit them to within range (there are 1911 others than need to be checked too). 1912 191323 October 2007 1914 1915* (nicm) Lift limit on session name passed with -s. 1916* (nicm) Show size in session/window lists. 1917* (nicm) Pass tty up to server when client identifies and add a list-clients 1918 command to list connected clients. 1919 192020 October 2007 1921 1922* (nicm) Add default-command option and change default to be $SHELL rather than 1923 $SHELL -l. Also try to read shell from passwd db if $SHELL isn't present. 1924 192519 October 2007 1926 1927* (nicm) -n on new-session is now -s, and -n is now the initial window name. 1928 This was documented but not implemented :-/. 1929* (nicm) kill-window command, bound to & by default (because it should be hard 1930 to hit accidently). 1931* (nicm) bell-style option with three choices: "none" completely ignore bell; 1932 "any" pass through a bell in any window to current; "current" ignore bells 1933 except in current window. This applies only to the bell terminal signal, 1934 the status bar always reflects any bells. 1935* (nicm) Refresh session command. 1936 193712 October 2007 1938 1939* (nicm) Add a warning if $TMUX exists on new/attach. 1940* (nicm) send-prefix command. Bound to C-b by default. 1941* (nicm) set status, status-fg, status-bg commands. fg and bg are as a number 1942 from 0 to 8 or a string ("red", "blue", etc). status may be 1/0, on/off, 1943 yes/no. 1944* (nicm) Make status line mark window in yellow on bell. 1945 194604 October 2007 1947 1948* (nicm) -d option to attach to detach all other clients on the same session. 1949* (nicm) Partial resizing support. Still buggy. A C-b S and back sometimes fixes 1950 it when it goes wonky. 1951* (mxey) Added my tmux start script as an example (examples/start-tmux.sh). 1952* (mxey) New sessions can now be given a command for their first window. 1953* (mxey) Fixed usage statement for new-window. 1954* (nicm) attach-session (can't believe I forgot it until now!) and list-windows 1955 commands. 1956* (nicm) rename-window and select-window commands. 1957* (nicm) set-option command (alias set): "tmux set-option prefix ^A". 1958* (nicm) Key binding and unbinding is back. 1959 196003 October 2007 1961 1962* (nicm) {new,next,last,previous}-window. 1963* (nicm) Rewrite command handling so commands are much more generic and the 1964 same commands are used for command line and keys (although most will probably 1965 need to check how they are called). Currently incomplete (only new/detach/ls 1966 implemented). Change: -s is now passed before command again! 1967* (nicm) String number arguments. So you can do: tmux bind ^Q create "blah". 1968* (nicm) Key binding. tmux bind key command [argument] and tmux unbind key. 1969 Key names are in a table in key-string.c, plus A is A, ^A is ctrl-A. 1970 Possible commands are in cmd.c (look at cmd_bind_table). 1971* (nicm) Move command parsing into the client. Also rename some messages and 1972 tidy up a few bits. Lots more tidying up needed :-/. 1973 197402 October 2007 1975 1976* (nicm) Redraw client status lines on rename. 1977* (nicm) Error on ambiguous command. 1978 197901 October 2007 1980 1981* (nicm) Restore window title handling. 1982* (nicm) Simple uncustomisable status line with window list. 1983 198430 September 2007 1985 1986* (nicm) Window info command for debugging, C-b I. 1987 198829 September 2007 1989 1990* (nicm) Deleting/inserting lines should follow scrolling region. Fix. 1991* (nicm) Allow creation of detached sessions: "tmux new-session -d". 1992* (nicm) Permit error messages to be passed back for transient clients like 1993 rename. Also make rename -i work. 1994* (nicm) Pass through bell in any window to current. 1995 199628 September 2007 1997 1998* (nicm) Major rewrite of input parser: 1999 - Lose the old weirdness in favour of a state machine. 2000 - Merge in parsing from screen.c. 2001 - Split key parsing off into a separate file. 2002 This is step one towards hopefully allowing a status line. It requires 2003 that we output data as if the terminal had one line less than it really does - 2004 a serious problem when it comes to things like scrolling. This change 2005 consolidates all the range checking and limiting together which should make 2006 it easier. 2007* (mxey) Added window renaming, like "tmux rename [-s session] [-i index] name" 2008 200927 September 2007 2010 2011* Split "tmux list" into "tmux list-sessions" (ls) and "list-windows" (lsw). 2012* New command session selection: 2013 - if name is specified, look for it and use it if it exists, otherwise 2014 error 2015 - if no name specified, try the current session from $TMUX 2016 - if $TMUX doesn't exist, and there is only one session, use it, 2017 otherwise error 2018 201926 September 2007 2020 2021* Add command aliases, so "ls" is an alias for "list". 2022* Rename some commands and alter syntax to take options after a la CVS. Also 2023 change some flags. So: 2024 2025 tmux -s/socket -nabc new 2026 2027 Becomes: 2028 2029 tmux -S/socket new -sabc 2030 2031* Major tidy and split of client/server code. 2032 203322 September 2007 2034 2035* Window list command (C-b W). Started by Maximilian Gass, finished by me. 2036 203720 September 2007 2038 2039* Specify meta via environment variable (META). 2040* Record last window and ^L key to switch to it. Largely from Maximilian Gass. 2041* Reset ignored signals in child after forkpty, makes ^C work. 2042* Wrap on next/previous. From Maximilian Gass. 2043 204419 September 2007 2045 2046* Don't renumber windows on close. 2047 204828 August 2007 2049 2050* Scrolling region (\e[r) support. 2051 205227 August 2007 2053 2054* Change screen.c to work more logically and hopefully fix heap corruption. 2055 205609 July 2007 2057 2058* Initial import to CVS. Basic functions are working, albeit with a couple of 2059 showstopper memory bugs and many missing features. Detaching, reattaching, 2060 creating new sessions, listing sessions work acceptably for using with shells. 2061 Simple curses programs (top, systat, tetris) and more complicated ones (mutt, 2062 emacs) that don't require scrolling regions (ESC[r) mostly work fine 2063 (including mutt, emacs). No status bar yet and no key remapping or other 2064 customisation. 2065