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