OpenBSD CVS

CVS log for src/usr.bin/tmux/tmux.1


[BACK] Up to [local] / src / usr.bin / tmux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.944 / (download) - annotate - [select for diffs], Tue May 14 09:32:37 2024 UTC (4 days, 19 hours ago) by nicm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.943: +1 -9 lines
Diff to previous 1.943 (colored)

Revert part of the change for GitHub issue 3675 because it does not work
correctly, it was intended to skip lines that are already being searched
as part of a previous wrapped line but in fact is skipping all lines
except the last in wrapped lines.

Also revert the search-wrapped-lines option (I didn't realize it was
intended to work around this).

Revision 1.943 / (download) - annotate - [select for diffs], Tue May 14 07:52:19 2024 UTC (4 days, 21 hours ago) by nicm
Branch: MAIN
Changes since 1.942: +12 -2 lines
Diff to previous 1.942 (colored)

Add a command-error hook when a command fails, from Hugh Davenport in
GitHub issue 3973.

Revision 1.942 / (download) - annotate - [select for diffs], Tue May 14 07:40:39 2024 UTC (4 days, 21 hours ago) by nicm
Branch: MAIN
Changes since 1.941: +10 -2 lines
Diff to previous 1.941 (colored)

Add an option to disable unwrapping lines for searching, from
meanderingprogrammer at gmail dot com, GitHub issue 3975.

Revision 1.941 / (download) - annotate - [select for diffs], Wed Apr 10 07:36:25 2024 UTC (5 weeks, 3 days ago) by nicm
Branch: MAIN
Changes since 1.940: +7 -1 lines
Diff to previous 1.940 (colored)

Add an option allow-set-title to forbid applications from changing the
pane title, from someone in GitHub issue 3930.

Revision 1.940 / (download) - annotate - [select for diffs], Thu Mar 21 11:53:11 2024 UTC (8 weeks, 2 days ago) by nicm
Branch: MAIN
Changes since 1.939: +1 -2 lines
Diff to previous 1.939 (colored)

Reduce escape-time default to 10 milliseconds, 500 is far too long for
modern terminals and networks. Case made by Kurtis Rader in GitHub issue
3844.

Revision 1.939 / (download) - annotate - [select for diffs], Thu Mar 21 11:51:32 2024 UTC (8 weeks, 2 days ago) by nicm
Branch: MAIN
Changes since 1.938: +10 -4 lines
Diff to previous 1.938 (colored)

Add -M to always turn mouse on in a menu, GitHub issue 3779.

Revision 1.938 / (download) - annotate - [select for diffs], Thu Mar 21 11:32:49 2024 UTC (8 weeks, 2 days ago) by nicm
Branch: MAIN
Changes since 1.937: +3 -3 lines
Diff to previous 1.937 (colored)

Use -p for default paste-buffer command in buffer mode, it will only do
anything if the application asked for it. From Gregory Anders.

Revision 1.937 / (download) - annotate - [select for diffs], Wed Mar 13 11:25:50 2024 UTC (2 months ago) by nicm
Branch: MAIN
Changes since 1.936: +12 -4 lines
Diff to previous 1.936 (colored)

Make the attach-session description clearer - do not mention creating a
client which is not important, explicitly say the session must exist,
and mention new-session and new-session -A. Prompted by Theo.

Revision 1.936 / (download) - annotate - [select for diffs], Tue Feb 13 08:10:23 2024 UTC (3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5
Changes since 1.935: +14 -4 lines
Diff to previous 1.935 (colored)

Add two new values for the destroy-unattached option to destroy sessions
only if they are not members of sessions groups, from Mark Huang, GitHub
issue 3806.

Revision 1.935 / (download) - annotate - [select for diffs], Wed Dec 27 20:23:59 2023 UTC (4 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.934: +4 -4 lines
Diff to previous 1.934 (colored)

Remove flags from the prefix before comparing with the received key so
that modifier keys with flags work correctly, GitHub issue 3764.

Revision 1.934 / (download) - annotate - [select for diffs], Wed Dec 27 20:20:50 2023 UTC (4 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.933: +47 -47 lines
Diff to previous 1.933 (colored)

groff apparently generates broken output for some common characters in
mdoc, so escaped versions have to be used instead. From Alexis
Hildebrandt in GitHub issue 3762.

Revision 1.933 / (download) - annotate - [select for diffs], Sat Sep 16 16:18:29 2023 UTC (8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.932: +2 -14 lines
Diff to previous 1.932 (colored)

Remove next- and previous-prompt added in error. GitHub issue 3696.

Revision 1.932 / (download) - annotate - [select for diffs], Fri Sep 15 06:31:49 2023 UTC (8 months ago) by nicm
Branch: MAIN
Changes since 1.931: +3 -2 lines
Diff to previous 1.931 (colored)

Add -t to source-file, GitHub issue 3473.

Revision 1.931 / (download) - annotate - [select for diffs], Sat Sep 2 09:17:23 2023 UTC (8 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.930: +10 -4 lines
Diff to previous 1.930 (colored)

Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
issue 3627.

Revision 1.930 / (download) - annotate - [select for diffs], Fri Sep 1 13:48:54 2023 UTC (8 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.929: +14 -5 lines
Diff to previous 1.929 (colored)

Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.

Revision 1.929 / (download) - annotate - [select for diffs], Wed Aug 23 08:40:25 2023 UTC (8 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.928: +7 -2 lines
Diff to previous 1.928 (colored)

Add -c to run-shell to set working directory, from someone in GitHub
issue 3661.

Revision 1.928 / (download) - annotate - [select for diffs], Thu Aug 17 14:10:28 2023 UTC (9 months ago) by nicm
Branch: MAIN
Changes since 1.927: +41 -9 lines
Diff to previous 1.927 (colored)

Add a session, pane and user mouse range types for the status line and
add format variables for mouse_status_line and mouse_status_range so
they can be associated with different commands in the key bindings.
GitHub issue 3652.

Revision 1.927 / (download) - annotate - [select for diffs], Tue Aug 15 07:01:47 2023 UTC (9 months ago) by nicm
Branch: MAIN
Changes since 1.926: +15 -3 lines
Diff to previous 1.926 (colored)

Add an option menu-selected-style to configure the currently selected
menu item, from Alexis Hildebrandt.

Revision 1.926 / (download) - annotate - [select for diffs], Tue Aug 8 08:21:30 2023 UTC (9 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.925: +29 -13 lines
Diff to previous 1.925 (colored)

Add flag to next-prompt/previous-prompt to go to command output instead,
from Magnus Gross.

Revision 1.925 / (download) - annotate - [select for diffs], Tue Aug 8 08:08:47 2023 UTC (9 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.924: +51 -20 lines
Diff to previous 1.924 (colored)

Add options and flags for menu styles similar to those existing for
popups, from Alexis Hildebrandt. GitHub issue 3650.

Revision 1.924 / (download) - annotate - [select for diffs], Tue Jul 11 16:09:09 2023 UTC (10 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.923: +118 -134 lines
Diff to previous 1.923 (colored)

Remove Ns and Li and change Nm to Ic, suggested by jmc.

Revision 1.923 / (download) - annotate - [select for diffs], Tue Jul 11 07:34:23 2023 UTC (10 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.922: +278 -89 lines
Diff to previous 1.922 (colored)

Add descriptions of copy mode commands, from Michael Bianco.

Revision 1.922 / (download) - annotate - [select for diffs], Mon Jul 3 16:47:43 2023 UTC (10 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.921: +14 -2 lines
Diff to previous 1.921 (colored)

Add support for marking lines with a shell prompt based on the OSC 133
extension, from Munif Tanjim in GitHub issue 3596.

Revision 1.921 / (download) - annotate - [select for diffs], Mon Jun 26 07:17:40 2023 UTC (10 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.920: +4 -2 lines
Diff to previous 1.920 (colored)

Add "us" to styles for underscore colour, GitHub issue 3589.

Revision 1.920 / (download) - annotate - [select for diffs], Fri May 19 07:46:34 2023 UTC (12 months ago) by nicm
Branch: MAIN
Changes since 1.919: +3 -2 lines
Diff to previous 1.919 (colored)

Add format for server_sessions, from Magnus Gross.

Revision 1.919 / (download) - annotate - [select for diffs], Fri Apr 28 06:12:27 2023 UTC (12 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.918: +12 -3 lines
Diff to previous 1.918 (colored)

Add options to change the confirm key and default behaviour of
confirm-before. From Elias Assaf in GitHub issue 3548; prompted by an
earlier change from Yutaro Yoshii in GitHub issue 3496.

Revision 1.918 / (download) - annotate - [select for diffs], Mon Apr 3 07:39:37 2023 UTC (13 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.917: +6 -3 lines
Diff to previous 1.917 (colored)

Clarify text for new -A slightly, GitHub issue 3508.

Revision 1.917 / (download) - annotate - [select for diffs], Mon Mar 27 08:47:57 2023 UTC (13 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.916: +3 -2 lines
Diff to previous 1.916 (colored)

Add a format to show if there are unseen changes while in a mode, from
Dan Aloni in GitHub issue 3498.

Revision 1.916 / (download) - annotate - [select for diffs], Tue Feb 7 10:21:01 2023 UTC (15 months, 1 week ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.915: +44 -28 lines
Diff to previous 1.915 (colored)

Add an L modifier like P, W, S to loop over clients. Also fix some long
lines in tmux(1).

Revision 1.915 / (download) - annotate - [select for diffs], Mon Feb 6 09:20:30 2023 UTC (15 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.914: +8 -4 lines
Diff to previous 1.914 (colored)

Add -f to list-clients like the other list commands, from Andy Walker in
GitHub issue 3449.

Revision 1.914 / (download) - annotate - [select for diffs], Sun Feb 5 21:15:33 2023 UTC (15 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.913: +6 -2 lines
Diff to previous 1.913 (colored)

Extend display-message to work for control clients. GitHub issue 3449.

Revision 1.913 / (download) - annotate - [select for diffs], Mon Jan 23 09:33:51 2023 UTC (15 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.912: +3 -3 lines
Diff to previous 1.912 (colored)

Too many \s in example, GitHub issue 3445.

Revision 1.912 / (download) - annotate - [select for diffs], Fri Jan 20 21:36:00 2023 UTC (15 months, 4 weeks ago) by nicm
Branch: MAIN
Changes since 1.911: +6 -2 lines
Diff to previous 1.911 (colored)

Add a flag to display-menu to select the manu item chosen first, GitHub
issue 3442.

Revision 1.911 / (download) - annotate - [select for diffs], Sun Jan 8 21:00:01 2023 UTC (16 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.910: +3 -3 lines
Diff to previous 1.910 (colored)

Quotes are now required in select-layout example.

Revision 1.910 / (download) - annotate - [select for diffs], Thu Dec 22 19:53:23 2022 UTC (16 months, 3 weeks ago) by kn
Branch: MAIN
Changes since 1.909: +7 -9 lines
Diff to previous 1.909 (colored)

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.

Cleanup a few markups of the same argument so the text keeps reading
naturally;  omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.

For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.

Feedback millert jmc schwarze deraadt
OK jmc

Revision 1.909 / (download) - annotate - [select for diffs], Fri Dec 16 08:13:40 2022 UTC (17 months ago) by nicm
Branch: MAIN
Changes since 1.908: +10 -3 lines
Diff to previous 1.908 (colored)

Add send-keys -K to handle keys directly as if typed (so look up in key
table). GitHub issue 3361.

Revision 1.908 / (download) - annotate - [select for diffs], Fri Nov 11 08:37:55 2022 UTC (18 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.907: +6 -2 lines
Diff to previous 1.907 (colored)

Parse primary device attributes as well as secondary and add a SIXEL
flag (not used yet), from Anindya Mukherjee.

Revision 1.907 / (download) - annotate - [select for diffs], Fri Nov 11 08:27:17 2022 UTC (18 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.906: +11 -2 lines
Diff to previous 1.906 (colored)

Document alternative delimiters for substitution, from Jim Wisniewski.

Revision 1.906 / (download) - annotate - [select for diffs], Thu Nov 10 22:58:39 2022 UTC (18 months, 1 week ago) by jmc
Branch: MAIN
Changes since 1.905: +13 -13 lines
Diff to previous 1.905 (colored)

- sort options; from josiah frentsos
ok nicm

- add -N to SYNOPSIS

- sort usage()

Revision 1.905 / (download) - annotate - [select for diffs], Thu Nov 3 08:33:57 2022 UTC (18 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.904: +9 -4 lines
Diff to previous 1.904 (colored)

Add a -l flag to display-message to disable format expansion, from Aaron
Jensen. GitHub issue 3372.

Revision 1.904 / (download) - annotate - [select for diffs], Fri Oct 28 13:00:02 2022 UTC (18 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.903: +5 -1 lines
Diff to previous 1.903 (colored)

Add paste-buffer-deleted notification and fix name of paste-buffer-changed.

Revision 1.903 / (download) - annotate - [select for diffs], Wed Sep 28 07:59:50 2022 UTC (19 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.902: +4 -2 lines
Diff to previous 1.902 (colored)

Add scroll-top and scroll-bottom commands to scroll so cursor is at top
or bottom. From Anindya Mukherjee, GitHub issue 3334.

Revision 1.902 / (download) - annotate - [select for diffs], Wed Sep 28 07:55:29 2022 UTC (19 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.901: +9 -4 lines
Diff to previous 1.901 (colored)

Add a -T flag to capture-pane to stop at the last used cell instead of
the full width. Restore the previous behaviour by making it default to
off unless -J is used (the only time it matters). Fixes mosh unit tests;
GitHub issue 3339.

Revision 1.901 / (download) - annotate - [select for diffs], Fri Sep 9 11:02:23 2022 UTC (20 months, 1 week ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.900: +6 -2 lines
Diff to previous 1.900 (colored)

Add message-line option to control where message and prompt go, from
Varun Kumar E in GitHub issue 3324.

Revision 1.900 / (download) - annotate - [select for diffs], Tue Aug 23 08:14:19 2022 UTC (20 months, 3 weeks ago) by nicm
Branch: MAIN
Changes since 1.899: +2 -1 lines
Diff to previous 1.899 (colored)

Add scroll-middle copy mode command to make cursor line in the middle,
from Varun Kumar E in GitHub issue 3307.

Revision 1.899 / (download) - annotate - [select for diffs], Mon Aug 15 09:10:34 2022 UTC (21 months ago) by nicm
Branch: MAIN
Changes since 1.898: +6 -2 lines
Diff to previous 1.898 (colored)

Notify when a paste buffer is deleted, GitHub issue 3302 from George
Nachman.

Revision 1.898 / (download) - annotate - [select for diffs], Mon Aug 15 08:54:03 2022 UTC (21 months ago) by nicm
Branch: MAIN
Changes since 1.897: +5 -1 lines
Diff to previous 1.897 (colored)

Add a Nobr terminfo capability to tell tmux the terminal does not use
bright colours for bold (makes a difference to how tmux applies palette
differences). From Damien Tardy-Panis in GitHub issue 3301.

Revision 1.897 / (download) - annotate - [select for diffs], Tue Aug 2 11:09:26 2022 UTC (21 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.896: +9 -3 lines
Diff to previous 1.896 (colored)

Add a third state "all" to allow-passthrough to work even in invisible
panes, from Sergei Grechanik in GitHub issue 3274.

Revision 1.896 / (download) - annotate - [select for diffs], Tue Aug 2 08:57:01 2022 UTC (21 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.895: +1 -3 lines
Diff to previous 1.895 (colored)

-u is no longer equivalent to -TUTF-8 so don't say it is.

Revision 1.895 / (download) - annotate - [select for diffs], Wed Jul 6 07:51:37 2022 UTC (22 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.894: +10 -6 lines
Diff to previous 1.894 (colored)

Mention whether time is creation/activity for sort orders.

Revision 1.894 / (download) - annotate - [select for diffs], Wed Jul 6 07:36:36 2022 UTC (22 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.893: +3 -2 lines
Diff to previous 1.893 (colored)

Support hyperlinks with capture-pane -e and add a mouse_hyperlink
format, GitHub issue 3247 from Jeff Chiang.

Revision 1.893 / (download) - annotate - [select for diffs], Thu Jun 30 09:55:53 2022 UTC (22 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.892: +12 -3 lines
Diff to previous 1.892 (colored)

Add support for OSC 8 hyperlinks (a VTE extension now supported by other
terminals such as iTerm2). Originally written by me then extended and
completed by first Will Noble and later Jeff Chiang. GitHub issues 911,
2621, 2890, 3240.

Revision 1.892 / (download) - annotate - [select for diffs], Mon Jun 20 07:59:37 2022 UTC (22 months, 4 weeks ago) by nicm
Branch: MAIN
Changes since 1.891: +4 -2 lines
Diff to previous 1.891 (colored)

Do not display configuration file errors in a pane when in control mode,
instead report them with a %config-error notification. GitHub issue 3193.

Revision 1.891 / (download) - annotate - [select for diffs], Tue Jun 14 07:29:00 2022 UTC (23 months ago) by nicm
Branch: MAIN
Changes since 1.890: +7 -1 lines
Diff to previous 1.890 (colored)

kf* terminfo capabilities are poorly defined and rxvt uses them in a
different way from xterm, so add a feature flag for rxvt to make tmux
ignore the capabilities and instead rely on its builtin definitions.

Revision 1.890 / (download) - annotate - [select for diffs], Mon May 30 13:07:06 2022 UTC (23 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.889: +2 -1 lines
Diff to previous 1.889 (colored)

Add pane_start_path to match start_command.

Revision 1.889 / (download) - annotate - [select for diffs], Mon May 30 13:06:10 2022 UTC (23 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.888: +3 -3 lines
Diff to previous 1.888 (colored)

Fix property name from Sergei Dyshel, and a typo from imcusg at gmail
dot com.

Revision 1.888 / (download) - annotate - [select for diffs], Mon May 30 12:48:57 2022 UTC (23 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.887: +41 -3 lines
Diff to previous 1.887 (colored)

Add an ACL list for users connecting to the tmux socket. Users may be
forbidden from attaching, forced to attach read-only, or allowed to
attach read-write. A new command, server-access, configures the list.
tmux gets the user using getpeereid(3) of the client socket. Users must
still configure file system permissions manually. From Dallas Lyons and
others.

Revision 1.887 / (download) - annotate - [select for diffs], Thu Apr 14 06:59:29 2022 UTC (2 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.886: +4 -4 lines
Diff to previous 1.886 (colored)

Fix clearphist alias, from Jacqueline Jolicoeur via jmc@.

Revision 1.886 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:27 2022 UTC (2 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.885: +5 -5 lines
Diff to previous 1.885 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.885 / (download) - annotate - [select for diffs], Thu Mar 24 09:05:57 2022 UTC (2 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.884: +9 -2 lines
Diff to previous 1.884 (colored)

Add a capability for OSC 7 and use it similarly to how the title is set
(and controlled by the same set-titles option). GitHub issue 3127.

Revision 1.884 / (download) - annotate - [select for diffs], Thu Mar 17 11:35:37 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.883: +8 -2 lines
Diff to previous 1.883 (colored)

Add an option (scroll-on-clear) to control if tmux scrolls into history
on clear, from Robert Lange in GitHub issue 3121.

Revision 1.883 / (download) - annotate - [select for diffs], Wed Mar 16 17:00:17 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.882: +4 -1 lines
Diff to previous 1.882 (colored)

Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.

Revision 1.882 / (download) - annotate - [select for diffs], Tue Mar 8 18:31:46 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.881: +8 -1 lines
Diff to previous 1.881 (colored)

Add remain-on-exit-format to set text shown when pane is dead.

Revision 1.881 / (download) - annotate - [select for diffs], Tue Mar 8 12:01:19 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.880: +9 -4 lines
Diff to previous 1.880 (colored)

Add argument to refresh-client -l to forward clipboard to a pane. GitHub
issue 3068.

Revision 1.880 / (download) - annotate - [select for diffs], Tue Mar 8 11:28:40 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.879: +6 -2 lines
Diff to previous 1.879 (colored)

Add formats for client and server UID and user (for multiuser setups).

Revision 1.879 / (download) - annotate - [select for diffs], Tue Feb 22 11:10:41 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.878: +3 -2 lines
Diff to previous 1.878 (colored)

Add next_session_id format with the next session ID, GitHub issue 3078.

Revision 1.878 / (download) - annotate - [select for diffs], Tue Feb 22 10:53:34 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.877: +7 -2 lines
Diff to previous 1.877 (colored)

Add window-resized hook to man page, from Thomas Adam.

Revision 1.877 / (download) - annotate - [select for diffs], Tue Feb 15 13:11:29 2022 UTC (2 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.876: +9 -2 lines
Diff to previous 1.876 (colored)

Add an option (default off) to control the passthrough escape sequence.
Like set-clipboard and allow-rename it is safer to forbid this by
default.

Revision 1.876 / (download) - annotate - [select for diffs], Thu Feb 3 07:26:43 2022 UTC (2 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.875: +2 -1 lines
Diff to previous 1.875 (colored)

Add a key in copy mode to toggle position indicator.

Revision 1.875 / (download) - annotate - [select for diffs], Tue Feb 1 14:46:41 2022 UTC (2 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.874: +8 -2 lines
Diff to previous 1.874 (colored)

Add option to show arrows for active pane indicator, GitHub issue 3022
from Marcel Partap.

Revision 1.874 / (download) - annotate - [select for diffs], Tue Feb 1 12:05:42 2022 UTC (2 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.873: +8 -2 lines
Diff to previous 1.873 (colored)

Mention that if-shell and #() use /bin/sh.

Revision 1.873 / (download) - annotate - [select for diffs], Fri Dec 10 12:51:11 2021 UTC (2 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.872: +10 -2 lines
Diff to previous 1.872 (colored)

Missed unlinked control notifications, GitHub issue 2996.

Revision 1.872 / (download) - annotate - [select for diffs], Fri Dec 10 12:45:32 2021 UTC (2 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.871: +7 -2 lines
Diff to previous 1.871 (colored)

Mention XParseColor(3) for the cursor colour escape sequence.

Revision 1.871 / (download) - annotate - [select for diffs], Thu Nov 11 09:22:33 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.870: +4 -3 lines
Diff to previous 1.870 (colored)

If trimming menu item text, show key if it would take up less than a
quarter of the space; from Alexis Hildebrandt.

Also new sentence, new line in tmux.1, from jmc.

Revision 1.870 / (download) - annotate - [select for diffs], Thu Nov 4 13:15:13 2021 UTC (2 years, 6 months ago) by kn
Branch: MAIN
Changes since 1.869: +77 -77 lines
Diff to previous 1.869 (colored)

Fix mandoc HTML rendering for command aliases

Replace hand-rolled parentheses with the proper mdoc(7) macro,
otherwise the closing ")" ends up inside the command description.

Reported by Josh Rickmar, thanks!

Revision 1.869 / (download) - annotate - [select for diffs], Wed Nov 3 13:37:17 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.868: +12 -2 lines
Diff to previous 1.868 (colored)

Add a cursor-style option, from Alexis Hildebrandt in GitHub issue 2960.

Revision 1.868 / (download) - annotate - [select for diffs], Mon Nov 1 09:34:49 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.867: +4 -1 lines
Diff to previous 1.867 (colored)

Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue
2959.

Revision 1.867 / (download) - annotate - [select for diffs], Mon Oct 25 21:21:16 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.866: +5 -1 lines
Diff to previous 1.866 (colored)

Add a way to force a colour to RGB and a format to display it.

Revision 1.866 / (download) - annotate - [select for diffs], Mon Oct 25 20:32:42 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.865: +3 -2 lines
Diff to previous 1.865 (colored)

Missing Pp, from Alexis Hildebrandt.

Revision 1.865 / (download) - annotate - [select for diffs], Mon Oct 25 09:38:36 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.864: +14 -2 lines
Diff to previous 1.864 (colored)

Add -s and -S to display-popup to set popup and border style, from
Alexis Hildebrandt in GitHub issue 2931.

Revision 1.864 / (download) - annotate - [select for diffs], Wed Oct 20 09:50:40 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.863: +7 -2 lines
Diff to previous 1.863 (colored)

Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941.

Revision 1.863 / (download) - annotate - [select for diffs], Mon Oct 18 09:09:46 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.862: +2 -20 lines
Diff to previous 1.862 (colored)

Remove duplicate options, spotted by Ricky Cintron.

Revision 1.862 / (download) - annotate - [select for diffs], Thu Oct 14 13:19:01 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.861: +60 -2 lines
Diff to previous 1.861 (colored)

Add popup-border-lines option to set popup line style, from Alexis
Hildebrandt, GitHub issue 2930.

Revision 1.861 / (download) - annotate - [select for diffs], Wed Oct 13 09:28:36 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.860: +20 -2 lines
Diff to previous 1.860 (colored)

Add popup-style and popup-border-style options, from Alexis Hildebrandt
in GitHub issue 2927.

Revision 1.860 / (download) - annotate - [select for diffs], Mon Oct 11 10:55:30 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.859: +8 -1 lines
Diff to previous 1.859 (colored)

Add -e flag to set environment for popup, from Alexis Hildebrandt in
GitHub issue 2924.

Revision 1.859 / (download) - annotate - [select for diffs], Fri Oct 8 14:14:31 2021 UTC (2 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.858: +2 -3 lines
Diff to previous 1.858 (colored)

remove extra .El;

Revision 1.858 / (download) - annotate - [select for diffs], Fri Oct 8 06:37:39 2021 UTC (2 years, 7 months ago) by kn
Branch: MAIN
Changes since 1.857: +77 -2 lines
Diff to previous 1.857 (colored)

Add tags for command aliases

Make ":tnew" work, i.e. bring the reader to the definition of the full
"new-window" command aliased as "new" just like ":tnew-window" would.

OK nicm

Revision 1.857 / (download) - annotate - [select for diffs], Thu Oct 7 07:53:31 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.856: +3 -2 lines
Diff to previous 1.856 (colored)

Add a missing El, from Alexis Hildebrandt in GitHub issue 2918.

Revision 1.856 / (download) - annotate - [select for diffs], Tue Oct 5 12:49:37 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.855: +3 -2 lines
Diff to previous 1.855 (colored)

Make send-keys without any arguments send the key it is bound to (if
any). GitHub issue 2904.

Revision 1.855 / (download) - annotate - [select for diffs], Fri Aug 27 17:15:57 2021 UTC (2 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.854: +13 -3 lines
Diff to previous 1.854 (colored)

Allow control mode clients to set a hard limit on the window width and
height, GitHub issue 2594.

Revision 1.854 / (download) - annotate - [select for diffs], Fri Aug 13 18:54:54 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.853: +2 -2 lines
Diff to previous 1.853 (colored)

Add a menu when a popup is present (mouse only for now).

Revision 1.853 / (download) - annotate - [select for diffs], Fri Aug 13 17:03:29 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.852: +5 -3 lines
Diff to previous 1.852 (colored)

Add -B flag to remove border from popup.

Revision 1.852 / (download) - annotate - [select for diffs], Fri Aug 13 06:50:42 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.851: +10 -4 lines
Diff to previous 1.851 (colored)

Set return code for confirm-before and make command-prompt also block,
GitHub issue 2822.

Revision 1.851 / (download) - annotate - [select for diffs], Thu Aug 12 08:05:11 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.850: +2 -1 lines
Diff to previous 1.850 (colored)

Move hook format setup earlier and add a hook_client, GitHub issue 2809.

Revision 1.850 / (download) - annotate - [select for diffs], Wed Aug 11 20:49:55 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.849: +8 -2 lines
Diff to previous 1.849 (colored)

Break the colour palette into a struct rather than just a single array
and use that to support the OSC palette-setting sequences in popups.
Also add a pane-colours array option to specify the defaults. GitHub
issue 2815.

Revision 1.849 / (download) - annotate - [select for diffs], Wed Aug 11 20:35:46 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.848: +7 -3 lines
Diff to previous 1.848 (colored)

Add pipe variants of the line copy commands. While here make the command
list less unreadable. GitHub issue 2813.

Revision 1.848 / (download) - annotate - [select for diffs], Wed Aug 11 08:40:58 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.847: +6 -5 lines
Diff to previous 1.847 (colored)

Make confirm-before optionally block the invoking client like run-shell,
GitHub issue 2819.

Revision 1.847 / (download) - annotate - [select for diffs], Mon Aug 9 13:08:08 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.846: +5 -3 lines
Diff to previous 1.846 (colored)

Change copy-line and copy-end-of-line not to cancel and add -and-cancel
variants, like the other copy commands. GitHub issue 2799.

Revision 1.846 / (download) - annotate - [select for diffs], Fri Aug 6 09:19:02 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.845: +6 -2 lines
Diff to previous 1.845 (colored)

Add client focus hooks.

Revision 1.845 / (download) - annotate - [select for diffs], Wed Aug 4 08:07:19 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.844: +4 -2 lines
Diff to previous 1.844 (colored)

Add a client-active hook, from ncfavier in GitHub issue 2803.

Revision 1.844 / (download) - annotate - [select for diffs], Fri Jun 18 07:46:54 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.843: +5 -3 lines
Diff to previous 1.843 (colored)

Mention %1 under choose-tree also.

Revision 1.843 / (download) - annotate - [select for diffs], Thu Jun 10 13:12:31 2021 UTC (2 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.842: +4 -3 lines
Diff to previous 1.842 (colored)

fix some formatting errors;

Revision 1.842 / (download) - annotate - [select for diffs], Thu Jun 10 07:59:08 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.841: +5 -1 lines
Diff to previous 1.841 (colored)

Feature for the mouse since FreeBSD termcap does not have kmous.

Revision 1.841 / (download) - annotate - [select for diffs], Thu Jun 10 07:56:47 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.840: +7 -11 lines
Diff to previous 1.840 (colored)

More accurate vi(1) word navigation in copy mode and on the status line.
This changes the meaning of the word-separators option - setting it to
the empty string is equivalent to the previous behavior. From Will Noble
in GitHub issue 2693.

Revision 1.840 / (download) - annotate - [select for diffs], Thu Jun 10 07:52:56 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.839: +7 -2 lines
Diff to previous 1.839 (colored)

Add -F for command-prompt and use it to fix "Rename" on the window menu,
GitHub issue 2699.

Revision 1.839 / (download) - annotate - [select for diffs], Thu Jun 10 07:50:04 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.838: +42 -7 lines
Diff to previous 1.838 (colored)

Add different command historys for different types of prompts
("command", "search" etc). From Anindya Mukherjee.

Revision 1.838 / (download) - annotate - [select for diffs], Thu Jun 10 07:33:41 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.837: +3 -1 lines
Diff to previous 1.837 (colored)

Change resize timers and flags into one timer and a queue which is
simpler and fixes problems with vim when resized multiple times. GitHub
issue 2677.

Revision 1.837 / (download) - annotate - [select for diffs], Thu Jun 10 07:28:45 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.836: +6 -2 lines
Diff to previous 1.836 (colored)

Three changes to fix problems with xterm in VT340 mode, reported by
Thomas Sattler.

1) Do not include the DECSLRM or DECFRA features for xterm; they will be
   added instead if secondary DA responds as VT420 (this happens
   already).

2) Set or reset the individual flags after terminal-overrides is
   applied, so the user can properly disable them.

3) Add a capability for DECFRA ("Rect").

Revision 1.836 / (download) - annotate - [select for diffs], Thu Jun 10 07:24:10 2021 UTC (2 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.835: +21 -8 lines
Diff to previous 1.835 (colored)

Add an "always" value to the extended-keys option to always forward
these keys to applications inside tmux.

Revision 1.835 / (download) - annotate - [select for diffs], Thu Apr 15 05:38:11 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.834: +5 -4 lines
Diff to previous 1.834 (colored)

%begin now has three arguments, not two. GitHubs issue 2646.

Revision 1.834 / (download) - annotate - [select for diffs], Mon Apr 12 09:36:12 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.833: +5 -3 lines
Diff to previous 1.833 (colored)

Add a flag to disable keys to close a message, GitHub issue 2625.

Revision 1.833 / (download) - annotate - [select for diffs], Mon Apr 12 06:50:25 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.832: +32 -6 lines
Diff to previous 1.832 (colored)

Permit shortcut keys in buffer, client, tree modes to be configured with
a format; the default remains the line number. GitHub issue 2636.

Revision 1.832 / (download) - annotate - [select for diffs], Wed Apr 7 12:50:12 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.831: +3 -2 lines
Diff to previous 1.831 (colored)

Add a current_file format for the config file being parsed. Originally
suggested by kn@, also GitHub issue 2638.

Revision 1.831 / (download) - annotate - [select for diffs], Thu Apr 1 06:37:46 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.830: +4 -4 lines
Diff to previous 1.830 (colored)

Missing commas, from Vipul Kumar.

Revision 1.830 / (download) - annotate - [select for diffs], Tue Mar 16 09:14:58 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.829: +3 -1 lines
Diff to previous 1.829 (colored)

Add client-detached notification in control mode, from Mohsin Kaleem.

Revision 1.829 / (download) - annotate - [select for diffs], Thu Mar 11 06:41:04 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.828: +6 -5 lines
Diff to previous 1.828 (colored)

Add an "absolute-centre" alignment to use the centre of the total space
instead of only the available space. From Magnus Gross in GitHub issue 2578.

Revision 1.828 / (download) - annotate - [select for diffs], Thu Mar 11 06:31:05 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.827: +5 -3 lines
Diff to previous 1.827 (colored)

Add split-window -Z to start the pane zoomed, GitHub issue 2591.

Revision 1.827 / (download) - annotate - [select for diffs], Tue Mar 2 10:56:45 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.826: +7 -56 lines
Diff to previous 1.826 (colored)

Drop support for popups where the content is provided directly to tmux
(which does not have many practical uses) and only support running a
program in the popup. display-popup is now simpler and can accept
multiple arguments to avoid escaping problems (like the other commands).

Revision 1.826 / (download) - annotate - [select for diffs], Mon Mar 1 17:49:08 2021 UTC (3 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.825: +7 -9 lines
Diff to previous 1.825 (colored)

escape quotes and remove some unneccessary Pp; ok nicm

Revision 1.825 / (download) - annotate - [select for diffs], Mon Mar 1 10:44:38 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.824: +65 -2 lines
Diff to previous 1.824 (colored)

Add some text with examples of ; as a separator, GitHub issues 2522 and
2580.

Revision 1.824 / (download) - annotate - [select for diffs], Fri Feb 26 07:53:26 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.823: +6 -4 lines
Diff to previous 1.823 (colored)

Add a couple of format variables for active and last window index.

Revision 1.823 / (download) - annotate - [select for diffs], Mon Feb 22 08:18:13 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.822: +3 -2 lines
Diff to previous 1.822 (colored)

Move config file path expansion much earlier, keep the list of paths
around rather than freeing later, and add a config_files format variable
containing it. Suggested by kn@ a while back.

Revision 1.822 / (download) - annotate - [select for diffs], Mon Feb 15 09:39:38 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.821: +5 -3 lines
Diff to previous 1.821 (colored)

Support X11 colour names and some other variations for OSC 10/11, also
add OSC 110 and 111. GitHub issue 2567.

Revision 1.821 / (download) - annotate - [select for diffs], Wed Feb 10 07:17:07 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.820: +6 -6 lines
Diff to previous 1.820 (colored)

Use ~/.tmux.conf as an example rather than /etc/passwd, suggested by
deraadt@.

Revision 1.820 / (download) - annotate - [select for diffs], Mon Feb 8 14:46:53 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.819: +8 -3 lines
Diff to previous 1.819 (colored)

Add "pipe" variants of the "copy-pipe" commands which do not copy, from
Christian Zangl.

Revision 1.819 / (download) - annotate - [select for diffs], Sat Feb 6 13:02:52 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.818: +1 -3 lines
Diff to previous 1.818 (colored)

In the end UTF-8 did not become a terminal feature, should not be listed
in man page.

Revision 1.818 / (download) - annotate - [select for diffs], Fri Feb 5 12:29:18 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.817: +6 -2 lines
Diff to previous 1.817 (colored)

Send Unicode directional isolate characters around horizontal pane
borders if the terminal support UTF-8 and an extension terminfo(5)
capability "Bidi" is present. On terminals with BiDi support (ie, VTE)
this seems to be enough to display right-to-left text acceptably enough
to be usable (with some caveats about the mouse position). Requested by
and with help from Mahmoud Elagdar in GitHub issue 2425.

Revision 1.817 / (download) - annotate - [select for diffs], Fri Feb 5 12:23:49 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.816: +22 -3 lines
Diff to previous 1.816 (colored)

Add a -S flag to new-window to make it select the existing window if one
with the given name already exists rather than failing with an error.
Also add a format to check if a window or session name exists which
allows the same with other commands. Requested by and discussed with
kn@.

Revision 1.816 / (download) - annotate - [select for diffs], Tue Feb 2 07:33:29 2021 UTC (3 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.815: +3 -3 lines
Diff to previous 1.815 (colored)

article fixes; from eddie youseph

Revision 1.815 / (download) - annotate - [select for diffs], Mon Feb 1 08:01:14 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.814: +7 -3 lines
Diff to previous 1.814 (colored)

Add a no-detached choice to detach-on-destroy which detaches only if
there are no other detached sessions to switch to, from Sencer Selcuk in
GitHub issue 2553.

Revision 1.814 / (download) - annotate - [select for diffs], Fri Jan 29 09:48:43 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.813: +2 -4 lines
Diff to previous 1.813 (colored)

Trim output overwritten by later text or clears completely rather than
only in a few cases. This means we can better track when a line should
wrap. GitHub issue 2537.

Revision 1.813 / (download) - annotate - [select for diffs], Fri Jan 22 10:24:52 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.812: +4 -2 lines
Diff to previous 1.812 (colored)

Add rectangle-on and rectangle-off copy mode commands, GitHub isse 2546
from author at will dot party.

Revision 1.812 / (download) - annotate - [select for diffs], Wed Jan 20 07:16:54 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.811: +6 -5 lines
Diff to previous 1.811 (colored)

Change so that window_flags escapes # automatically which means configs
will not have to change. A new format window_raw_flags contains the old
unescaped version.

Revision 1.811 / (download) - annotate - [select for diffs], Sun Jan 17 16:17:41 2021 UTC (3 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.810: +7 -2 lines
Diff to previous 1.810 (colored)

Add -N flag to never start server even if command would normally do so,
GitHub issue 2523.

Revision 1.810 / (download) - annotate - [select for diffs], Mon Jan 4 08:43:16 2021 UTC (3 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.809: +6 -3 lines
Diff to previous 1.809 (colored)

Add a variant of remain-on-exit that only keeps the pane if the program
failed, GitHub issue 2513.

Revision 1.809 / (download) - annotate - [select for diffs], Fri Jan 1 08:36:51 2021 UTC (3 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.808: +17 -10 lines
Diff to previous 1.808 (colored)

Add a -C flag to run-shell to use a tmux command rather than a shell command.

Revision 1.808 / (download) - annotate - [select for diffs], Tue Dec 15 08:31:50 2020 UTC (3 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.807: +14 -9 lines
Diff to previous 1.807 (colored)

Make synchronize-panes a pane option and add -U flag to set-option to
unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.

Revision 1.807 / (download) - annotate - [select for diffs], Thu Dec 3 07:12:12 2020 UTC (3 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.806: +3 -3 lines
Diff to previous 1.806 (colored)

Redraw any visible modes when status line changes so that formats like
the pane title are updated. GitHub issue 2487. Also a man page fix from
jmc.

Revision 1.806 / (download) - annotate - [select for diffs], Tue Dec 1 08:12:58 2020 UTC (3 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.805: +8 -3 lines
Diff to previous 1.805 (colored)

Make replacement of ##s consistent when drawing formats, whether
followed by [ or not. Add a flag (e) to the q: format modifier to double
up #s and use it for the window_flags format variable so it doesn't end
up escaping any following text. GitHub issue 2485.

Revision 1.805 / (download) - annotate - [select for diffs], Mon Nov 30 13:37:45 2020 UTC (3 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.804: +4 -3 lines
Diff to previous 1.804 (colored)

Ignore running command when checking for no-hooks flag if it is blocked.
GitHub issue 2483.

Revision 1.804 / (download) - annotate - [select for diffs], Thu Nov 26 09:19:10 2020 UTC (3 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.803: +5 -4 lines
Diff to previous 1.803 (colored)

Add -N flag to display-panes to ignore keys, GitHub issue 2473.

Revision 1.803 / (download) - annotate - [select for diffs], Mon Nov 9 09:10:10 2020 UTC (3 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.802: +5 -3 lines
Diff to previous 1.802 (colored)

Change how escaping is processed for formats so that ## and # can be
used in styles. Also add a 'w' format modifier for the width. From Chas
J Owens IV in GitHub issue 2389.

Revision 1.802 / (download) - annotate - [select for diffs], Tue Nov 3 08:09:35 2020 UTC (3 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.801: +24 -2 lines
Diff to previous 1.801 (colored)

Expand menu and popup -x and -y as a format, from teo_paul1 at yahoo dot
com in GitHub issue 2442.

Revision 1.801 / (download) - annotate - [select for diffs], Mon Nov 2 08:21:30 2020 UTC (3 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.800: +12 -4 lines
Diff to previous 1.800 (colored)

Add numeric comparisons for formats, from teo_paul1 at yahoo dot com in
GitHub issue 2442.

Revision 1.800 / (download) - annotate - [select for diffs], Fri Oct 30 08:55:56 2020 UTC (3 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.799: +11 -4 lines
Diff to previous 1.799 (colored)

Add a -O flag to display-menu to change the mouse behaviour and not
close the menu when the mouse is released, from teo_paul1 at yahoo dot
com.

Revision 1.799 / (download) - annotate - [select for diffs], Fri Oct 9 19:12:36 2020 UTC (3 years, 7 months ago) by tim
Branch: MAIN
Changes since 1.798: +2 -2 lines
Diff to previous 1.798 (colored)

Escape ! in Ql

OK jmc@ nicm@, agreement from schwarze@

Revision 1.798 / (download) - annotate - [select for diffs], Mon Oct 5 11:04:40 2020 UTC (3 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.797: +3 -3 lines
Diff to previous 1.797 (colored)

Trim "s from process names; also fix a default format in man page.

Revision 1.797 / (download) - annotate - [select for diffs], Mon Oct 5 09:53:01 2020 UTC (3 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.796: +4 -4 lines
Diff to previous 1.796 (colored)

Use the setal capability as well as (tmux's) Setulc.

Revision 1.796 / (download) - annotate - [select for diffs], Tue Sep 22 15:45:20 2020 UTC (3 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.795: +5 -5 lines
Diff to previous 1.795 (colored)

Move a sentence to the right command.

Revision 1.795 / (download) - annotate - [select for diffs], Wed Sep 16 19:12:59 2020 UTC (3 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.794: +6 -3 lines
Diff to previous 1.794 (colored)

Add -q flag to unbind-key to hide errors, GitHub issue 2381.

Revision 1.794 / (download) - annotate - [select for diffs], Wed Sep 2 13:46:35 2020 UTC (3 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.793: +20 -3 lines
Diff to previous 1.793 (colored)

Add a -w flag to set- and load-buffer to send to clipboard using OSC 52.
GitHub issue 2363.

Revision 1.793 / (download) - annotate - [select for diffs], Tue Sep 1 09:19:01 2020 UTC (3 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.792: +14 -4 lines
Diff to previous 1.792 (colored)

Add -F to set-environment and source-file; GitHub issue 2359.

Revision 1.792 / (download) - annotate - [select for diffs], Thu Aug 27 06:55:54 2020 UTC (3 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.791: +3 -2 lines
Diff to previous 1.791 (colored)

Add pane_last format, GitHub issue 2353.

Revision 1.791 / (download) - annotate - [select for diffs], Thu Aug 20 16:57:40 2020 UTC (3 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.790: +5 -2 lines
Diff to previous 1.790 (colored)

Add n: modifier to get length of a format, also automatically expand
variable name arguments again if they contain a #{.

Revision 1.790 / (download) - annotate - [select for diffs], Mon Jul 27 08:03:10 2020 UTC (3 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.789: +11 -3 lines
Diff to previous 1.789 (colored)

Add a -d option to display-message to set delay, from theonekeyg at
gmail dot com in GitHub issue 2322.

Revision 1.789 / (download) - annotate - [select for diffs], Mon Jul 13 07:04:17 2020 UTC (3 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.788: +13 -4 lines
Diff to previous 1.788 (colored)

Clarify /tmp permissions and use, GitHub issue 2300.

Revision 1.788 / (download) - annotate - [select for diffs], Mon Jul 6 09:14:20 2020 UTC (3 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.787: +49 -3 lines
Diff to previous 1.787 (colored)

Add a way for control mode clients to subscribe to a format and be
notified of changes rather than having to poll. GitHub issue 2242.

Revision 1.787 / (download) - annotate - [select for diffs], Fri Jul 3 07:07:50 2020 UTC (3 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.786: +3 -3 lines
Diff to previous 1.786 (colored)

Missing word, from annihilannic at hotmail dot com, GitHub issue 2288.

Revision 1.786 / (download) - annotate - [select for diffs], Thu Jun 18 08:34:22 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.785: +4 -2 lines
Diff to previous 1.785 (colored)

Add a flag to make a client wait for an empty line before exiting in
control mode to avoid stray commands ending up in the shell.

Revision 1.785 / (download) - annotate - [select for diffs], Tue Jun 16 08:18:34 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.784: +4 -2 lines
Diff to previous 1.784 (colored)

d and D keys to reset to default in customize mode.

Revision 1.784 / (download) - annotate - [select for diffs], Sat Jun 13 09:05:53 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.783: +22 -15 lines
Diff to previous 1.783 (colored)

Add -b flags to insert a window before (like the existing -a for after)
to break-pane, move-window, new-window. GitHub issue 2261.

Revision 1.783 / (download) - annotate - [select for diffs], Fri Jun 12 07:52:38 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.782: +2 -1 lines
Diff to previous 1.782 (colored)

move-pane also defaults to marked pane now, reported by Ben Challenor.

Revision 1.782 / (download) - annotate - [select for diffs], Thu Jun 11 19:43:34 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.781: +4 -2 lines
Diff to previous 1.781 (colored)

Add some formats for search in copy mode (search_present, search_match).
GitHub issue 2268.

Revision 1.781 / (download) - annotate - [select for diffs], Thu Jun 11 09:55:47 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.780: +9 -4 lines
Diff to previous 1.780 (colored)

Add a -A option to pause a pane manually.

Revision 1.780 / (download) - annotate - [select for diffs], Wed Jun 10 07:27:10 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.779: +12 -9 lines
Diff to previous 1.779 (colored)

Instead of a buffer size limit on each pane, set a limit of 300 seconds
of data for each client in control mode.

Revision 1.779 / (download) - annotate - [select for diffs], Wed Jun 10 06:23:43 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.778: +13 -2 lines
Diff to previous 1.778 (colored)

When the pause-after flag is set, send an alternative %extended-output
form instead of %output with the age of the output.

Revision 1.778 / (download) - annotate - [select for diffs], Fri Jun 5 07:33:57 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.777: +36 -11 lines
Diff to previous 1.777 (colored)

Add support for pausing a pane when the output buffered for a control
mode client gets too far behind. The pause-after flag with a time is set
on the pane with refresh-client -f and a paused pane may be resumed with
refresh-client -A. GitHub issue 2217.

Revision 1.777 / (download) - annotate - [select for diffs], Thu Jun 4 10:34:40 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.776: +6 -4 lines
Diff to previous 1.776 (colored)

Correct respawn-* - they don't always use the creation command.

Revision 1.776 / (download) - annotate - [select for diffs], Thu Jun 4 07:12:05 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.775: +10 -13 lines
Diff to previous 1.775 (colored)

Instead of using a custom parse function to process {}, treat it as a
set of statements and parse with yacc, then convert back to a string as
the last step. This means the rules are consistent inside and outside
{}, %if and friends work at the right time, and the final result isn't
littered with unnecessary newlines.

Revision 1.775 / (download) - annotate - [select for diffs], Fri May 29 13:42:13 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.774: +5 -3 lines
Diff to previous 1.774 (colored)

Add -i to find-window to ignore case.

Revision 1.774 / (download) - annotate - [select for diffs], Tue May 26 13:19:21 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.773: +5 -6 lines
Diff to previous 1.773 (colored)

Tweak some out of date bits, reported by bcgraham.

Revision 1.773 / (download) - annotate - [select for diffs], Thu May 21 07:24:13 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.772: +21 -2 lines
Diff to previous 1.772 (colored)

Support code for control mode flow control: allow clients to have
separate offsets (used and acknowleged) into the pane buffers; turn off
reading from panes when no clients can accept the data; and add a -A
flag to refresh-client to let clients turn receiving a pane on and off.

Revision 1.772 / (download) - annotate - [select for diffs], Sat May 16 16:44:54 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.771: +9 -1 lines
Diff to previous 1.771 (colored)

Add a terminal feature for enable/disable extended keys (supported by
xterm and mintty) and add an option to make tmux send it. Only forward
extended keys if the application has requested them, even though we use
the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as
well.

Revision 1.771 / (download) - annotate - [select for diffs], Sat May 16 16:30:59 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.770: +1 -11 lines
Diff to previous 1.770 (colored)

xterm-keys has been on by default for five years and all other modern
terminals use these key sequences by default. Merge the code into the
main tty and input tree processing (converting the latter to use a tree
rather than a table at the same time) and make the option a no-op.

Revision 1.770 / (download) - annotate - [select for diffs], Sat May 16 16:26:34 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.769: +23 -1 lines
Diff to previous 1.769 (colored)

Add an option to set the pane border lines style from a choice of single
lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or
number (the pane numbers). Lines that won't work on a non-UTF-8 terminal
are translated back into ACS when they are output.

Revision 1.769 / (download) - annotate - [select for diffs], Sat May 16 16:20:59 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.768: +10 -1 lines
Diff to previous 1.768 (colored)

Add a client flag 'active-pane' which stores the active pane in the
client and allows it to be changed independently from the real active
pane stored in the window. This is can be used with session groups which
allow an independent current window (although it would be nice to have a
flag for this too and remove session groups). The client active pane is
only really useful interactively, many things (hooks, window-style,
zooming) still use the window active pane.

Revision 1.768 / (download) - annotate - [select for diffs], Sat May 16 16:10:28 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.767: +11 -1 lines
Diff to previous 1.767 (colored)

Add a mark in copy mode. Set with set-mark command (bound to 'X') by
default and the mark and cursor position are swapped with 'jump-to-mark'
(bound to M-x). The line containing the mark is shown in
copy-mode-mark-style with the horizontal position in reverse.

From Anindya Mukherjee in GitHub issue 2209.

Revision 1.767 / (download) - annotate - [select for diffs], Sat May 16 16:07:55 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.766: +13 -2 lines
Diff to previous 1.766 (colored)

Add a -D flag to ask tmux not to daemonize, useful both for running a
debugger (lldb does not have follow-fork-mode) and for running with a
managed supervisor init system. GitHub issue 2190.

Revision 1.766 / (download) - annotate - [select for diffs], Sat May 16 16:02:24 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.765: +48 -1 lines
Diff to previous 1.765 (colored)

Add a customize mode where keys and options may be browsed and changed,
includes adding a brief description of each option. Bound to "C" by
default.

Revision 1.765 / (download) - annotate - [select for diffs], Sat May 16 15:48:35 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.764: +16 -1 lines
Diff to previous 1.764 (colored)

Allow a custom time format to be given to the t format modifier.

Revision 1.764 / (download) - annotate - [select for diffs], Sat May 16 15:47:22 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.763: +3 -8 lines
Diff to previous 1.763 (colored)

Change message log to be per server rather than per client and include
every command that is run.

Revision 1.763 / (download) - annotate - [select for diffs], Sat May 16 15:46:01 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.762: +5 -1 lines
Diff to previous 1.762 (colored)

Add M-+ and M-- to expand and collapse all items in tree mode.

Revision 1.762 / (download) - annotate - [select for diffs], Sat May 16 15:45:29 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.761: +37 -11 lines
Diff to previous 1.761 (colored)

Change the existing client flags for control mode to apply for any
client, use the same mechanism for the read-only flag and add an
ignore-size flag.

refresh-client -F has become -f (-F stays for backwards compatibility)
and attach-session and switch-client now have -f flags also. A new
format "client_flags" lists the flags and is shown by list-clients by
default.

This separates the read-only flag from "ignore size" behaviour (new
ignore-size) flag - both behaviours are useful in different
circumstances.

attach -r and switchc -r remain and set or toggle both flags together.

Revision 1.761 / (download) - annotate - [select for diffs], Sat May 16 15:41:54 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.760: +2 -2 lines
Diff to previous 1.760 (colored)

Only redraw popup on the client it belongs to.

Revision 1.760 / (download) - annotate - [select for diffs], Sat May 16 15:25:24 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.759: +7 -1 lines
Diff to previous 1.759 (colored)

Add -e for new-session to set environment variables.

Revision 1.759 / (download) - annotate - [select for diffs], Sat May 16 15:24:28 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.758: +6 -1 lines
Diff to previous 1.758 (colored)

Add 'e' key in buffer mode to open the buffer in an editor.

Revision 1.758 / (download) - annotate - [select for diffs], Sat May 16 15:16:36 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.757: +10 -2 lines
Diff to previous 1.757 (colored)

Add -W and -T flags to command-prompt to only complete a window and a
target, also complete aliases.

Revision 1.757 / (download) - annotate - [select for diffs], Sat May 16 15:11:52 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.756: +17 -1 lines
Diff to previous 1.756 (colored)

Copy mode search improvements:

- Add styles for the search marking styles (copy-mode-match-style and
  copy-mode-current-match-style).

- Show the current match (the one with the cursor on it) in a different style.

- Copying without a selection will copy the current match if there is one.

Revision 1.756 / (download) - annotate - [select for diffs], Sat May 16 14:39:40 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.755: +21 -1 lines
Diff to previous 1.755 (colored)

Add feature and capabilities for focus reporting. Also document AX and
XT even though they aren't tmux's, and add some bits for rxvt.

Revision 1.755 / (download) - annotate - [select for diffs], Sat May 16 14:34:44 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.754: +3 -1 lines
Diff to previous 1.754 (colored)

Add a feature for bracketed paste.

Revision 1.754 / (download) - annotate - [select for diffs], Sat May 16 14:30:17 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.753: +3 -2 lines
Diff to previous 1.753 (colored)

Move terminal features into a single file.

Revision 1.753 / (download) - annotate - [select for diffs], Sat May 16 14:22:51 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.752: +3 -1 lines
Diff to previous 1.752 (colored)

Add extension terminfo(5) capabilities for margins.

Revision 1.752 / (download) - annotate - [select for diffs], Sat May 16 14:13:37 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.751: +6 -3 lines
Diff to previous 1.751 (colored)

Add an attribute for ACS.

Revision 1.751 / (download) - annotate - [select for diffs], Sat May 16 14:10:29 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.750: +6 -2 lines
Diff to previous 1.750 (colored)

Tweak the default choose modes formats:

- Only show pane title if it is not default and not empty.
- Add a prettier time format and use that instead of long ctime().
- Remove clutter and change the order.

Revision 1.750 / (download) - annotate - [select for diffs], Thu Apr 23 21:28:09 2020 UTC (4 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.749: +3 -3 lines
Diff to previous 1.749 (colored)

 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;

Revision 1.749 / (download) - annotate - [select for diffs], Wed Apr 22 21:15:33 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.748: +12 -10 lines
Diff to previous 1.748 (colored)

Improve join-pane, move-pane and break-pane:

- There is no need for join-pane and move-pane to be different.
- break-pane can just behave like move-window if the source has only one
  pane, instead of failing.
- Add -a to break-pane like move-window.

Also add missing man page bits for previous window-tree.c changes.

GitHub issue 2176.

Revision 1.748 / (download) - annotate - [select for diffs], Wed Apr 22 20:47:00 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.747: +3 -2 lines
Diff to previous 1.747 (colored)

Add a session_marked format like window_marked.

Revision 1.747 / (download) - annotate - [select for diffs], Wed Apr 22 06:57:13 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.746: +7 -1 lines
Diff to previous 1.746 (colored)

Change so main-pane-width and height can be given as a percentage.

Revision 1.746 / (download) - annotate - [select for diffs], Mon Apr 20 14:59:31 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.745: +2 -2 lines
Diff to previous 1.745 (colored)

Change how sync works to always send the end sequence after all output
is done when we are returning to the event loop (since we always move
the cursor at that point). Also a man fix from jmc.

Revision 1.745 / (download) - annotate - [select for diffs], Mon Apr 20 13:38:48 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.744: +3 -3 lines
Diff to previous 1.744 (colored)

Change the Sync capability to be a string instead of a flag.

Revision 1.744 / (download) - annotate - [select for diffs], Mon Apr 20 13:25:36 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.743: +75 -21 lines
Diff to previous 1.743 (colored)

Tidy up the terminal detection and feature code and add named sets of
terminal features, each of which are defined in one place and map to a
builtin set of terminfo(5) capabilities. Features can be specified based
on TERM with a new terminal-features option or with the -T flag when
running tmux. tmux will also detect a few common terminals from the DA
and DSR responses.

This is intended to make it easier to configure tmux's use of
terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5)
databases or for features which do not yet have a terminfo(5) entry.
Instead of having to grok terminfo(5) capability names and what they
should be set to in the terminal-overrides option, the user can
hopefully just give tmux a feature name and let it do the right thing.

The terminal-overrides option remains both for backwards compatibility
and to allow tweaks of individual capabilities.

tmux already did much of this already, this makes it tidier and simpler
to configure.

Revision 1.743 / (download) - annotate - [select for diffs], Sat Apr 18 07:19:29 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.742: +4 -2 lines
Diff to previous 1.742 (colored)

Add formats for pane written/skipped bytes for debugging.

Revision 1.742 / (download) - annotate - [select for diffs], Fri Apr 17 08:03:22 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.741: +9 -5 lines
Diff to previous 1.741 (colored)

Add a copy-command option and change copy-pipe and friends to pipe to it
if used without arguments, allows all copy key bindings to be changed to
pipe with one option.

Revision 1.741 / (download) - annotate - [select for diffs], Thu Apr 16 13:35:24 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.740: +4 -2 lines
Diff to previous 1.740 (colored)

Add support for the iTerm2 sychronized updates escape sequence which
drastically reduces flickering.

Revision 1.740 / (download) - annotate - [select for diffs], Mon Apr 13 07:25:33 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.739: +11 -20 lines
Diff to previous 1.739 (colored)

Change so that the appropriate hooks for windows and panes belong to
pane/window options rather than all being session options. This is
useful for example to create a pane that is automatically closed on some
condition. From Anindya Mukherjee.

Revision 1.739 / (download) - annotate - [select for diffs], Sun Apr 12 20:16:36 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.738: +7 -2 lines
Diff to previous 1.738 (colored)

Mention RGB, pointed out by Jody Frankowski.

Revision 1.738 / (download) - annotate - [select for diffs], Sun Apr 12 08:36:18 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.737: +29 -11 lines
Diff to previous 1.737 (colored)

Add a -f filter argument to the list commands like choose-tree.

Revision 1.737 / (download) - annotate - [select for diffs], Sun Apr 12 08:13:41 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.736: +5 -1 lines
Diff to previous 1.736 (colored)

Clarify a couple of style options.

Revision 1.736 / (download) - annotate - [select for diffs], Fri Apr 10 20:53:54 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.735: +3 -3 lines
Diff to previous 1.735 (colored)

Remove unused define, also a man fix from jmc.

Revision 1.735 / (download) - annotate - [select for diffs], Fri Apr 10 07:44:26 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.734: +8 -2 lines
Diff to previous 1.734 (colored)

Now that copy mode copies the pane content rather than keeping a
reference to it, it isn't necessary that the pane in copy mode is the
same as the one copying from. Add a -s flag to copy-mode to specify a
different pane for the source content. This means it is possible to view
two places in a pane's history at the same time in different panes, or
copy from a pane's history into an editor or shell in the same pane.

From Anindya Mukherjee.

Revision 1.734 / (download) - annotate - [select for diffs], Thu Apr 9 06:28:55 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.733: +6 -2 lines
Diff to previous 1.733 (colored)

Mention paste at same place as copy, suggested by John Boyle.

Revision 1.733 / (download) - annotate - [select for diffs], Wed Apr 8 11:26:07 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.732: +3 -2 lines
Diff to previous 1.732 (colored)

Restore pane_current_path format from portable tmux, it is no longer
used by default and is very useful.

Revision 1.732 / (download) - annotate - [select for diffs], Mon Apr 6 17:51:34 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.731: +3 -2 lines
Diff to previous 1.731 (colored)

Change copy mode to make copy of the pane history so it does not need to
freeze updates (which does not play nicely with some applications, a
longstanding problem) and will allow some other changes later. From
Anindya Mukherjee.

Revision 1.731 / (download) - annotate - [select for diffs], Sun Apr 5 08:40:31 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.730: +7 -4 lines
Diff to previous 1.730 (colored)

Add an argument to list-commands to show only a single command.

Revision 1.730 / (download) - annotate - [select for diffs], Thu Apr 2 05:35:15 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.729: +3 -3 lines
Diff to previous 1.729 (colored)

Add a W position to display-menu -y to use the line above (or below) the
status line containing the window list. Leave S meaning above (or below)
all status lines. GitHub issue 2145.

Revision 1.729 / (download) - annotate - [select for diffs], Wed Apr 1 07:35:10 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.728: +3 -2 lines
Diff to previous 1.728 (colored)

Performance improvements for regex searching, most notably:

- Use the grid data directly instead of copying it.

- Special case the most typical one byte character cells and use memcmp
  for multiple bytes instead of a handrolled loop.

- Hoist regcomp out of the loop into the calling functions.

GitHub issue 2143.

Also a man page from from jmc@.

Revision 1.728 / (download) - annotate - [select for diffs], Tue Mar 31 17:14:40 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.727: +25 -3 lines
Diff to previous 1.727 (colored)

Add a way to mark environment variables as "hidden" so they can be used
by tmux but are not passed into the environment of new panes.

Revision 1.727 / (download) - annotate - [select for diffs], Tue Mar 31 17:13:20 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.726: +5 -2 lines
Diff to previous 1.726 (colored)

Add a -T flag to resize-pane to trim lines below the cursor, moving
lines out of the history. GitHub issue 2134.

Revision 1.726 / (download) - annotate - [select for diffs], Tue Mar 31 16:53:23 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.725: +24 -2 lines
Diff to previous 1.725 (colored)

Add non-regex search variants to avoid the performance cost for people
with large histories or long lines.

Revision 1.725 / (download) - annotate - [select for diffs], Tue Mar 31 11:58:05 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.724: +3 -2 lines
Diff to previous 1.724 (colored)

Add session_path from Chris Ruegge in GitHub issue 2142.

Revision 1.724 / (download) - annotate - [select for diffs], Tue Mar 31 11:38:35 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.723: +10 -1 lines
Diff to previous 1.723 (colored)

Add a "second click" key type which is fired for the second click of a
double click, even if the timer hasn't expired to confirm it isn't
actually a triple click. Provides a way for people who don't care about
triple clicks or can make their commands have no side effects to avoid
the double click timer delay.

Revision 1.723 / (download) - annotate - [select for diffs], Sat Mar 28 09:51:12 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.722: +7 -2 lines
Diff to previous 1.722 (colored)

Make two -E only close popup automatically if the command exited with 0.

Revision 1.722 / (download) - annotate - [select for diffs], Sat Mar 28 09:39:27 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.721: +3 -3 lines
Diff to previous 1.721 (colored)

Add formats for top paste buffer by default. Also a tmux.1 fix from jmc.

Revision 1.721 / (download) - annotate - [select for diffs], Tue Mar 24 08:09:44 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.720: +92 -3 lines
Diff to previous 1.720 (colored)

Add support for overlay popup boxes to show text or output temporarily
above the normal layout. These work similarly to menus and are created
with the display-popup command.

Revision 1.720 / (download) - annotate - [select for diffs], Fri Mar 20 17:59:39 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.719: +5 -3 lines
Diff to previous 1.719 (colored)

Make the mouse_word and mouse_line formats work in copy mode and enable
the default pane menu in copy mode.

Revision 1.719 / (download) - annotate - [select for diffs], Thu Mar 19 13:32:49 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.718: +2 -1 lines
Diff to previous 1.718 (colored)

Add C position for terminal centre with display-menu -x and -y.

Revision 1.718 / (download) - annotate - [select for diffs], Thu Mar 12 13:48:33 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.717: +2 -2 lines
Diff to previous 1.717 (colored)

Tidy up the default mouse key bindings and:

- Add double and triple click bindings to copy a word or line outside
  copy mode. The text is selected for a short period to show what has
  been copied. This is in line with the existing mouse selection where
  the text is copied and the selection is cleared when the mouse button
  is released.

- Change the existing double and triple click bindings in copy mode to
  behave in the same way.

- Add a button 2 binding to paste the top buffer.

Revision 1.717 / (download) - annotate - [select for diffs], Thu Mar 12 13:25:45 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.716: +9 -4 lines
Diff to previous 1.716 (colored)

Add a -d flag to run-shell to wait for delay before running the command,
also allow run-shell to accept no command to just delay.

Revision 1.716 / (download) - annotate - [select for diffs], Thu Mar 12 13:19:20 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.715: +6 -3 lines
Diff to previous 1.715 (colored)

Add a copy-mode -H flag to hide the position marker in the top right.

Revision 1.715 / (download) - annotate - [select for diffs], Thu Mar 12 09:49:43 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.714: +3 -3 lines
Diff to previous 1.714 (colored)

Add C-g to cancel command prompt with vi(1) keys as well as emacs, and q
in command mode.

Revision 1.714 / (download) - annotate - [select for diffs], Wed Mar 11 14:17:55 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.713: +35 -3 lines
Diff to previous 1.713 (colored)

Add some number operators for formats, from Tyler Culp.

Revision 1.713 / (download) - annotate - [select for diffs], Thu Feb 20 07:34:57 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.712: +3 -2 lines
Diff to previous 1.712 (colored)

Add selection_active format for when the selection is present but not
moving with the cursor, from Mark Kelly.

Revision 1.712 / (download) - annotate - [select for diffs], Sat Feb 15 15:08:08 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.711: +5 -3 lines
Diff to previous 1.711 (colored)

Add -a to list-keys to also list keys without notes with -N, suggested
by Shehu Dikko.

Revision 1.711 / (download) - annotate - [select for diffs], Tue Feb 11 07:01:08 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.710: +2 -3 lines
Diff to previous 1.710 (colored)

Remove unused variables from Ben Boeckel, and a Pp from jmc.

Revision 1.710 / (download) - annotate - [select for diffs], Wed Feb 5 13:06:49 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.709: +22 -20 lines
Diff to previous 1.709 (colored)

Make list-keys description clearer in tmux.1 and remove an unused variable.

Revision 1.709 / (download) - annotate - [select for diffs], Wed Jan 29 08:28:17 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.708: +3 -4 lines
Diff to previous 1.708 (colored)

Remove extra Pp (from jmc) and add a missing word.

Revision 1.708 / (download) - annotate - [select for diffs], Tue Jan 28 10:44:30 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.707: +8 -2 lines
Diff to previous 1.707 (colored)

Reduce a difference with portable tmux by adding the -V flag and
#{version} format; on OpenBSD these just report the OpenBSD version.

Revision 1.707 / (download) - annotate - [select for diffs], Mon Jan 27 09:04:47 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.706: +13 -2 lines
Diff to previous 1.706 (colored)

Expand description of start-server.

Revision 1.706 / (download) - annotate - [select for diffs], Mon Jan 27 08:53:13 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.705: +41 -11 lines
Diff to previous 1.705 (colored)

Add support for adding a note to a key binding (with bind-key -N) and
use this to add descriptions to the default key bindings. A new -N flag
to list-keys shows key bindings with notes rather than the default
bind-key command used to create them. Change the default ? binding to
use this to show a readable summary of keys.

Also extend command-prompt to return the name of the key pressed and add
a default binding (/) to show the note for the next key pressed

Suggested by Alex Tremblay in GitHub issue 2000.

Revision 1.705 / (download) - annotate - [select for diffs], Sat Jan 25 16:40:32 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.704: +6 -5 lines
Diff to previous 1.704 (colored)

Mention swap-window -d, GitHub issue 2068.

Revision 1.704 / (download) - annotate - [select for diffs], Sun Jan 12 21:07:07 2020 UTC (4 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.703: +2 -3 lines
Diff to previous 1.703 (colored)

The terminal type was never as much use as I expected so remove it in
favour of a couple of flags for the features used (DECSLRM and DECFRA).
Also rename the flag for no xenl to be more obvious while here.

Revision 1.703 / (download) - annotate - [select for diffs], Wed Jan 1 22:12:05 2020 UTC (4 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.702: +39 -4 lines
Diff to previous 1.702 (colored)

Document client exit messages.

Revision 1.702 / (download) - annotate - [select for diffs], Thu Dec 26 11:04:58 2019 UTC (4 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.701: +12 -2 lines
Diff to previous 1.701 (colored)

Add a number of new formats to inspect what sessions and clients a
window is present or active in. From Tyler Culp in GitHub issue 2034.

Revision 1.701 / (download) - annotate - [select for diffs], Tue Dec 24 09:57:11 2019 UTC (4 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.700: +2 -2 lines
Diff to previous 1.700 (colored)

Fix name of option, GitHub issue 2030.

Revision 1.700 / (download) - annotate - [select for diffs], Thu Nov 28 09:45:16 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.699: +4 -2 lines
Diff to previous 1.699 (colored)

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

Revision 1.699 / (download) - annotate - [select for diffs], Thu Nov 28 09:05:34 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.698: +5 -3 lines
Diff to previous 1.698 (colored)

Store xpixel/ypixel from TIOCGWINSZ and add formats.

Revision 1.698 / (download) - annotate - [select for diffs], Mon Nov 25 15:04:15 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.697: +8 -2 lines
Diff to previous 1.697 (colored)

Add p format modifier for padding to width.

Revision 1.697 / (download) - annotate - [select for diffs], Mon Nov 18 09:43:31 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.696: +3 -3 lines
Diff to previous 1.696 (colored)

Add -f for full size to join-pane (like split-window), from Theo Buehler.

Revision 1.696 / (download) - annotate - [select for diffs], Fri Nov 15 11:16:53 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.695: +7 -6 lines
Diff to previous 1.695 (colored)

Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).

Revision 1.695 / (download) - annotate - [select for diffs], Thu Nov 14 07:55:01 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.694: +6 -2 lines
Diff to previous 1.694 (colored)

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

Revision 1.694 / (download) - annotate - [select for diffs], Thu Nov 7 07:11:25 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.693: +5 -3 lines
Diff to previous 1.693 (colored)

Add -F flag to send-keys to expand formats in search-backward and
forward copy mode commands, this makes it easier to use the cursor_word
and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.

Revision 1.693 / (download) - annotate - [select for diffs], Wed Oct 23 14:10:13 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.692: +6 -2 lines
Diff to previous 1.692 (colored)

Document Any key, from Jason Felice.

Revision 1.692 / (download) - annotate - [select for diffs], Wed Oct 23 07:42:05 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.691: +4 -2 lines
Diff to previous 1.691 (colored)

Use the existing code in format.c to add foramts for word and line at
cursor position in copy mode, from Anindya Mukherjee.

Revision 1.691 / (download) - annotate - [select for diffs], Sat Oct 19 19:20:14 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.690: +8 -2 lines
Diff to previous 1.690 (colored)

Add formats for cursor and selection position in copy mode, from Jason Felice.

Revision 1.690 / (download) - annotate - [select for diffs], Tue Oct 15 08:25:37 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.689: +19 -17 lines
Diff to previous 1.689 (colored)

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

Revision 1.689 / (download) - annotate - [select for diffs], Thu Sep 19 09:02:30 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.688: +7 -3 lines
Diff to previous 1.688 (colored)

Add a "latest" window-size option which tries to size windows based on
the most recently used client. From Tommie Gannert in GitHub issue 1869
based on earlier changes from me.

Revision 1.688 / (download) - annotate - [select for diffs], Sun Sep 15 21:42:57 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.687: +19 -3 lines
Diff to previous 1.687 (colored)

Add push-default and pop-default in styles to change the default colours
and attributes and use them to restore the previous behaviour of
window-status-style being the default for window-status-format in the
status line. From John Drouhard in GitHub issue 1912.

Revision 1.687 / (download) - annotate - [select for diffs], Wed Sep 11 06:43:17 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.686: +2 -1 lines
Diff to previous 1.686 (colored)

Add window_marked_flag, GitHub issue 1887.

Revision 1.686 / (download) - annotate - [select for diffs], Mon Sep 9 11:47:25 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.685: +2 -2 lines
Diff to previous 1.685 (colored)

Clarify server options slightly.

Revision 1.685 / (download) - annotate - [select for diffs], Mon Sep 9 08:01:21 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.684: +2 -1 lines
Diff to previous 1.684 (colored)

Add cursor-down-and-cancel, from Mark Kelly.

Revision 1.684 / (download) - annotate - [select for diffs], Mon Sep 9 07:57:30 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.683: +8 -8 lines
Diff to previous 1.683 (colored)

Put default keys in alphabetical order, from Barry Rountree.

Revision 1.683 / (download) - annotate - [select for diffs], Mon Sep 9 07:53:19 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.682: +15 -15 lines
Diff to previous 1.682 (colored)

Use a zero width space to prevent mandoc warning about trailing
delimeters in Ql, from orbea at riseup dot net in GitHub issue 1892.

Revision 1.682 / (download) - annotate - [select for diffs], Fri Aug 16 11:49:12 2019 UTC (4 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.681: +20 -11 lines
Diff to previous 1.681 (colored)

Add a flag to reverse sort in the various choose modes, from Benjamin
Poirier in GitHub issue 1875.

Revision 1.681 / (download) - annotate - [select for diffs], Wed Aug 14 09:58:31 2019 UTC (4 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.680: +20 -9 lines
Diff to previous 1.680 (colored)

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

Revision 1.680 / (download) - annotate - [select for diffs], Thu Aug 1 08:42:34 2019 UTC (4 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.679: +6 -4 lines
Diff to previous 1.679 (colored)

Add -N to capture-pane to preserve trailing spaces, from Leon Winter.

Revision 1.679 / (download) - annotate - [select for diffs], Tue Jul 30 10:10:02 2019 UTC (4 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.678: +50 -38 lines
Diff to previous 1.678 (colored)

Reorder some text in the windows & panes section and add some better
explanation of modes.

Revision 1.678 / (download) - annotate - [select for diffs], Fri Jul 19 07:18:03 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.677: +34 -28 lines
Diff to previous 1.677 (colored)

More man page fixes from lacygoill at lacygoill dot me, GitHub issue
1805.

Revision 1.677 / (download) - annotate - [select for diffs], Wed Jul 10 11:20:10 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.676: +11 -4 lines
Diff to previous 1.676 (colored)

Add -F to refresh-client to specify flags for control clients - one flag
at the moment, no-output which turns off forwarding pane output. From
Thomas Adam. GitHub issue 1834.

Revision 1.676 / (download) - annotate - [select for diffs], Tue Jul 9 14:03:12 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.675: +16 -7 lines
Diff to previous 1.675 (colored)

Add a -H flag to send-keys to send literal keys given as hex numbers
(needed for control clients to send mouse sequences). Also add some
format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in
GitHub issues 1832 and 1833.

Revision 1.675 / (download) - annotate - [select for diffs], Tue Jul 2 20:09:19 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.674: +3 -4 lines
Diff to previous 1.674 (colored)

Command prompt key presses need to avoid the command queue, GitHub issue
1817. Also a tmux.1 fix from jmc.

Revision 1.674 / (download) - annotate - [select for diffs], Mon Jul 1 06:56:00 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.673: +4 -1 lines
Diff to previous 1.673 (colored)

Add a "fill" style attribute to clear the entire format drawing area in
a colour, GitHub issue 1815.

Revision 1.673 / (download) - annotate - [select for diffs], Thu Jun 27 17:29:16 2019 UTC (4 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.672: +3 -3 lines
Diff to previous 1.672 (colored)

minor eol issues;

Revision 1.672 / (download) - annotate - [select for diffs], Thu Jun 27 15:17:41 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.671: +28 -6 lines
Diff to previous 1.671 (colored)

Add support for underscore colours with Setulc capability, mostly from
Kai Moschcau.

Revision 1.671 / (download) - annotate - [select for diffs], Fri Jun 21 07:11:01 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.670: +14 -8 lines
Diff to previous 1.670 (colored)

Man page fixes from lacygoill at lacygoill dot me.

Revision 1.670 / (download) - annotate - [select for diffs], Thu Jun 20 20:31:04 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.669: +6 -4 lines
Diff to previous 1.669 (colored)

Add -r to find-window for regex instead of fnmatch.

Revision 1.669 / (download) - annotate - [select for diffs], Thu Jun 20 13:40:22 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.668: +21 -24 lines
Diff to previous 1.668 (colored)

allow-rename and alternate-screen can be pane options.

Revision 1.668 / (download) - annotate - [select for diffs], Thu Jun 20 11:59:59 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.667: +113 -146 lines
Diff to previous 1.667 (colored)

Add a per-pane option set. Pane options inherit from window options (so
there should be no change to existing behaviour) and are set and shown
with set-option -p and show-options -p.

Change remain-on-exit and window-style/window-active-style to be pane
options (some others will be changed later).

This makes select-pane -P and -g unnecessary so no longer document them
(they still work) and no longer document set-window-option and
show-window-options in favour of set-option -w and show-options -w.

Revision 1.667 / (download) - annotate - [select for diffs], Thu Jun 20 07:10:56 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.666: +6 -3 lines
Diff to previous 1.666 (colored)

Add a -A flag to show-options to show parent options as well.

Revision 1.666 / (download) - annotate - [select for diffs], Fri Jun 14 12:04:11 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.665: +3 -3 lines
Diff to previous 1.665 (colored)

A couple of minor parser changes around conditions: 1) only treat #{
specially after a condition, otherwise as a comment (which is more as
most people expect) 2) allow formats to be quoted after a condition.

Revision 1.665 / (download) - annotate - [select for diffs], Thu Jun 13 21:04:21 2019 UTC (4 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.664: +4 -4 lines
Diff to previous 1.664 (colored)

tweak previous;

Revision 1.664 / (download) - annotate - [select for diffs], Thu Jun 13 19:46:00 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.663: +39 -11 lines
Diff to previous 1.663 (colored)

Add regular expression support for the format search, match and
substitute modifiers.

Revision 1.663 / (download) - annotate - [select for diffs], Wed Jun 5 20:00:53 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.662: +5 -3 lines
Diff to previous 1.662 (colored)

Add a -v flag to source-file to show the commands and line numbers.

Revision 1.662 / (download) - annotate - [select for diffs], Mon Jun 3 18:28:37 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.661: +14 -4 lines
Diff to previous 1.661 (colored)

Add new-session -X and attach-session -x to send SIGHUP to parent when
detaching (like detach-client -P). From Colin Watson in GitHub issue
1773.

Revision 1.661 / (download) - annotate - [select for diffs], Thu May 30 07:42:41 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.660: +3 -3 lines
Diff to previous 1.660 (colored)

I had hoped that non-xenl terminals had died out, at least in fairly
modern OSs, but no - DragonFly BSD's console returns to haunt us. Fix it
at least somewhat. GitHub issue 1763.

Revision 1.660 / (download) - annotate - [select for diffs], Wed May 29 10:08:36 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.659: +6 -2 lines
Diff to previous 1.659 (colored)

Support \ooo escapes, from Avi Halachmi.

Revision 1.659 / (download) - annotate - [select for diffs], Tue May 28 11:46:30 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.658: +5 -4 lines
Diff to previous 1.658 (colored)

Allow source-file to take multiple arguments.

Revision 1.658 / (download) - annotate - [select for diffs], Tue May 28 09:50:54 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.657: +4 -2 lines
Diff to previous 1.657 (colored)

Allow menu items to be disabled by putting a - at the start of their
name, rather than just including #[dim] which still allowed them to be
chosen.

Revision 1.657 / (download) - annotate - [select for diffs], Tue May 28 07:18:42 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.656: +11 -24 lines
Diff to previous 1.656 (colored)

Change display-menu from taking a single string to a set of arguments,
which is much easier to work with. Based on a diff from Avi Halachmi.

Revision 1.656 / (download) - annotate - [select for diffs], Mon May 27 16:22:32 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.655: +6 -4 lines
Diff to previous 1.655 (colored)

Clarify newlines inside {} a little.

Revision 1.655 / (download) - annotate - [select for diffs], Mon May 27 12:16:27 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.654: +39 -8 lines
Diff to previous 1.654 (colored)

Add an additional {} syntax for defining strings in the configuration
file, making it much tidier to define commands that contain other tmux
or shell commands (like if-shell). Also tweak bind-key to expect a
string if it is only given one argument, so {} can be used with it as
well. From Avi Halachmi.

Revision 1.654 / (download) - annotate - [select for diffs], Sun May 26 17:34:45 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.653: +6 -2 lines
Diff to previous 1.653 (colored)

Add formats for word and line under the mouse and use them to add some
items to the pane menu.

Revision 1.653 / (download) - annotate - [select for diffs], Sun May 26 12:02:42 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.652: +11 -4 lines
Diff to previous 1.652 (colored)

Add a way to append or prepend to a format if the length has been limited.

Revision 1.652 / (download) - annotate - [select for diffs], Sat May 25 16:51:10 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.651: +8 -4 lines
Diff to previous 1.651 (colored)

Add <, >, <=, >= for formats, GitHub issue 1747.

Revision 1.651 / (download) - annotate - [select for diffs], Thu May 23 11:13:30 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.650: +218 -54 lines
Diff to previous 1.650 (colored)

Replace the split parser code (cfg.c and cmd-string.c) with a single
parser using yacc(1). This is a major change but is clearer and simpler
and allows some edge cases to be made more consistent, as well as
tidying up how aliases are handled. It will also allow some further
improvements later.

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

The only syntax change I am aware of is that #{} outside quotes or a
comment is now considered a format and not a comment, so #{ is now a
syntax error (notably, if it is at the start of a line).

This also adds two new sections to the man page documenting the syntax
and outlining how parsing and command execution works.

Thanks to everyone who sent me test configs (they still all parse
without errors - but this doesn't mean they still work as intended!).

Thanks to Avi Halachmi for testing and man page improvements, also to
jmc@ for reviewing the man page changes.

Revision 1.650 / (download) - annotate - [select for diffs], Tue May 21 07:01:14 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.649: +3 -3 lines
Diff to previous 1.649 (colored)

Fix a couple of Ta from Alphonse Mariya.

Revision 1.649 / (download) - annotate - [select for diffs], Mon May 13 20:10:23 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.648: +5 -2 lines
Diff to previous 1.648 (colored)

Add support for overline (SGR 53), from Ricardo Banffy.

Revision 1.648 / (download) - annotate - [select for diffs], Mon May 13 08:56:07 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.647: +3 -3 lines
Diff to previous 1.647 (colored)

Fix column width for copy mode commands.

Revision 1.647 / (download) - annotate - [select for diffs], Sat May 11 06:40:01 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.646: +5 -5 lines
Diff to previous 1.646 (colored)

Don't use arguments with It and -enum, pointed out by jmc.

Revision 1.646 / (download) - annotate - [select for diffs], Fri May 10 18:04:06 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.645: +84 -12 lines
Diff to previous 1.645 (colored)

Add support for simple menus usable with mouse or keyboard. New command
display-menu shows a menu (bound to the mouse on status line by default)
and a couple of extra formats for the default menus.

Revision 1.645 / (download) - annotate - [select for diffs], Thu May 9 08:38:13 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.644: +4 -2 lines
Diff to previous 1.644 (colored)

Add formats to show if pane is the marked pane and if any marked pane is set.

Revision 1.644 / (download) - annotate - [select for diffs], Tue May 7 14:01:39 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.643: +97 -23 lines
Diff to previous 1.643 (colored)

Rename the ENVIRONMENT section which was squatting on the standard
manual page section and create a new ENVIRONMENT with the expected
content.  Move some information that was misplaced below the -u
flag into that new section.
Feedback and OK nicm@ jmc@ tb@

Revision 1.643 / (download) - annotate - [select for diffs], Fri May 3 20:44:24 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.642: +27 -5 lines
Diff to previous 1.642 (colored)

Allow panes to be empty (no command), output can be piped to them with
split-window or display-message -I.

Revision 1.642 / (download) - annotate - [select for diffs], Thu May 2 20:12:40 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.641: +83 -28 lines
Diff to previous 1.641 (colored)

Fix up some bits about window-size that seem to have got lost.

Revision 1.641 / (download) - annotate - [select for diffs], Sun Apr 28 20:05:50 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.640: +27 -5 lines
Diff to previous 1.640 (colored)

Support multiple occurances of the same argument. Use this for a new
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. From Steffen
Christgau in GitHub issue 1697.

Revision 1.640 / (download) - annotate - [select for diffs], Fri Apr 26 11:38:51 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.639: +29 -5 lines
Diff to previous 1.639 (colored)

Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).

Revision 1.639 / (download) - annotate - [select for diffs], Thu Apr 25 15:35:07 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.638: +3 -3 lines
Diff to previous 1.638 (colored)

Need to escape ].

Revision 1.638 / (download) - annotate - [select for diffs], Tue Apr 23 09:39:07 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.637: +6 -2 lines
Diff to previous 1.637 (colored)

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

Revision 1.637 / (download) - annotate - [select for diffs], Thu Apr 18 12:22:07 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.636: +18 -1 lines
Diff to previous 1.636 (colored)

Copy the code to infer the option type to show-options and document it.

Revision 1.636 / (download) - annotate - [select for diffs], Wed Apr 17 16:34:35 2019 UTC (5 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.635: +5 -5 lines
Diff to previous 1.635 (colored)

mark up punctuation-as-macro-args properly;

Revision 1.635 / (download) - annotate - [select for diffs], Wed Apr 17 14:39:37 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.634: +10 -2 lines
Diff to previous 1.634 (colored)

Document that switch-client can change all of session,window,pane and
check for % in the target as well as ":.".

Revision 1.634 / (download) - annotate - [select for diffs], Mon Apr 8 17:55:51 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.633: +3 -2 lines
Diff to previous 1.633 (colored)

select-word was missing from the command list, from pawel-slowik.

Revision 1.633 / (download) - annotate - [select for diffs], Tue Apr 2 09:03:39 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.632: +16 -7 lines
Diff to previous 1.632 (colored)

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

Revision 1.632 / (download) - annotate - [select for diffs], Mon Mar 25 18:59:55 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.631: +12 -12 lines
Diff to previous 1.631 (colored)

Add StatusDefault binding for the mouse on any otherwise unassigned
parts of the status line, from Avi Halachmi.

Revision 1.631 / (download) - annotate - [select for diffs], Mon Mar 25 14:29:36 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.630: +2 -2 lines
Diff to previous 1.630 (colored)

Fix columns of cursor_character format in list.

Revision 1.630 / (download) - annotate - [select for diffs], Fri Mar 22 10:45:17 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.629: +4 -4 lines
Diff to previous 1.629 (colored)

Clarify that styles can be space or comma separated, from Stephen Zapatka.

Revision 1.629 / (download) - annotate - [select for diffs], Fri Mar 22 09:33:04 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.628: +54 -13 lines
Diff to previous 1.628 (colored)

I forgot to document resize-window, window-size and default-size;
reminded by okan@.

Revision 1.628 / (download) - annotate - [select for diffs], Tue Mar 19 19:01:50 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.627: +3 -2 lines
Diff to previous 1.627 (colored)

Add a cursor_character format.

Revision 1.627 / (download) - annotate - [select for diffs], Tue Mar 19 13:35:42 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.626: +2 -2 lines
Diff to previous 1.626 (colored)

Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS.

Revision 1.626 / (download) - annotate - [select for diffs], Mon Mar 18 21:01:04 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.625: +10 -5 lines
Diff to previous 1.625 (colored)

Add some bits to the STATUS LINE section about the new option.

Revision 1.625 / (download) - annotate - [select for diffs], Mon Mar 18 20:53:33 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.624: +70 -6 lines
Diff to previous 1.624 (colored)

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

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

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

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

Revision 1.624 / (download) - annotate - [select for diffs], Mon Mar 18 14:10:25 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.623: +7 -6 lines
Diff to previous 1.623 (colored)

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

Revision 1.623 / (download) - annotate - [select for diffs], Sun Mar 17 19:33:12 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.622: +117 -114 lines
Diff to previous 1.622 (colored)

Break description of styles into its own section.

Revision 1.622 / (download) - annotate - [select for diffs], Fri Mar 15 10:04:13 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.621: +6 -2 lines
Diff to previous 1.621 (colored)

Add a -v flag to display-message to show verbose messages as the format
is parsed, this gives the user a way to debug problems with formats
rather than just being confronted with (for example) a blank status
line.

Revision 1.621 / (download) - annotate - [select for diffs], Thu Mar 14 21:41:30 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.620: +3 -1 lines
Diff to previous 1.620 (colored)

Add format flags for start and end window.

Revision 1.620 / (download) - annotate - [select for diffs], Thu Mar 14 21:31:43 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.619: +8 -2 lines
Diff to previous 1.619 (colored)

Add T format modifier like E but also do strftime(3).

Revision 1.619 / (download) - annotate - [select for diffs], Thu Mar 14 06:36:21 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.618: +5 -4 lines
Diff to previous 1.618 (colored)

Missing space in capture-pane usage, from Ben Boeckel.

Also man page fixed from jmc.

Revision 1.618 / (download) - annotate - [select for diffs], Wed Mar 13 15:37:28 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.617: +13 -2 lines
Diff to previous 1.617 (colored)

Add formats to list sessions, windows or panes.

Revision 1.617 / (download) - annotate - [select for diffs], Wed Mar 13 14:19:54 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.616: +8 -2 lines
Diff to previous 1.616 (colored)

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

Revision 1.616 / (download) - annotate - [select for diffs], Wed Feb 6 07:36:06 2019 UTC (5 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.615: +6 -2 lines
Diff to previous 1.615 (colored)

Add -b to display-panes like run-shell, GitHub issue 1559.

Revision 1.615 / (download) - annotate - [select for diffs], Wed Nov 7 07:58:16 2018 UTC (5 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.614: +2 -4 lines
Diff to previous 1.614 (colored)

There is no reason wait-for has to be restricted to outside tmux.

Revision 1.614 / (download) - annotate - [select for diffs], Thu Oct 25 15:13:38 2018 UTC (5 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.613: +9 -4 lines
Diff to previous 1.613 (colored)

Add a "terminal" colour which can be used instead of "default" in style
options for the terminal default colour, bypassing any inheritance from
other options. Prompted by a discussion with abieber@.

Revision 1.613 / (download) - annotate - [select for diffs], Thu Oct 18 13:03:45 2018 UTC (5 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.612: +18 -2 lines
Diff to previous 1.612 (colored)

Document new refresh-client flags.

Revision 1.612 / (download) - annotate - [select for diffs], Thu Oct 18 08:04:14 2018 UTC (5 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.611: +9 -5 lines
Diff to previous 1.611 (colored)

Support OSC 52 ? to read the top buffer inside tmux (when set-clipboard
is changed to on), also add refresh-client -l to ask tmux to use the
same mechanism to get the clipboard from the terminal outside
tmux. GitHub issue 1477.

Revision 1.611 / (download) - annotate - [select for diffs], Thu Oct 18 07:57:57 2018 UTC (5 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.610: +12 -3 lines
Diff to previous 1.610 (colored)

Support for extended underline styles on terminals which offer them,
enabled by adding the Smulx capability with terminal-overrides (add
something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.

Revision 1.610 / (download) - annotate - [select for diffs], Sun Aug 26 09:28:42 2018 UTC (5 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.609: +6 -2 lines
Diff to previous 1.609 (colored)

Add q: format prefix to escape sh(1) special characters. Suggested by
someone ages ago and then more recently in GitHub issue 1449.

Revision 1.609 / (download) - annotate - [select for diffs], Wed Aug 22 20:06:14 2018 UTC (5 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.608: +6 -3 lines
Diff to previous 1.608 (colored)

Add StatusLeft and StatusRight mouse key modifiers for the left and
right parts of the status line.

Revision 1.608 / (download) - annotate - [select for diffs], Mon Aug 20 15:00:42 2018 UTC (5 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.607: +5 -3 lines
Diff to previous 1.607 (colored)

Add -Z to find-window as well.

Revision 1.607 / (download) - annotate - [select for diffs], Mon Jul 23 19:02:49 2018 UTC (5 years, 9 months ago) by kn
Branch: MAIN
Changes since 1.606: +3 -3 lines
Diff to previous 1.606 (colored)

Point to glob in section 7 for the actual list of special characters instead
the C API in section 3.

OK millert jmc nicm, "the right idea" deraadt

Revision 1.606 / (download) - annotate - [select for diffs], Fri Jul 6 07:11:23 2018 UTC (5 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.605: +2 -1 lines
Diff to previous 1.605 (colored)

Add a rectangle_toggle format, from Hirokazu Hata.

Revision 1.605 / (download) - annotate - [select for diffs], Wed Jul 4 13:27:32 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.604: +2 -2 lines
Diff to previous 1.604 (colored)

whitespace needed between macro args and punctuation;

Revision 1.604 / (download) - annotate - [select for diffs], Wed Jul 4 12:30:52 2018 UTC (5 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.603: +12 -4 lines
Diff to previous 1.603 (colored)

Add set-hook -R to run a hook immediately (useful to set multiple hooks
to the same thing).

Revision 1.603 / (download) - annotate - [select for diffs], Wed Jul 4 12:25:26 2018 UTC (5 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.602: +9 -1 lines
Diff to previous 1.602 (colored)

Add pane focus hooks.

Revision 1.602 / (download) - annotate - [select for diffs], Fri Jun 8 09:43:58 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.601: +5 -4 lines
Diff to previous 1.601 (colored)

Tweak previous - check for a NULL client and simplify manual text.

Revision 1.601 / (download) - annotate - [select for diffs], Fri Jun 8 09:41:34 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.600: +4 -3 lines
Diff to previous 1.600 (colored)

Add -x- and -y- to use client size, from Stefan Assmann in GitHub issue 1372.

Revision 1.600 / (download) - annotate - [select for diffs], Sun Jun 3 10:17:30 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.599: +4 -3 lines
Diff to previous 1.599 (colored)

Increment the lines counter when skipping a line to avoid an infinite
loop, and fix a check to avoid a potential out-of-bounds access. Problem
reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue
1352.

Also a man page fix request by jmc@.

Revision 1.599 / (download) - annotate - [select for diffs], Mon May 28 11:45:26 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.598: +17 -2 lines
Diff to previous 1.598 (colored)

Document escaping inside conditionals, from "sadie-parayno" in GitHub
issue 1359.

Revision 1.598 / (download) - annotate - [select for diffs], Tue May 22 08:49:12 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.597: +11 -5 lines
Diff to previous 1.597 (colored)

Allow escaping , and } with # in #{}; GitHub issue 1332.

Revision 1.597 / (download) - annotate - [select for diffs], Wed May 9 16:20:50 2018 UTC (6 years ago) by nicm
Branch: MAIN
Changes since 1.596: +5 -3 lines
Diff to previous 1.596 (colored)

Mention allow-rename with \033k.

Revision 1.596 / (download) - annotate - [select for diffs], Mon Apr 23 13:51:21 2018 UTC (6 years ago) by nicm
Branch: MAIN
Changes since 1.595: +3 -4 lines
Diff to previous 1.595 (colored)

#aabbcc will use RGB if supported so don't say it is closest match.

Revision 1.595 / (download) - annotate - [select for diffs], Wed Apr 18 12:50:11 2018 UTC (6 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.594: +3 -3 lines
Diff to previous 1.594 (colored)

Fix || example.

Revision 1.594 / (download) - annotate - [select for diffs], Tue Apr 10 10:48:44 2018 UTC (6 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.593: +4 -2 lines
Diff to previous 1.593 (colored)

Add x and X to choose-tree (with a confirmation prompt) to kill an
item. Suggested by Matt Zagrabelny.

Revision 1.593 / (download) - annotate - [select for diffs], Wed Feb 28 08:55:44 2018 UTC (6 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.592: +11 -5 lines
Diff to previous 1.592 (colored)

Add -Z flag to choose-tree, choose-client, choose-buffer to
automatically zoom the pane when the mode is entered and unzoom when it
exits, assuming the pane is not already zoomed. Add -Z to the default
key bindings.

Revision 1.592 / (download) - annotate - [select for diffs], Thu Feb 22 10:54:51 2018 UTC (6 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.591: +7 -2 lines
Diff to previous 1.591 (colored)

Add exit-empty option to exit server if no sessions (defaults to on).

Revision 1.591 / (download) - annotate - [select for diffs], Tue Jan 16 09:00:38 2018 UTC (6 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.590: +25 -6 lines
Diff to previous 1.590 (colored)

Add -I to pipe-pane to connect pane stdin as well as stdout, suggested
by Kristof Kovacs in GitHub issue 1186.

Revision 1.590 / (download) - annotate - [select for diffs], Fri Dec 22 10:16:36 2017 UTC (6 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.589: +4 -4 lines
Diff to previous 1.589 (colored)

Remove duplicate WheelUp/WheelDown entries in list, GitHub issue 1184.

Revision 1.589 / (download) - annotate - [select for diffs], Thu Nov 16 11:16:15 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.588: +12 -4 lines
Diff to previous 1.588 (colored)

Add -and-cancel variants for scrolling commands to exit copy mode when
the bottom is reached, from Stephen Hicks.

Revision 1.588 / (download) - annotate - [select for diffs], Wed Nov 15 19:59:27 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.587: +5 -3 lines
Diff to previous 1.587 (colored)

Add a common function for spreading out cells and use it for the two
even layouts and to add a -E flag to select-layout to spread out cells
evenly without changing parent cells.

Revision 1.587 / (download) - annotate - [select for diffs], Thu Nov 2 18:52:05 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.586: +3 -3 lines
Diff to previous 1.586 (colored)

Format for group list of "other sessions" is a bit weird, just list all
the sessions in the group.

Revision 1.586 / (download) - annotate - [select for diffs], Thu Nov 2 18:27:35 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.585: +8 -3 lines
Diff to previous 1.585 (colored)

Only show the first member of session groups in tree mode (-G flag
disables).

Revision 1.585 / (download) - annotate - [select for diffs], Thu Oct 26 08:17:12 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.584: +1 -2 lines
Diff to previous 1.584 (colored)

Fix crash exiting command prompt (from Alex Maese in GitHub issue 1139)
and a man page tweak from jmc.

Revision 1.584 / (download) - annotate - [select for diffs], Wed Oct 25 15:20:10 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.583: +7 -2 lines
Diff to previous 1.583 (colored)

Note that notifications are also hooks.

Revision 1.583 / (download) - annotate - [select for diffs], Wed Oct 25 14:14:52 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.582: +3 -3 lines
Diff to previous 1.582 (colored)

Default allow-rename to off because it is ridiculous that applications
are even able to do this and confusing when they do.

Revision 1.582 / (download) - annotate - [select for diffs], Wed Oct 25 11:26:11 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.581: +5 -3 lines
Diff to previous 1.581 (colored)

Add P key to paste tagged in buffer mode, and trim some code that should
no longer be necessary.

Revision 1.581 / (download) - annotate - [select for diffs], Sun Oct 8 16:45:01 2017 UTC (6 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.580: +3 -3 lines
Diff to previous 1.580 (colored)

Fix description of history_size, from Campbell Barton.

Revision 1.580 / (download) - annotate - [select for diffs], Fri Oct 6 18:02:30 2017 UTC (6 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.579: +22 -7 lines
Diff to previous 1.579 (colored)

Support %else in config files to match %if, from Brad Town in GitHub
issue 1071.

Revision 1.579 / (download) - annotate - [select for diffs], Mon Sep 11 06:53:06 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.578: +11 -5 lines
Diff to previous 1.578 (colored)

Mention that filter is a format.

Revision 1.578 / (download) - annotate - [select for diffs], Mon Sep 4 09:18:51 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.577: +3 -3 lines
Diff to previous 1.577 (colored)

Move to current mouse position not last when clcking in copy mode; fixes
GitHub issue 1055. Also a man page fix from jmc.

Revision 1.577 / (download) - annotate - [select for diffs], Sat Sep 2 17:51:54 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.576: +16 -10 lines
Diff to previous 1.576 (colored)

Add selectp -T to set pane title.

Revision 1.576 / (download) - annotate - [select for diffs], Wed Aug 23 09:39:11 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.575: +14 -3 lines
Diff to previous 1.575 (colored)

Key (v) and flag (-N) to toggle preview in choose modes.

Revision 1.575 / (download) - annotate - [select for diffs], Sat Aug 19 20:40:16 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.574: +3 -3 lines
Diff to previous 1.574 (colored)

Fix example for user-keys.

Revision 1.574 / (download) - annotate - [select for diffs], Thu Aug 17 08:37:38 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.573: +18 -6 lines
Diff to previous 1.573 (colored)

Add monitor-bell window option to match the activity and silence
options, from Brad Town.

Revision 1.573 / (download) - annotate - [select for diffs], Wed Aug 16 12:12:54 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.572: +13 -4 lines
Diff to previous 1.572 (colored)

Add -d flag to display-panes to specify timeout, and make 0 mean no
timeout. From Laurens Post.

Revision 1.572 / (download) - annotate - [select for diffs], Wed Aug 9 11:43:45 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.571: +21 -9 lines
Diff to previous 1.571 (colored)

Add -F to choose-tree, choose-client, choose-buffer to specify the
format of each line, as well as adding a couple of formats needed for
the default display.

Revision 1.571 / (download) - annotate - [select for diffs], Wed Aug 2 11:10:48 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.570: +3 -2 lines
Diff to previous 1.570 (colored)

Add selection_present format so commands in copy mode can use it, GitHub
issue 1028.

Revision 1.570 / (download) - annotate - [select for diffs], Thu Jul 27 10:42:05 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.569: +6 -3 lines
Diff to previous 1.569 (colored)

Add pane_at_left/right/top/bottom formats, from Amos Bird.

Revision 1.569 / (download) - annotate - [select for diffs], Wed Jul 26 16:14:08 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.568: +44 -24 lines
Diff to previous 1.568 (colored)

Make bell, activity and silence alerting more consistent:

- remove the bell-on-alert option;

- add activity-action and silence-action options with the same possible
  values as the existing bell-action;

- add "both" value for the visual-bell, visual-activity and
  visual-silence options to trigger both a bell and a message.

This means all three work the same way. Based on changes from Yvain Thonnart.

Revision 1.568 / (download) - annotate - [select for diffs], Fri Jul 21 09:17:19 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.567: +8 -2 lines
Diff to previous 1.567 (colored)

Add -c for respawn-pane and respawn-window, from J Raynor.

Revision 1.567 / (download) - annotate - [select for diffs], Fri Jul 7 14:39:45 2017 UTC (6 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.566: +3 -2 lines
Diff to previous 1.566 (colored)

Add a pane_pipe format to show if pipe-pane is active, GitHub issue 990.

Revision 1.566 / (download) - annotate - [select for diffs], Tue Jul 4 22:21:31 2017 UTC (6 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.565: +4 -2 lines
Diff to previous 1.565 (colored)

< and > keys to scroll preview list left and right in tree mode.

Revision 1.565 / (download) - annotate - [select for diffs], Thu Jun 29 22:02:19 2017 UTC (6 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.564: +3 -3 lines
Diff to previous 1.564 (colored)

Use 100 as the example for command-alias because the defaults are from 0
to (currently) 5.

Revision 1.564 / (download) - annotate - [select for diffs], Wed Jun 28 06:45:31 2017 UTC (6 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.563: +4 -4 lines
Diff to previous 1.563 (colored)

Fix visual-silence (check accidentally the wrong way round), from Brad
Town. Plus some tmux.1 fixes from jmc@.

Revision 1.563 / (download) - annotate - [select for diffs], Fri Jun 23 15:36:52 2017 UTC (6 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.562: +13 -1 lines
Diff to previous 1.562 (colored)

Add user-keys option to allow user-defined keys to be set, from Dan
Aloni.

Revision 1.562 / (download) - annotate - [select for diffs], Fri Jun 9 16:01:39 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.561: +12 -1 lines
Diff to previous 1.561 (colored)

Extend filters (f key) to buffer and client mode and add -f flag to
specify to command.

Revision 1.561 / (download) - annotate - [select for diffs], Fri Jun 9 15:29:15 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.560: +24 -2 lines
Diff to previous 1.560 (colored)

Add -O option to choose-* to set initial sort order.

Revision 1.560 / (download) - annotate - [select for diffs], Fri Jun 9 09:21:24 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.559: +12 -6 lines
Diff to previous 1.559 (colored)

Add a hook when the clipboard is set.

Revision 1.559 / (download) - annotate - [select for diffs], Wed Jun 7 14:37:30 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.558: +7 -1 lines
Diff to previous 1.558 (colored)

Add simple searching (C-s and n) to the various choose modes: by name
for client and tree, and by name and content for buffer.

Revision 1.558 / (download) - annotate - [select for diffs], Sun Jun 4 08:25:57 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.557: +18 -3 lines
Diff to previous 1.557 (colored)

Support SIGUSR2 to stop and start logging for an existing server. Also
we currently only have two log levels so just use -v and -vv rather than
-v and -vvvv, and clarify the man page entry for -v.

Revision 1.557 / (download) - annotate - [select for diffs], Sun Jun 4 08:02:20 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.556: +4 -4 lines
Diff to previous 1.556 (colored)

Typo/style; plus man page escaping from jmc.

Revision 1.556 / (download) - annotate - [select for diffs], Sat Jun 3 17:43:01 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.555: +23 -6 lines
Diff to previous 1.555 (colored)

Make set-clipboard a three-state option so tmux itself can ignore the
sequencess.

Revision 1.555 / (download) - annotate - [select for diffs], Tue May 30 21:44:59 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.554: +71 -128 lines
Diff to previous 1.554 (colored)

Rewrite of choose mode, both to simplify and tidy the code and to add
some modern features.

Now the common code is in mode-tree.c, which provides an API used by the
three modes now separated into window-{buffer,client,tree}.c. Buffer
mode shows buffers, client mode clients and tree mode a tree of
sessions, windows and panes.

Each mode has a common set of key bindings plus a few that are specific
to the mode. Other changes are:

- each mode has a preview pane: for buffers this is the buffer content
  (very useful), for others it is a preview of the pane;

- items may be sorted in different ways ('O' key);

- multiple items may be tagged and an operation applied to all of them
  (for example, to delete multiple buffers at once);

- in tree mode a command may be run on the selected item (session,
  window, pane) or on tagged items (key ':');

- displayed items may be filtered in tree mode by using a format (this
  is used to implement find-window) (key 'f');

- the custom format (-F) for the display is no longer available;

- shortcut keys change from 0-9, a-z, A-Z which was always a bit weird
  with keys used for other uses to 0-9, M-a to M-z.

Now that the code is simpler, other improvements will come later.

Primary key bindings for each mode are documented under the commands in
the man page (choose-buffer, choose-client, choose-tree).

Parts written by Thomas Adam.

Revision 1.554 / (download) - annotate - [select for diffs], Mon May 29 18:06:34 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.553: +18 -6 lines
Diff to previous 1.553 (colored)

Add ||, && format operators and C: to search pane content.

Revision 1.553 / (download) - annotate - [select for diffs], Mon May 29 15:43:48 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.552: +9 -2 lines
Diff to previous 1.552 (colored)

Add m: for fnmatch(3) format matching.

Revision 1.552 / (download) - annotate - [select for diffs], Mon May 29 07:46:32 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.551: +6 -6 lines
Diff to previous 1.551 (colored)

Tweak text to mention initial size, from John Hood.

Revision 1.551 / (download) - annotate - [select for diffs], Mon May 15 07:54:44 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.550: +2 -2 lines
Diff to previous 1.550 (colored)

The Konsole SU bug means it can't clear the entire scroll region (it
ignores if >= size, not if > as I first thought). So we can't
effectively fix it in code - remove the workarounds which just cause
bugs on other terminals.

Revision 1.550 / (download) - annotate - [select for diffs], Wed May 10 13:05:41 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.549: +7 -4 lines
Diff to previous 1.549 (colored)

Expand formats in option names and add -F flag to do so in option values as well.

Revision 1.549 / (download) - annotate - [select for diffs], Sun May 7 22:27:57 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.548: +3 -2 lines
Diff to previous 1.548 (colored)

Add a format for the name of the pane's mode, lets it be used as a
conditional for key bindings.

Revision 1.548 / (download) - annotate - [select for diffs], Fri May 5 11:59:47 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.547: +4 -2 lines
Diff to previous 1.547 (colored)

Add some formats to look at the session window stack, suggested by Scott
ROCHFORD.

Revision 1.547 / (download) - annotate - [select for diffs], Thu May 4 07:16:43 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.546: +21 -2 lines
Diff to previous 1.546 (colored)

Some new notifications, mainly for active pane and current window and
session:

    pane-mode-changed
    window-pane-changed
    client-session-changed
    session-window-changed

From Joshua Brot.

Revision 1.546 / (download) - annotate - [select for diffs], Wed May 3 05:53:34 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.545: +3 -2 lines
Diff to previous 1.545 (colored)

Add a format for the last search string in copy mode and fix the prompt
so it can work when in -I, suggested by Suraj N Kurapati.

Revision 1.545 / (download) - annotate - [select for diffs], Fri Apr 28 13:39:59 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.544: +2 -3 lines
Diff to previous 1.544 (colored)

Default for xterm-keys was wrong, stop documenting it.

Revision 1.544 / (download) - annotate - [select for diffs], Sat Apr 22 06:15:22 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.543: +3 -3 lines
Diff to previous 1.543 (colored)

Typo in example.

Revision 1.543 / (download) - annotate - [select for diffs], Thu Apr 20 09:20:22 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.542: +4 -2 lines
Diff to previous 1.542 (colored)

If a #() command doesn't exit, use its most recent line of output (it
must be a full line). Don't let it redraw the status line more than once
a second.

Requested by someone about 10 years ago...

Revision 1.542 / (download) - annotate - [select for diffs], Wed Apr 19 06:52:27 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.541: +3 -2 lines
Diff to previous 1.541 (colored)

When the data we have buffered to write to a terminal grows beyond a
reasonable amount (currently width * height * 8 bytes), discard all
output to the terminal and start trying to redraw periodically
instead. Continue with this until the amount of data we are trying to
write falls to a low level again.

This helps to prevent tmux sitting on a huge buffer of data when there
are processes with fast output running inside tmux but the outside
terminal is slow.

A new client_discarded format holds the amount of data that has been
discarded due to this mechanism.

The three variables (when to start this, when to stop, and how often to
redraw) are basically "works for me" at the moment, this is going in to
see how it goes and if it causes problems for anyone else.

Revision 1.541 / (download) - annotate - [select for diffs], Tue Apr 18 15:44:17 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.540: +3 -2 lines
Diff to previous 1.540 (colored)

Add a format for number of bytes writtent to client, useful for debugging.

Revision 1.540 / (download) - annotate - [select for diffs], Wed Apr 5 10:49:46 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.539: +5 -3 lines
Diff to previous 1.539 (colored)

Give each client a name. This defaults to the tty name as before but
falls back to an alternative if the tty name is not available. This is
clearer than overloading the client ttyname member and allows us to
remove the path stored in the tty struct, it should always be the same
as the client.

Revision 1.539 / (download) - annotate - [select for diffs], Wed Mar 22 07:16:54 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.538: +4 -3 lines
Diff to previous 1.538 (colored)

Add support for the strikethrough attribute (SGR 9), using the new smxx
terminfo capability. This means there are now nine attribute bits, so
anything above 0xff uses an extended cell.

Revision 1.538 / (download) - annotate - [select for diffs], Wed Feb 15 08:47:55 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.537: +8 -8 lines
Diff to previous 1.537 (colored)

"status bar" -> "status line" for consistency, from Benjamin Dopplinger.

Revision 1.537 / (download) - annotate - [select for diffs], Fri Feb 10 12:59:18 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.536: +2 -2 lines
Diff to previous 1.536 (colored)

Don't use a bufferevent for the tty, so we can keep better track of what
is being written and when.

Also a manpage typo fix from jmc@.

Revision 1.536 / (download) - annotate - [select for diffs], Thu Feb 9 15:04:53 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.535: +23 -12 lines
Diff to previous 1.535 (colored)

Instead of numbering session groups, give them a name which may be given
to -t instead of a target session. Also allow them to contain only one
session.

Revision 1.535 / (download) - annotate - [select for diffs], Thu Feb 9 14:49:00 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.534: +11 -2 lines
Diff to previous 1.534 (colored)

Document refresh-client -C.

Revision 1.534 / (download) - annotate - [select for diffs], Thu Feb 9 12:00:42 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.533: +3 -3 lines
Diff to previous 1.533 (colored)

Don't lie about the default size in the man page.

Revision 1.533 / (download) - annotate - [select for diffs], Wed Feb 1 09:55:07 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.532: +3 -2 lines
Diff to previous 1.532 (colored)

Implement "all event" (1003) mouse mode but in a way that works. The
main issue is that if we have two panes, A with 1002 and B with 1003, we
need to set 1003 outside tmux in order to get all the mouse events, but
then we need to suppress the ones that pane A doesn't want. This is easy
in SGR mouse mode, because buttons == 3 is only used for movement events
(for other events the trailing m/M marks a release instead), but in
normal mouse mode we can't tell so easily. So for that, look at the
previous event instead - if it is drag+release as well, then the current
event is a movement event.

Revision 1.532 / (download) - annotate - [select for diffs], Sun Jan 29 22:10:55 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.531: +3 -2 lines
Diff to previous 1.531 (colored)

Add -n to break-pane.

Revision 1.531 / (download) - annotate - [select for diffs], Wed Jan 25 14:24:54 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.530: +2 -2 lines
Diff to previous 1.530 (colored)

If xterm-keys is on, use xterm(1) style keys for Home and End as well as
modified keys.

Revision 1.530 / (download) - annotate - [select for diffs], Tue Jan 24 21:50:22 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.529: +3 -31 lines
Diff to previous 1.529 (colored)

Fixed keys for choose mode, and remove the last mode keys bits.

Revision 1.529 / (download) - annotate - [select for diffs], Tue Jan 24 20:15:32 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.528: +4 -8 lines
Diff to previous 1.528 (colored)

Make update-environment an array as well.

Revision 1.528 / (download) - annotate - [select for diffs], Tue Jan 24 20:05:15 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.527: +11 -17 lines
Diff to previous 1.527 (colored)

Convert terminal-overrides to an array option.

Revision 1.527 / (download) - annotate - [select for diffs], Tue Jan 24 20:01:34 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.526: +2 -8 lines
Diff to previous 1.526 (colored)

Remove some lies about terminal-overrides from tmux.1.

Revision 1.526 / (download) - annotate - [select for diffs], Tue Jan 24 19:53:37 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.525: +26 -2 lines
Diff to previous 1.525 (colored)

Add support for custom command aliases, this is an array option which
contains items of the form "alias=command". This is consulted when an
unknown command is parsed.

Revision 1.525 / (download) - annotate - [select for diffs], Fri Jan 13 10:12:12 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.524: +8 -2 lines
Diff to previous 1.524 (colored)

Add -E to detach-client to exec a command to replace the client instead
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.

Revision 1.524 / (download) - annotate - [select for diffs], Wed Jan 11 16:09:57 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.523: +2 -1 lines
Diff to previous 1.523 (colored)

Add a format for terminal type.

Revision 1.523 / (download) - annotate - [select for diffs], Tue Jan 10 10:08:59 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.522: +17 -13 lines
Diff to previous 1.522 (colored)

Some manpage fixes: rephrase a convoluted sentence, make the names of
some keys more standard, and use Ql instead of Dq.

Revision 1.522 / (download) - annotate - [select for diffs], Tue Jan 10 07:55:48 2017 UTC (7 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.521: +2 -3 lines
Diff to previous 1.521 (colored)

avoid unneccessary markup; tweaked and ok nicm

Revision 1.521 / (download) - annotate - [select for diffs], Mon Jan 9 21:28:56 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.520: +25 -1 lines
Diff to previous 1.520 (colored)

Add %if/%endif for conditionals when parsing configuration files, the
argument is a format (the new == and != are useful).

Revision 1.520 / (download) - annotate - [select for diffs], Mon Jan 9 21:03:25 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.519: +17 -2 lines
Diff to previous 1.519 (colored)

Add simple comparisons in formats: #{==:a,b} and #{!=:a,b} ("a" and "b"
are expanded so can compare formats). And expand the condition to
#{?a,b,c} (the "a" part) if it doesn't work as a simple lookup.

Also add FORMAT_NOJOBS flag to disable jobs in a format.

Revision 1.519 / (download) - annotate - [select for diffs], Mon Jan 9 19:27:00 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.518: +6 -3 lines
Diff to previous 1.518 (colored)

Run the source-file pattern through glob(3).

Revision 1.518 / (download) - annotate - [select for diffs], Sat Jan 7 15:40:23 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.517: +12 -2 lines
Diff to previous 1.517 (colored)

Add note about ccc and initc so people who want it can see it is
possible.

Revision 1.517 / (download) - annotate - [select for diffs], Fri Jan 6 11:57:03 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.516: +11 -6 lines
Diff to previous 1.516 (colored)

Incremental search in copy mode (on for emacs keys by default) - much
the same as normal searching but updates the cursor position and marked
search terms as you type. C-r and C-s in the prompt repeat the search,
once finished searching (with Enter), N and n work as before.

Revision 1.516 / (download) - annotate - [select for diffs], Tue Nov 29 12:54:46 2016 UTC (7 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.515: +3 -3 lines
Diff to previous 1.515 (colored)

Make send -N work for all keys, not just in copy mode. From Artem Fokin.

Revision 1.515 / (download) - annotate - [select for diffs], Thu Nov 24 13:38:44 2016 UTC (7 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.514: +3 -2 lines
Diff to previous 1.514 (colored)

Make the selection able to exist independent of the cursor position, so
that it is not affected by scrolling. If MouseDragEnd1Pane is bound to
the new "stop-selection" command:

    bind -Tcopy-mode MouseDragEnd1Pane stop-selection

A selection made with the mouse will stay as it is after button 1 is
released. (It also works bound to a key.)

From Artem Fokin.

Revision 1.514 / (download) - annotate - [select for diffs], Tue Nov 15 09:53:23 2016 UTC (7 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.513: +3 -2 lines
Diff to previous 1.513 (colored)

Add copy-pipe-and-cancel, from Artem Fokin.

Revision 1.513 / (download) - annotate - [select for diffs], Fri Oct 21 13:51:59 2016 UTC (7 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.512: +7 -3 lines
Diff to previous 1.512 (colored)

Add %%% to substitute with quotes escaped (convert " to \"). Use this
for the prompts in copy mode. Fixes problems with jumping to ' reported
by Theo Buehler.

Revision 1.512 / (download) - annotate - [select for diffs], Tue Oct 18 19:25:26 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.511: +6 -6 lines
Diff to previous 1.511 (colored)

xterm-keys was in the wrong place in the list; Dilyan Palauzov.

Revision 1.511 / (download) - annotate - [select for diffs], Sun Oct 16 22:06:40 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.510: +8 -1 lines
Diff to previous 1.510 (colored)

Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.

Revision 1.510 / (download) - annotate - [select for diffs], Sun Oct 16 19:55:52 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.509: +10 -2 lines
Diff to previous 1.509 (colored)

Add hook_session and hook_window formats to get information on the
affected session or window when a hook fires. Enable session-created and
session-closed hooks now that that is available.

Revision 1.509 / (download) - annotate - [select for diffs], Sun Oct 16 17:55:14 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.508: +3 -3 lines
Diff to previous 1.508 (colored)

Rewrite command queue handling. Each client still has a command queue,
but there is also now a global command queue. Instead of command queues
being dispatched on demand from wherever the command happens to be
added, they are now all dispatched from the top level server
loop. Command queues may now also include callbacks as well as commands,
and items may be inserted after the current command as well as at the end.

This all makes command queues significantly more predictable and easier
to use, and avoids the complex multiple nested command queues used by
source-file, if-shell and friends.

A mass rename of struct cmdq to a better name (cmdq_item probably) is
coming.

Revision 1.508 / (download) - annotate - [select for diffs], Sat Oct 15 12:34:02 2016 UTC (7 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.507: +2 -3 lines
Diff to previous 1.507 (colored)

zap double .Pp;

Revision 1.507 / (download) - annotate - [select for diffs], Sat Oct 15 00:09:30 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.506: +6 -2 lines
Diff to previous 1.506 (colored)

Fire hooks on the simple notifys (window-renamed and session-renamed),
the complicated ones get no hooks for now (more to come).

Revision 1.506 / (download) - annotate - [select for diffs], Fri Oct 14 17:40:47 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.505: +10 -13 lines
Diff to previous 1.505 (colored)

Missing flags in capture-pane, and tweak choose-tree text. From Dilyan Palauzov.

Revision 1.505 / (download) - annotate - [select for diffs], Thu Oct 13 22:48:51 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.504: +6 -15 lines
Diff to previous 1.504 (colored)

Trying to do hooks generically is way too complicated and unreliable and
confusing, particularly trying to automatically figure out what target
hooks should be using. So simplify it:

- drop before hooks entirely, they don't seem to be very useful;

- commands with special requirements now fire their own after hook (for
  example, if they change session or window, or if they have -t and -s
  and need to choose which one the hook uses as current target);

- commands with no special requirements can have the CMD_AFTERHOOK flag
  added and they will use the -t state.

At the moment new-session, new-window, split-window fire their own hook,
and display-message uses the flag. The remaining commands still need to
be looked at.

Revision 1.504 / (download) - annotate - [select for diffs], Thu Oct 13 21:37:03 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.503: +1 -14 lines
Diff to previous 1.503 (colored)

Remove the set-remain-on-exit option, it was always a hack and can now
be done with hooks instead.

Revision 1.503 / (download) - annotate - [select for diffs], Thu Oct 13 20:09:19 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.502: +4 -8 lines
Diff to previous 1.502 (colored)

Remove mention of key tables than no longer exist.

Revision 1.502 / (download) - annotate - [select for diffs], Thu Oct 13 09:06:48 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.501: +2 -2 lines
Diff to previous 1.501 (colored)

-f missed from splitw usage, from Felix Rosencrantz.

Revision 1.501 / (download) - annotate - [select for diffs], Wed Oct 12 15:26:37 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.500: +5 -9 lines
Diff to previous 1.500 (colored)

bind-key -c has gone, remove from man page, and unused table declarations.

Revision 1.500 / (download) - annotate - [select for diffs], Wed Oct 12 14:50:14 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.499: +28 -19 lines
Diff to previous 1.499 (colored)

Drop the edit mode key tables and just use fixed key bindings for the
command prompt.

Revision 1.499 / (download) - annotate - [select for diffs], Wed Oct 12 13:03:27 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.498: +4 -2 lines
Diff to previous 1.498 (colored)

The repeat prompt in both emacs and vi (and the old one in tmux) doesn't
support line editing and instead executes a command as soon as a
non-number key is pressed. Add a -N flag to command-prompt for the same
in copy mode. Reported by Theo Buehler.

Revision 1.498 / (download) - annotate - [select for diffs], Tue Oct 11 09:30:36 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.497: +5 -3 lines
Diff to previous 1.497 (colored)

Support double and triple clicks (they are cumulative, so double is
fired then triple), and use for select-word and select-line in copy
mode. Inspired by a different solution from Omar Sandoval.

Revision 1.497 / (download) - annotate - [select for diffs], Tue Oct 11 07:23:34 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.496: +88 -116 lines
Diff to previous 1.496 (colored)

Fundamental change to how copy mode key bindings work:

The vi-copy and emacs-copy mode key tables are gone, and instead copy
mode commands are bound in one of two normal key tables ("copy-mode" or
"copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So:

    bind -temacs-copy C-Up scroll-up
    bind -temacs-copy -R5 WheelUpPane scroll-up

Becomes:

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

This allows the full command parser and command set to be used - for
example, we can use the normal command prompt for searching, jumping,
and so on instead of a custom one:

    bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"

command-prompt also gets a -1 option to only require on key press, which
is needed for jumping.

The plan is to get rid of mode keys entirely, so more to come eventually.

Revision 1.496 / (download) - annotate - [select for diffs], Mon Oct 3 20:58:39 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.495: +6 -4 lines
Diff to previous 1.495 (colored)

Document set-hook -u.

Revision 1.495 / (download) - annotate - [select for diffs], Mon Sep 12 15:40:58 2016 UTC (7 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.494: +11 -2 lines
Diff to previous 1.494 (colored)

Allow repeat count to be specified in mode key tables with bind-key -R,
and set the default repeat count to 5 for WheelUp and WheelDown in
copy-mode.

Revision 1.494 / (download) - annotate - [select for diffs], Sun Sep 4 17:37:06 2016 UTC (7 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.493: +9 -2 lines
Diff to previous 1.493 (colored)

Add support for performing a full width split (with splitw -f), rather
than splitting the current cell. From Stephen Kent.

Revision 1.493 / (download) - annotate - [select for diffs], Mon Aug 22 20:07:58 2016 UTC (7 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.492: +4 -4 lines
Diff to previous 1.492 (colored)

Two minor fixes from dilyan palauzov.

Revision 1.492 / (download) - annotate - [select for diffs], Wed Aug 3 09:08:40 2016 UTC (7 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.491: +3 -5 lines
Diff to previous 1.491 (colored)

We only replace the first %%, not multiple (use %2 for second).

Revision 1.491 / (download) - annotate - [select for diffs], Thu Jun 16 10:55:47 2016 UTC (7 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.490: +15 -4 lines
Diff to previous 1.490 (colored)

Allow a command to be specified to display-panes, similar to
command-prompt, rather than always just selecting the pane.

Revision 1.490 / (download) - annotate - [select for diffs], Wed Jun 15 14:43:06 2016 UTC (7 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.489: +3 -2 lines
Diff to previous 1.489 (colored)

Add missing buffer_name format, from Awal Garg.

Revision 1.489 / (download) - annotate - [select for diffs], Wed Jun 15 08:54:11 2016 UTC (7 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.488: +8 -3 lines
Diff to previous 1.488 (colored)

Add -F to list-commands.

Revision 1.488 / (download) - annotate - [select for diffs], Thu May 12 16:05:33 2016 UTC (8 years ago) by tim
Branch: MAIN
Changes since 1.487: +11 -3 lines
Diff to previous 1.487 (colored)

- Rework load_cfg() error handling a little.
- Add -q to source-file to suppress errors about nonexistent files.

Input and OK nicm@

Revision 1.487 / (download) - annotate - [select for diffs], Sun May 1 11:46:12 2016 UTC (8 years ago) by nicm
Branch: MAIN
Changes since 1.486: +3 -2 lines
Diff to previous 1.486 (colored)

Missing format (window_activity_flag) and a missing Ta.

Revision 1.486 / (download) - annotate - [select for diffs], Fri Apr 29 20:57:10 2016 UTC (8 years ago) by jmc
Branch: MAIN
Changes since 1.485: +2 -3 lines
Diff to previous 1.485 (colored)

tweak previous;

Revision 1.485 / (download) - annotate - [select for diffs], Fri Apr 29 15:58:52 2016 UTC (8 years ago) by nicm
Branch: MAIN
Changes since 1.484: +9 -10 lines
Diff to previous 1.484 (colored)

Compact a small table into text.

Revision 1.484 / (download) - annotate - [select for diffs], Fri Apr 29 15:00:48 2016 UTC (8 years ago) by nicm
Branch: MAIN
Changes since 1.483: +10 -2 lines
Diff to previous 1.483 (colored)

Add option to include status text in the pane borders. If
pane-border-status is set to "top" or "bottom" (rather than "off"),
every pane has a permanent top or bottom border containing the text from
pane-border-format.

Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and
simplified by me.

Revision 1.483 / (download) - annotate - [select for diffs], Fri Apr 29 14:05:24 2016 UTC (8 years ago) by nicm
Branch: MAIN
Changes since 1.482: +32 -5 lines
Diff to previous 1.482 (colored)

Final parts of command hooks, add before- and after- hooks to each command.

Revision 1.482 / (download) - annotate - [select for diffs], Wed Apr 27 09:39:09 2016 UTC (8 years ago) by nicm
Branch: MAIN
Changes since 1.481: +4 -2 lines
Diff to previous 1.481 (colored)

Add next/previous paragraph, from J Raynor.

Revision 1.481 / (download) - annotate - [select for diffs], Fri Mar 18 07:28:27 2016 UTC (8 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.480: +6 -6 lines
Diff to previous 1.480 (colored)

Instead of reusing MouseUp at the finish of a drag, add a new key
MouseDragEnd. It can be useful to bind them separately in copy mode.

Revision 1.480 / (download) - annotate - [select for diffs], Tue Mar 1 11:58:45 2016 UTC (8 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.479: +8 -9 lines
Diff to previous 1.479 (colored)

Fix break-pane synopsis and some other tmux.1 bits.

Revision 1.479 / (download) - annotate - [select for diffs], Sun Jan 31 09:54:46 2016 UTC (8 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.478: +9 -5 lines
Diff to previous 1.478 (colored)

Support negative trim values (#{=-10:pane_title}) to trim from the end,
suggested by Kevin Brubeck Unhammer.

Revision 1.478 / (download) - annotate - [select for diffs], Fri Jan 29 11:13:56 2016 UTC (8 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.477: +9 -7 lines
Diff to previous 1.477 (colored)

Support for RGB colour, using the extended cell mechanism to avoid
wasting unnecessary space. The 'Tc' flag must be set in the external
TERM entry (using terminal-overrides or a custom terminfo entry), if not
tmux will map to the closest of the 256 or 16 colour palettes.

Mostly from Suraj N Kurapati, based on a diff originally by someone else.

Revision 1.477 / (download) - annotate - [select for diffs], Tue Jan 19 15:59:12 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.476: +4 -4 lines
Diff to previous 1.476 (colored)

I no longer use my SourceForge address so replace it.

Revision 1.476 / (download) - annotate - [select for diffs], Sat Jan 16 00:36:53 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.475: +12 -2 lines
Diff to previous 1.475 (colored)

Add hooks for alerts (bell, silence, activity), from Thomas Adam.

Revision 1.475 / (download) - annotate - [select for diffs], Wed Dec 16 21:50:37 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.474: +7 -1 lines
Diff to previous 1.474 (colored)

Add infrastructure to work out the best target given a pane or window
alone and use it to add pane_died and pane_exited hooks.

Revision 1.474 / (download) - annotate - [select for diffs], Sat Dec 12 18:32:24 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.473: +7 -2 lines
Diff to previous 1.473 (colored)

Add key-table option to set the default key table for a session, allows
different key bindings for different sessions and a few other things.

Revision 1.473 / (download) - annotate - [select for diffs], Sat Dec 12 18:19:00 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.472: +12 -1 lines
Diff to previous 1.472 (colored)

Allow prefix and prefix2 to be set to None to disable (useful if you
would rather bind the prefix in the root table).

Revision 1.472 / (download) - annotate - [select for diffs], Fri Dec 11 16:27:01 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.471: +11 -4 lines
Diff to previous 1.471 (colored)

Mention {src,dst}-{window,pane} where we define target-{window,pane}.

Revision 1.471 / (download) - annotate - [select for diffs], Fri Dec 11 12:27:36 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.470: +2 -1 lines
Diff to previous 1.470 (colored)

Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).

Revision 1.470 / (download) - annotate - [select for diffs], Tue Dec 8 06:42:07 2015 UTC (8 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.469: +3 -3 lines
Diff to previous 1.469 (colored)

Ed was meant to be El;

Revision 1.469 / (download) - annotate - [select for diffs], Tue Dec 8 01:10:31 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.468: +48 -2 lines
Diff to previous 1.468 (colored)

Add hooks infrastructure, basic commands (set-hook, show-hooks) and a
couple of not very useful client hooks. This will eventually let
commands be run at various points and on notifications. Joint work with
Thomas Adam.

Revision 1.468 / (download) - annotate - [select for diffs], Sun Nov 29 17:06:59 2015 UTC (8 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.467: +1 -2 lines
Diff to previous 1.467 (colored)

Delete a duplicated line

ok jmc@

Revision 1.467 / (download) - annotate - [select for diffs], Tue Nov 24 23:46:15 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.466: +2 -2 lines
Diff to previous 1.466 (colored)

Make environ_set va_args and use it to tidy up some calls. Also add a
missing word in manpage (from jmc).

Revision 1.466 / (download) - annotate - [select for diffs], Tue Nov 24 22:27:59 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.465: +2 -1 lines
Diff to previous 1.465 (colored)

Document socket_path format.

Revision 1.465 / (download) - annotate - [select for diffs], Tue Nov 24 21:52:06 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.464: +4 -4 lines
Diff to previous 1.464 (colored)

Remove the -I part of show-messages which isn't really that useful; the
server start time can now be accessed with a new start_time format (use:
tmux display -p '#{t:start_time}')

Revision 1.464 / (download) - annotate - [select for diffs], Tue Nov 24 21:50:06 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.463: +7 -3 lines
Diff to previous 1.463 (colored)

All kill-session -C to clear alerts in all windows, suggested by Aaron
U'Ren.

Revision 1.463 / (download) - annotate - [select for diffs], Tue Nov 24 20:40:51 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.462: +3 -4 lines
Diff to previous 1.462 (colored)

Fix usage of detach-client.

Revision 1.462 / (download) - annotate - [select for diffs], Sun Nov 22 18:28:01 2015 UTC (8 years, 5 months ago) by tim
Branch: MAIN
Changes since 1.461: +3 -2 lines
Diff to previous 1.461 (colored)

If display-time is set to 0, show status messages until a key is pressed;
OK nicm@

Revision 1.461 / (download) - annotate - [select for diffs], Wed Nov 18 14:13:55 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.460: +9 -2 lines
Diff to previous 1.460 (colored)

Add s/foo/bar/: prefix for formats to substitute bar for foo.

Revision 1.460 / (download) - annotate - [select for diffs], Fri Nov 13 10:00:26 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.459: +8 -3 lines
Diff to previous 1.459 (colored)

Add window_visible_layout which ignores zoomed panes and use it for
control mode (which needs to know all panes), from George Nachman.

Revision 1.459 / (download) - annotate - [select for diffs], Thu Nov 12 12:36:34 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.458: +5 -5 lines
Diff to previous 1.458 (colored)

tweak previous; ok nicm

Revision 1.458 / (download) - annotate - [select for diffs], Thu Nov 12 11:09:11 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.457: +8 -36 lines
Diff to previous 1.457 (colored)

Nuke the utf8 and status-utf8 options and make tmux only a UTF-8
terminal. We still support non-UTF-8 terminals outside tmux, but inside
it is always UTF-8 (as when the utf8 and status-utf8 options were on).

Revision 1.457 / (download) - annotate - [select for diffs], Thu Nov 12 11:07:10 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.456: +2 -3 lines
Diff to previous 1.456 (colored)

Remove the mouse_utf8_flag format as well.

Revision 1.456 / (download) - annotate - [select for diffs], Wed Nov 11 23:23:33 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.455: +2 -6 lines
Diff to previous 1.455 (colored)

Drop mouse-utf8 option and always turn on UTF-8 mouse if the client says
it supports UTF-8.

Revision 1.455 / (download) - annotate - [select for diffs], Tue Oct 27 14:51:35 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.454: +5 -6 lines
Diff to previous 1.454 (colored)

No more TMPDIR.

Revision 1.454 / (download) - annotate - [select for diffs], Mon Oct 26 00:15:37 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.453: +3 -3 lines
Diff to previous 1.453 (colored)

space before punctuation;

Revision 1.453 / (download) - annotate - [select for diffs], Sun Oct 25 22:29:17 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.452: +21 -9 lines
Diff to previous 1.452 (colored)

Extend the modifiers allowed before formats: as well as the existing
#{=10:...}  length limit, add #{t:...} to convert a time_t format to a
string, #{b:...} for basename and #{d:...} for dirname. Remove all the
foo_string time formats as they can now be replaced by "t:", for example
#{window_activity_string} becomes #{t:window_activity}.

Revision 1.452 / (download) - annotate - [select for diffs], Fri Oct 23 16:02:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.451: +3 -2 lines
Diff to previous 1.451 (colored)

Format for scroll position, from Jorge Morante.

Revision 1.451 / (download) - annotate - [select for diffs], Wed Oct 21 13:14:36 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.450: +3 -2 lines
Diff to previous 1.450 (colored)

client_key_table was missing.

Revision 1.450 / (download) - annotate - [select for diffs], Sun Sep 13 13:31:40 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.449: +13 -3 lines
Diff to previous 1.449 (colored)

Add copy-mode -e to exit copy mode when scrolling off the bottom, useful
for quick view of history, from Cam Hutchison.

Revision 1.449 / (download) - annotate - [select for diffs], Thu Sep 10 08:58:14 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.448: +4 -2 lines
Diff to previous 1.448 (colored)

Add session_last_attached time and format, from Sina Siadat.

Revision 1.448 / (download) - annotate - [select for diffs], Fri Aug 28 12:31:55 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.447: +3 -18 lines
Diff to previous 1.447 (colored)

Remove the lock-server option which is a bit redundant, it isn't that
different without it.

Revision 1.447 / (download) - annotate - [select for diffs], Wed Aug 12 08:55:20 2015 UTC (8 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.446: +6 -6 lines
Diff to previous 1.446 (colored)

Rename left/right/up/down relative to active pane to add -of suffix
(left-of/right-of/etc) to remove conflict with left/right meaning
leftmost or rightmost pane. From Ben Boeckel.

Revision 1.446 / (download) - annotate - [select for diffs], Mon Jul 27 08:45:45 2015 UTC (8 years, 9 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.445: +3 -3 lines
Diff to previous 1.445 (colored)

Make -q suppress ambiguous option warnings too, from Cam Hutchison.

Revision 1.445 / (download) - annotate - [select for diffs], Mon Jul 20 15:50:04 2015 UTC (8 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.444: +6 -2 lines
Diff to previous 1.444 (colored)

Add an option (history-file) for a file to save/restore command prompt
history, from Olof-Joachim Frahm.

Revision 1.444 / (download) - annotate - [select for diffs], Mon Jul 20 10:34:11 2015 UTC (8 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.443: +4 -6 lines
Diff to previous 1.443 (colored)

Correct the tsl/fsl sequence to ]0 not ]2 (from Marcel Korpel). While
here, Xr xterm and remove some advice about elinks that is better
elsewhere.

Revision 1.443 / (download) - annotate - [select for diffs], Mon Jul 13 15:37:26 2015 UTC (8 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.442: +3 -2 lines
Diff to previous 1.442 (colored)

Add a format to show if client is a control client. From Bruno Sutic.

Revision 1.442 / (download) - annotate - [select for diffs], Mon Jul 13 13:36:29 2015 UTC (8 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.441: +6 -3 lines
Diff to previous 1.441 (colored)

Add a -s flag to show-environment to output Bourne shell commands a la
ssh-agent. Mostly from Cam Hutchison with some changes by me.

Revision 1.441 / (download) - annotate - [select for diffs], Thu Jun 18 23:53:56 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.440: +4 -3 lines
Diff to previous 1.440 (colored)

Remove a stray : and tweak paragraph.

Revision 1.440 / (download) - annotate - [select for diffs], Wed Jun 17 19:56:08 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.439: +7 -5 lines
Diff to previous 1.439 (colored)

Change break-pane to take target and source panes (-t and -s) in line
with other commands, from Thomas Adam.

Revision 1.439 / (download) - annotate - [select for diffs], Wed Jun 17 16:50:28 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.438: +8 -4 lines
Diff to previous 1.438 (colored)

Move the shuffle code from new-window -a into a function and add a -a
flag for move-window too. From Thomas Adam.

Revision 1.438 / (download) - annotate - [select for diffs], Mon Jun 15 10:58:01 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.437: +4 -2 lines
Diff to previous 1.437 (colored)

Add window_activity format, from Thomas Adam based on a diff originally
from propos6 at gmail dot com.

Revision 1.437 / (download) - annotate - [select for diffs], Sun Jun 14 10:07:44 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.436: +4 -2 lines
Diff to previous 1.436 (colored)

Add a format for client PID (client_pid) and server PID (pid). Diff for
client_pid from Thomas Adam.

Revision 1.436 / (download) - annotate - [select for diffs], Sun Jun 7 21:39:39 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.435: +24 -5 lines
Diff to previous 1.435 (colored)

Add -E flag when attaching or switching client to bypass
update-environment, from Steven Lu.

Revision 1.435 / (download) - annotate - [select for diffs], Fri Jun 5 08:14:16 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.434: +12 -1 lines
Diff to previous 1.434 (colored)

Make it so that if a window or session target is prefixed with an =,
only an exact name or index match is accepted, no special character,
prefix match, or fnmatch.

Revision 1.434 / (download) - annotate - [select for diffs], Thu Jun 4 20:34:22 2015 UTC (8 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.433: +2 -2 lines
Diff to previous 1.433 (colored)

tweak SYNOPSIS and usage();

Revision 1.433 / (download) - annotate - [select for diffs], Thu Jun 4 14:29:33 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.432: +7 -9 lines
Diff to previous 1.432 (colored)

Make unsetting a global option restore it to the default. Diff lying
around for a while, I have forgotten who suggested it :-/.

Revision 1.432 / (download) - annotate - [select for diffs], Thu Jun 4 11:43:51 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.431: +70 -5 lines
Diff to previous 1.431 (colored)

Add support for a single "marked pane". There is one marked pane in the
server at a time; it may be toggled or cleared with select-pane -m and
-M (the border is highlighted). A new target '~' or '{marked}' specifies
the marked pane to commands and it is the default target for the
swap-pane and join-pane -s flag (this makes them much simpler to use -
mark the source pane and then change to the target pane to run swapp or
joinp).

Revision 1.431 / (download) - annotate - [select for diffs], Wed May 27 13:28:04 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.430: +18 -16 lines
Diff to previous 1.430 (colored)

Move the jobs output cache into the formats code so that #() work more
generally (for example, again working in set-titles-string).

Revision 1.430 / (download) - annotate - [select for diffs], Tue May 12 15:29:29 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.429: +3 -2 lines
Diff to previous 1.429 (colored)

Add a session_alerts format which is a list of all the alerts in the
current session in symbolic form (something like "0!,4~,5!"). Use this
in the default set-titles-string. Prompted by a request from Jan ONDREJ.

Revision 1.429 / (download) - annotate - [select for diffs], Tue May 12 15:27:46 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.428: +7 -5 lines
Diff to previous 1.428 (colored)

Add bell-action "other" to pass through bells in all windows except the
current, suggested by Jan ONDREJ.

Revision 1.428 / (download) - annotate - [select for diffs], Mon May 11 10:10:16 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.427: +2 -20 lines
Diff to previous 1.427 (colored)

Remove the c0-* options which never really worked satisfactorily. Going
to try something else...

Revision 1.427 / (download) - annotate - [select for diffs], Fri May 8 16:18:04 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.426: +2 -4 lines
Diff to previous 1.426 (colored)

Move input parser structs into input.c (removing fairly useless
saved_cursor_[xy] formats as a side-effect).

Revision 1.426 / (download) - annotate - [select for diffs], Wed May 6 08:35:39 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.425: +3 -2 lines
Diff to previous 1.425 (colored)

Add a format window_linked which is 1 if a window has been linked
multiple times, also remove the default space in window_flags and use a
conditional to add it in window-status-format (this means additional
flags can be added in the option without extra spaces). From Thomas Adam
with tweaks by me.

Revision 1.425 / (download) - annotate - [select for diffs], Wed Apr 29 15:59:08 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.424: +15 -14 lines
Diff to previous 1.424 (colored)

If default-terminal is set to "screen" or "screen-*", emulate screen's
historical (incorrect) behaviour for SGR 3 and send smso
(standout). Previously, we would send sitm (italics) if the terminal
outside had it and smso otherwise. This was acceptably until recently
because xterm's terminfo entry lacked sitm, so most users got smso.

People who want italics should set default-terminal to the forthcoming
"tmux" entry (and be prepared to deal with it being missing on older
hosts).

As a side-effect this changes default-terminal to be a server rather
than a session option.

suggested by and ok naddy

Revision 1.424 / (download) - annotate - [select for diffs], Tue Apr 28 10:43:14 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.423: +7 -5 lines
Diff to previous 1.423 (colored)

Add select-layout -o to undo the last layout change (apply the previously
set layout).

Revision 1.423 / (download) - annotate - [select for diffs], Mon Apr 27 16:25:57 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.422: +114 -74 lines
Diff to previous 1.422 (colored)

Rewrite of the target resolution internals to be simpler and more
consistent but with much less duplication, but keeping the same internal
API. Also adds more readable aliases for some of the special tokens used
in targets (eg "{start}" instead of "^"). Some behaviours may have
changed, for example prefix matches now happen before fnmatch.

Revision 1.422 / (download) - annotate - [select for diffs], Tue Apr 21 22:32:40 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.421: +6 -4 lines
Diff to previous 1.421 (colored)

Do not die on USR1 if any of the socket parent directories are
missing. Reported by Robin Powell.

Revision 1.421 / (download) - annotate - [select for diffs], Mon Apr 20 15:34:56 2015 UTC (9 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.420: +76 -32 lines
Diff to previous 1.420 (colored)

Support for multiple key tables to commands to be bound to sequences of
keys. The default key bindings become the "prefix" table and -n the
"root" table. Keys may be bound in new tables with bind -T and
switch-client -T used to specify the table in which the next key should
be looked up. Based on a diff from Keith Amling.

Revision 1.420 / (download) - annotate - [select for diffs], Sun Apr 19 22:10:30 2015 UTC (9 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.419: +6 -6 lines
Diff to previous 1.419 (colored)

tweak previous;

Revision 1.419 / (download) - annotate - [select for diffs], Sun Apr 19 21:34:21 2015 UTC (9 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.418: +71 -32 lines
Diff to previous 1.418 (colored)

Rewrite of tmux mouse support which was a mess. Instead of having
options for "mouse-this" and "mouse-that", mouse events may be bound as
keys and there is one option "mouse" that turns on mouse support
entirely (set -g mouse on).

See the new MOUSE SUPPORT section of the man page for description of the
key names and new flags (-t= to specify the pane or window under mouse
as a target, and send-keys -M to pass through a mouse event).

The default builtin bindings for the mouse are:

    bind -n   MouseDown1Pane select-pane -t=; send-keys -M
    bind -n MouseDown1Status select-window -t=
    bind -n   MouseDrag1Pane copy-mode -M
    bind -n MouseDrag1Border resize-pane -M

To get the effect of turning mode-mouse off, do:

    unbind -n MouseDrag1Pane
    unbind -temacs-copy MouseDrag1Pane

The old mouse options are now gone, set-option -q may be used to
suppress warnings if mixing configuration files.

Revision 1.418 / (download) - annotate - [select for diffs], Sun Apr 19 21:05:27 2015 UTC (9 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.417: +39 -4 lines
Diff to previous 1.417 (colored)

Support setting the default window and pane background colours (window
and active pane via window-style and window-active-style options, an
individual pane by a new select-pane -P flag). From J Raynor.

Revision 1.417 / (download) - annotate - [select for diffs], Fri Apr 10 16:00:08 2015 UTC (9 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.416: +17 -5 lines
Diff to previous 1.416 (colored)

Add a -x flag to copy-selection, append-selection and start-named-buffer
to prevent it exiting copy mode after copying. From J Raynor with a few
tweaks by me.

Revision 1.416 / (download) - annotate - [select for diffs], Fri Apr 10 07:23:14 2015 UTC (9 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.415: +3 -3 lines
Diff to previous 1.415 (colored)

in the case -> in this case.

Revision 1.415 / (download) - annotate - [select for diffs], Tue Mar 31 17:58:36 2015 UTC (9 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.414: +4 -2 lines
Diff to previous 1.414 (colored)

Add a helper function to convert time, and add session_activity formats
(the latter from Takatoshi Matsumoto).

Revision 1.414 / (download) - annotate - [select for diffs], Wed Mar 11 08:17:37 2015 UTC (9 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.413: +5 -5 lines
Diff to previous 1.413 (colored)

set-titles-string now uses formats, not the status bits (so no #() for
now). Reported by landry.

Revision 1.413 / (download) - annotate - [select for diffs], Fri Feb 6 15:09:34 2015 UTC (9 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.412: +20 -18 lines
Diff to previous 1.412 (colored)

Move pane border options to window options rather than session, from Marc Finet.

Revision 1.412 / (download) - annotate - [select for diffs], Tue Jan 6 09:12:02 2015 UTC (9 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.411: +12 -4 lines
Diff to previous 1.411 (colored)

Add missing default bindings, from Theo Buehler.

Revision 1.411 / (download) - annotate - [select for diffs], Tue Dec 9 19:23:35 2014 UTC (9 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.410: +2 -1 lines
Diff to previous 1.410 (colored)

Add pane_dead_status for exit status of dead panes.

Revision 1.410 / (download) - annotate - [select for diffs], Tue Dec 2 23:39:02 2014 UTC (9 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.409: +13 -4 lines
Diff to previous 1.409 (colored)

Add -F to if-shell to allow it to be used to check for format or option
values rather than executing a command.

Revision 1.409 / (download) - annotate - [select for diffs], Tue Dec 2 23:19:45 2014 UTC (9 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.408: +19 -6 lines
Diff to previous 1.408 (colored)

Permit option values to be used in formats.

Revision 1.408 / (download) - annotate - [select for diffs], Wed Nov 12 22:57:06 2014 UTC (9 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.407: +6 -2 lines
Diff to previous 1.407 (colored)

Add -b to splitw like joinw, from Felix Rosencrantz.

Revision 1.407 / (download) - annotate - [select for diffs], Fri Nov 7 12:28:28 2014 UTC (9 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.406: +9 -9 lines
Diff to previous 1.406 (colored)

V should be vi not emacs, also sort. From Theo Buehler.

Revision 1.406 / (download) - annotate - [select for diffs], Thu Nov 6 09:17:25 2014 UTC (9 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.405: +3 -2 lines
Diff to previous 1.405 (colored)

Add V for select line with vi(1) keys. From Juho Pohjala.

Revision 1.405 / (download) - annotate - [select for diffs], Wed Nov 5 23:15:11 2014 UTC (9 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.404: +5 -2 lines
Diff to previous 1.404 (colored)

Do not put a space between status-left/status-right and the window list,
instead move the space into the defaults for the options (so status-left
now defaults to "[#S] ". From Balazs Kezes.

Revision 1.404 / (download) - annotate - [select for diffs], Sat Oct 25 08:47:04 2014 UTC (9 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.403: +3 -2 lines
Diff to previous 1.403 (colored)

Add pane_input_off format, from Anish R Athalye.

Revision 1.403 / (download) - annotate - [select for diffs], Sat Oct 18 20:28:19 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.402: +5 -7 lines
Diff to previous 1.402 (colored)

Fix description of Ss and Se.

Revision 1.402 / (download) - annotate - [select for diffs], Thu Oct 2 14:21:06 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.401: +3 -3 lines
Diff to previous 1.401 (colored)

Top function key is F12 now.

Revision 1.401 / (download) - annotate - [select for diffs], Thu Sep 25 12:45:35 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.400: +6 -5 lines
Diff to previous 1.400 (colored)

Support ! for last pane.

Revision 1.400 / (download) - annotate - [select for diffs], Mon Sep 8 14:29:05 2014 UTC (9 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.399: +4 -2 lines
Diff to previous 1.399 (colored)

Add window_last_flag and window_zoomed_flag. From John Morrissey.

Revision 1.399 / (download) - annotate - [select for diffs], Mon Sep 1 22:00:42 2014 UTC (9 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.398: +3 -3 lines
Diff to previous 1.398 (colored)

Fix typo (paneas -> panes).

Revision 1.398 / (download) - annotate - [select for diffs], Mon Aug 11 22:14:30 2014 UTC (9 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.397: +16 -5 lines
Diff to previous 1.397 (colored)

Add flags to selectp to enable and disable input to a pane, from Anish
Athalye.

Revision 1.397 / (download) - annotate - [select for diffs], Fri Jun 20 10:46:59 2014 UTC (9 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.396: +8 -2 lines
Diff to previous 1.396 (colored)

Make -S- and -E- mean the start and end to capture-pane to avoid having
to faff around with huge numbers to get everything.

Revision 1.396 / (download) - annotate - [select for diffs], Tue May 27 12:49:36 2014 UTC (9 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.395: +7 -3 lines
Diff to previous 1.395 (colored)

Add some formats for pane bounds.

Revision 1.395 / (download) - annotate - [select for diffs], Wed May 14 06:45:35 2014 UTC (10 years ago) by nicm
Branch: MAIN
Changes since 1.394: +5 -5 lines
Diff to previous 1.394 (colored)

Change key-table to mode-table to allow for some future work. From Keith
Amling.

Revision 1.394 / (download) - annotate - [select for diffs], Tue May 13 08:08:32 2014 UTC (10 years ago) by nicm
Branch: MAIN
Changes since 1.393: +28 -3 lines
Diff to previous 1.393 (colored)

If multiple arguments are given to new-session, new-window,
split-window, respawn-window or respawn-pane, pass them directly to
execvp() to help avoid quoting problems. One argument still goes to "sh
-c" like before. Requested by many over the years. Patch from J Raynor.

Revision 1.393 / (download) - annotate - [select for diffs], Tue May 13 07:54:20 2014 UTC (10 years ago) by nicm
Branch: MAIN
Changes since 1.392: +3 -2 lines
Diff to previous 1.392 (colored)

Add a copy mode key binding to copy to a named buffer. From J Raynor.

Revision 1.392 / (download) - annotate - [select for diffs], Tue May 13 07:34:35 2014 UTC (10 years ago) by nicm
Branch: MAIN
Changes since 1.391: +44 -21 lines
Diff to previous 1.391 (colored)

Add support for named buffers. If you don't name a buffer, things work
much as before - buffers are automatically named "buffer0000",
"buffer0001" and so on and ordered as a stack. Buffers can be named
explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b
buffer0000 -n foo"). If buffers are named explicitly, they are not
deleted when buffer-limit is reached. Diff from J Raynor.

Revision 1.391 / (download) - annotate - [select for diffs], Thu Apr 17 15:48:02 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.390: +1 -5 lines
Diff to previous 1.390 (colored)

#nnT went away a while ago, remove a leftover from the manpage.

Revision 1.390 / (download) - annotate - [select for diffs], Thu Apr 17 07:55:43 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.389: +2 -12 lines
Diff to previous 1.389 (colored)

Remove the "info" message mechanism, this was only used for about five
mostly useless and annoying messages. Change those commands to silence
on success like all the others. Still accept the -q command line flag
and "quiet" server option for now.

Revision 1.389 / (download) - annotate - [select for diffs], Thu Apr 17 07:51:38 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.388: +3 -5 lines
Diff to previous 1.388 (colored)

Extend the -q flag to set-option to suppress errors about unknown
options - this will allow options to be removed more easily.

Revision 1.388 / (download) - annotate - [select for diffs], Thu Apr 17 07:36:45 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.387: +4 -33 lines
Diff to previous 1.387 (colored)

Remove the monitor-content option and associated bits and bobs. It's
never worked very well. If there is a big demand for it to return, will
consider better ways to do it.

Revision 1.387 / (download) - annotate - [select for diffs], Wed Apr 16 21:02:41 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.386: +1 -27 lines
Diff to previous 1.386 (colored)

Remove the choose-list command to prepare for some later choose-* work.

Revision 1.386 / (download) - annotate - [select for diffs], Wed Apr 2 18:12:18 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.385: +3 -3 lines
Diff to previous 1.385 (colored)

Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also make
buffer_sample bigger to let it trim at window right edge.

Revision 1.385 / (download) - annotate - [select for diffs], Wed Apr 2 07:55:09 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.384: +1 -2 lines
Diff to previous 1.384 (colored)

pane_start_path has gone away.

Revision 1.384 / (download) - annotate - [select for diffs], Mon Mar 31 21:41:35 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.383: +6 -6 lines
Diff to previous 1.383 (colored)

Make message-limit a server option.

Revision 1.383 / (download) - annotate - [select for diffs], Mon Mar 31 21:39:31 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.382: +7 -2 lines
Diff to previous 1.382 (colored)

Add setb -a to append and a copy mode append command, from J Raynor with
minor changes.

Revision 1.382 / (download) - annotate - [select for diffs], Mon Mar 31 21:37:55 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.381: +4 -3 lines
Diff to previous 1.381 (colored)

Make session_attached a count and add session_many_attached flag.

Revision 1.381 / (download) - annotate - [select for diffs], Sun Feb 23 00:53:06 2014 UTC (10 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.380: +38 -38 lines
Diff to previous 1.380 (colored)

Change terminal-overrides to a server option (now that we have them), it
doesn't make much sense as a session option.

Revision 1.380 / (download) - annotate - [select for diffs], Sun Feb 16 12:45:17 2014 UTC (10 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.379: +5 -5 lines
Diff to previous 1.379 (colored)

Leftovers from removing 88 colour support, from Theo Buehler.

Revision 1.379 / (download) - annotate - [select for diffs], Sun Feb 2 08:48:48 2014 UTC (10 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.378: +4 -4 lines
Diff to previous 1.378 (colored)

fix some minor formatting glitches;

Revision 1.378 / (download) - annotate - [select for diffs], Tue Jan 28 23:07:09 2014 UTC (10 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.377: +173 -141 lines
Diff to previous 1.377 (colored)

Allow replacing each of the many sets of separate foo-{fg,bg,attr}
options with a single foo-style option. For example:

    set -g status-fg yellow
    set -g status-bg red
    set -g status-attr blink

Becomes:

    set -g status-style fg=yellow,bg=red,blink

The -a flag to set can be used to add to rather than replace a style. So:

    set -g status-bg red

Becomes:

    set -ag status-style bg=red

Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.

From Tiago Cunha.

Revision 1.377 / (download) - annotate - [select for diffs], Wed Jan 22 14:43:42 2014 UTC (10 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.376: +12 -6 lines
Diff to previous 1.376 (colored)

Merge server-info into show-messages and remove some not useful output.

Revision 1.376 / (download) - annotate - [select for diffs], Sun Nov 24 11:29:09 2013 UTC (10 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.375: +5 -2 lines
Diff to previous 1.375 (colored)

Replace ## by # in format.

Revision 1.375 / (download) - annotate - [select for diffs], Wed Oct 23 11:31:03 2013 UTC (10 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.374: +2 -1 lines
Diff to previous 1.374 (colored)

Key to swap to other end of selection (bound to o with vi keys), from J
Raynor.

Revision 1.374 / (download) - annotate - [select for diffs], Thu Oct 10 23:31:28 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.373: +3 -3 lines
Diff to previous 1.373 (colored)

Bracket in the wrong place in description of c0-change-trigger.

Revision 1.373 / (download) - annotate - [select for diffs], Thu Oct 10 12:39:25 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.372: +1 -2 lines
Diff to previous 1.372 (colored)

Remove the KERN_PROC_CWD the proc_current_path format (which is the only
thing that uses it now).

Revision 1.372 / (download) - annotate - [select for diffs], Thu Oct 10 12:26:36 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.371: +6 -20 lines
Diff to previous 1.371 (colored)

Alter how tmux handles the working directory to internally use file
descriptors rather than strings.

- Each session still has a current working directory.

- New sessions still get their working directory from the client that
  created them or its attached session if any.

- New windows are created by default in the session working directory.

- The -c flag to new, neww, splitw allows the working directory to be
  overridden.

- The -c flag to attach let's the session working directory be changed.

- The default-path option has been removed.

To get the equivalent to default-path '.', do:

        bind c neww -c $PWD

To get the equivalent of default-path '~', do:

        bind c neww -c ~

This also changes the client identify protocol to be a set of messages rather
than one as well as some other changes that should make it easier to make
backwards-compatible protocol changes in future.

Revision 1.371 / (download) - annotate - [select for diffs], Thu Oct 10 12:07:37 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.370: +2 -1 lines
Diff to previous 1.370 (colored)

Support -c for new-session, based on code from J Raynor.

Revision 1.370 / (download) - annotate - [select for diffs], Thu Oct 10 12:02:55 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.369: +2 -2 lines
Diff to previous 1.369 (colored)

Mark flags as optional and mutually exclusive. From Tiago Cunha.

Revision 1.369 / (download) - annotate - [select for diffs], Thu Oct 10 12:01:51 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.368: +6 -3 lines
Diff to previous 1.368 (colored)

A couple of manpage fixes from Tiago Cunha.

Revision 1.368 / (download) - annotate - [select for diffs], Thu Oct 10 11:56:50 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.367: +10 -3 lines
Diff to previous 1.367 (colored)

Add automatic-rename-format option allowing automatic rename to use
something other than pane_current_command.

Revision 1.367 / (download) - annotate - [select for diffs], Thu Oct 10 11:50:21 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.366: +8 -2 lines
Diff to previous 1.366 (colored)

Add length limit operator for formats.

Revision 1.366 / (download) - annotate - [select for diffs], Thu Oct 10 11:47:52 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.365: +6 -2 lines
Diff to previous 1.365 (colored)

Add formats for window flags.

Revision 1.365 / (download) - annotate - [select for diffs], Sat Oct 5 13:56:48 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.364: +5 -3 lines
Diff to previous 1.364 (colored)

Change the default for the default-path option to ~. This is a quick
change to turn off the KERN_PROC_CWD code which is unpredictable. Later
it will go away and there may be other changes to how this works.

Revision 1.364 / (download) - annotate - [select for diffs], Tue Jul 16 00:07:52 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.363: +3 -3 lines
Diff to previous 1.363 (colored)

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@

Revision 1.363 / (download) - annotate - [select for diffs], Fri Jul 5 15:27:14 2013 UTC (10 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.362: +3 -2 lines
Diff to previous 1.362 (colored)

Add pane_synchronized format, from Romain Francoise.

Revision 1.362 / (download) - annotate - [select for diffs], Sun Jun 23 13:10:47 2013 UTC (10 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.361: +9 -1 lines
Diff to previous 1.361 (colored)

Focus events can cause trouble if left on and they can't be turned off
during idle periods (like the other states are) because we'd miss
events. So add a server option to control them. Defaults to off.

Revision 1.361 / (download) - annotate - [select for diffs], Sun Jun 2 14:40:17 2013 UTC (10 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.360: +3 -3 lines
Diff to previous 1.360 (colored)

escape "Ss", becuase groff thinks it has found a macro;

Revision 1.360 / (download) - annotate - [select for diffs], Sun Jun 2 07:52:15 2013 UTC (10 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.359: +3 -3 lines
Diff to previous 1.359 (colored)

The actual terminfo entries we ended up with for cursor changes are Cs,
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead
of the ones we were using earlier.

Revision 1.359 / (download) - annotate - [select for diffs], Fri May 31 19:56:05 2013 UTC (10 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.358: +86 -98 lines
Diff to previous 1.358 (colored)

Demote the old single-character replacement variables (#S and friends)
to aliases of formats. From Tiago Cunha.

Revision 1.358 / (download) - annotate - [select for diffs], Fri May 31 19:46:42 2013 UTC (10 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.357: +3 -2 lines
Diff to previous 1.357 (colored)

Add host_short format, from Tiago Cunha.

Revision 1.357 / (download) - annotate - [select for diffs], Wed Apr 24 10:15:47 2013 UTC (11 years ago) by nicm
Branch: MAIN
Changes since 1.356: +3 -3 lines
Diff to previous 1.356 (colored)

.Op Fl b not .Fl b for run-shell synopsis, from Ben Boeckel.

Revision 1.356 / (download) - annotate - [select for diffs], Wed Apr 10 12:07:18 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.355: +3 -2 lines
Diff to previous 1.355 (colored)

Missed -o from set-window-option, from Ben Boeckel.

Revision 1.355 / (download) - annotate - [select for diffs], Wed Mar 27 11:24:18 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.354: +7 -6 lines
Diff to previous 1.354 (colored)

Add TMUX_TMPDIR variable to put the socket directory outside
TMPDIR. From Ben Boeckel.

Revision 1.354 / (download) - annotate - [select for diffs], Wed Mar 27 11:17:12 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.353: +1 -5 lines
Diff to previous 1.353 (colored)

Remove tmux's (already minimal) 88 colour support. Such terminals are
few and unnecessary.

Revision 1.353 / (download) - annotate - [select for diffs], Mon Mar 25 15:59:57 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.352: +1 -8 lines
Diff to previous 1.352 (colored)

Revert the command-prefix change which breaks sequences of commands.

Revision 1.352 / (download) - annotate - [select for diffs], Mon Mar 25 11:46:28 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.351: +2 -2 lines
Diff to previous 1.351 (colored)

b comes before t.

Revision 1.351 / (download) - annotate - [select for diffs], Mon Mar 25 11:44:00 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.350: +12 -3 lines
Diff to previous 1.350 (colored)

Add -P and -F to new-session.

Revision 1.350 / (download) - annotate - [select for diffs], Mon Mar 25 11:40:40 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.349: +2 -2 lines
Diff to previous 1.349 (colored)

Write escaped output in control mode rather than hex, from George
Nachman.

Revision 1.349 / (download) - annotate - [select for diffs], Mon Mar 25 11:40:20 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.348: +4 -3 lines
Diff to previous 1.348 (colored)

Clarify zoom/unzoom, from Romain Francoise.

Revision 1.348 / (download) - annotate - [select for diffs], Mon Mar 25 11:39:53 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.347: +1 -2 lines
Diff to previous 1.347 (colored)

Remove unnecessary .Pp.

Revision 1.347 / (download) - annotate - [select for diffs], Mon Mar 25 11:38:43 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.346: +3 -5 lines
Diff to previous 1.346 (colored)

Don't add prefix to %output pane id.

Revision 1.346 / (download) - annotate - [select for diffs], Mon Mar 25 11:38:15 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.345: +5 -2 lines
Diff to previous 1.345 (colored)

Clean up capture-pane and add -P option to dump pending output, based on
code from George Nachman.

Revision 1.345 / (download) - annotate - [select for diffs], Mon Mar 25 11:37:56 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.344: +95 -2 lines
Diff to previous 1.344 (colored)

Document control mode in the manpage, from George Nachman.

Revision 1.344 / (download) - annotate - [select for diffs], Mon Mar 25 10:11:45 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.343: +4 -3 lines
Diff to previous 1.343 (colored)

Rename session idx to session id throughout and add $ prefix to targets
to use it, extended from a diff from George Nachman.

Revision 1.343 / (download) - annotate - [select for diffs], Mon Mar 25 10:09:35 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.342: +9 -5 lines
Diff to previous 1.342 (colored)

Add wait-for -L and -U for lock and unlock, from Thiago Padilha.

Revision 1.342 / (download) - annotate - [select for diffs], Mon Mar 25 10:09:05 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.341: +14 -1 lines
Diff to previous 1.341 (colored)

Add a wait-for command which blocks a client on a named channel until it
is woken up again (with wait-for -S). From Thiago Padilha.

Revision 1.341 / (download) - annotate - [select for diffs], Mon Mar 25 10:05:35 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.340: +2 -2 lines
Diff to previous 1.340 (colored)

Preserve trailing spaces with capture-pane -J, from George Nachman.

Revision 1.340 / (download) - annotate - [select for diffs], Mon Mar 25 10:04:04 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.339: +12 -4 lines
Diff to previous 1.339 (colored)

Add -q flags to shut up errors to capture-pane and show-options, from
George Nachman.

Revision 1.339 / (download) - annotate - [select for diffs], Mon Mar 25 10:02:17 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.338: +5 -3 lines
Diff to previous 1.338 (colored)

Add -a to capture-pane to capture alternate screen, from George Nachman.

Revision 1.338 / (download) - annotate - [select for diffs], Sun Mar 24 09:58:40 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.337: +17 -2 lines
Diff to previous 1.337 (colored)

Add -A flag to new-session to make it behave like attach-session if the
session exists. If -A is used, -D behaves like -d to attach-session.

Revision 1.337 / (download) - annotate - [select for diffs], Sun Mar 24 09:57:59 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.336: +7 -2 lines
Diff to previous 1.336 (colored)

Add resize-pane -Z to temporary zoom the active pane to occupy the full
window or unzoom (restored to the normal layout) if it already zoomed,
bound to C-b z by default. The pane is unzoomed on pretty much any
excuse whatsoever.

We considered making this a new layout but the requirements are quite
different from layouts so decided it is better as a special case. Each
current layout cell is saved, a temporary one-cell layout generated and
all except the active pane set to NULL.

Prompted by suggestions and scripts from several. Thanks to Aaron Jensen
and Thiago Padilha for testing an earlier version.

Revision 1.336 / (download) - annotate - [select for diffs], Sun Mar 24 09:55:02 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.335: +6 -2 lines
Diff to previous 1.335 (colored)

Add a -o option to set-option to prevent setting an option already set,
from Thiago Padilha.

Revision 1.335 / (download) - annotate - [select for diffs], Sun Mar 24 09:54:10 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.334: +10 -1 lines
Diff to previous 1.334 (colored)

Add a command queue to standardize and simplify commands that call other
commands and allow a command to block execution of subsequent
commands. This allows run-shell and if-shell to be synchronous which has
been much requested.

Each client has a default command queue and commands are consumed one at
a time from it. A command may suspend execution from the queue by
returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() -
for example run-shell does this from the callback that is fired after
the job is freed.

When the command queue becomes empty, command clients are automatically
exited (unless attaching). A callback is also fired - this is used for
nested commands in, for example, if-shell which can block execution of
the client's cmdq until a new cmdq becomes empty.

Also merge all the old error/info/print functions together and lose the
old curclient/cmdclient distinction - a cmdq is bound to one client (or
none if in the configuration file), this is a command client if
c->session is NULL otherwise an attached client.

Revision 1.334 / (download) - annotate - [select for diffs], Sun Mar 24 09:33:35 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.333: +14 -2 lines
Diff to previous 1.333 (colored)

Expand format variables in the run-shell and if-shell shell commands,
from Thiago Padilha.

Revision 1.333 / (download) - annotate - [select for diffs], Sun Mar 24 09:29:40 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.332: +2 -1 lines
Diff to previous 1.332 (colored)

Add pane_tabs format to format_window_pane based on code from George
Nachman.

Revision 1.332 / (download) - annotate - [select for diffs], Sun Mar 24 09:21:27 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.331: +9 -2 lines
Diff to previous 1.331 (colored)

Add option command-prefix which is automatically prepended to any
command (apart from a naked default-shell). The default is "exec ".

Revision 1.331 / (download) - annotate - [select for diffs], Sun Mar 24 09:19:51 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.330: +2 -1 lines
Diff to previous 1.330 (colored)

Add pane_current_command format.

Revision 1.330 / (download) - annotate - [select for diffs], Fri Mar 22 18:45:36 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.329: +3 -3 lines
Diff to previous 1.329 (colored)

Couple of fixes pointed out by jmc.

Revision 1.329 / (download) - annotate - [select for diffs], Fri Mar 22 16:03:35 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.328: +21 -2 lines
Diff to previous 1.328 (colored)

Add a load of miscellaneous pane formats, from George Nachman.

Revision 1.328 / (download) - annotate - [select for diffs], Fri Mar 22 15:56:11 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.327: +7 -2 lines
Diff to previous 1.327 (colored)

Add -C and -J to capture pane to escape control sequences and to join
wrapped line, based on a diff from George Nachman.

Revision 1.327 / (download) - annotate - [select for diffs], Fri Mar 22 15:52:40 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.326: +13 -2 lines
Diff to previous 1.326 (colored)

Add copy-pipe mode command to copy selection and also pipe to a command.

Revision 1.326 / (download) - annotate - [select for diffs], Fri Mar 22 15:51:54 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.325: +5 -1 lines
Diff to previous 1.325 (colored)

Add -e flag to capture-pane to include embedded ANSI SGR escape
sequences, from George Nachman.

Revision 1.325 / (download) - annotate - [select for diffs], Fri Mar 22 15:51:15 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.324: +2 -5 lines
Diff to previous 1.324 (colored)

Don't use a target-client for stdout, just always cmdclient.

Revision 1.324 / (download) - annotate - [select for diffs], Fri Mar 22 10:37:39 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.323: +16 -8 lines
Diff to previous 1.323 (colored)

Add resize-pane -x and -y for absolute pane size (much requested).

Revision 1.323 / (download) - annotate - [select for diffs], Fri Mar 22 10:32:36 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.322: +3 -1 lines
Diff to previous 1.322 (colored)

Add client_session and client_last_session formats.

Revision 1.322 / (download) - annotate - [select for diffs], Thu Mar 21 18:43:34 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.321: +11 -3 lines
Diff to previous 1.321 (colored)

Support capture-pane -p to send to stdout.

Revision 1.321 / (download) - annotate - [select for diffs], Thu Mar 21 17:42:36 2013 UTC (11 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.320: +4 -4 lines
Diff to previous 1.320 (colored)

tweak previous; ok nicm

Revision 1.320 / (download) - annotate - [select for diffs], Thu Mar 21 16:23:46 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.319: +15 -9 lines
Diff to previous 1.319 (colored)

Clarify choose-tree entry in man page.

Revision 1.319 / (download) - annotate - [select for diffs], Thu Mar 21 16:17:35 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.318: +2 -4 lines
Diff to previous 1.318 (colored)

Fix choose-tree usage.

Revision 1.318 / (download) - annotate - [select for diffs], Thu Mar 21 16:17:01 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.317: +14 -1 lines
Diff to previous 1.317 (colored)

Add user options, prefixed with @. May be set to any arbitrary string.

Revision 1.317 / (download) - annotate - [select for diffs], Thu Mar 21 16:15:52 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.316: +7 -3 lines
Diff to previous 1.316 (colored)

Add -v to set and setw to show only option value.

Revision 1.316 / (download) - annotate - [select for diffs], Thu Mar 21 16:14:50 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.315: +1 -2 lines
Diff to previous 1.315 (colored)

Remove stray change accidentally committed.

Revision 1.315 / (download) - annotate - [select for diffs], Thu Mar 21 16:14:09 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.314: +4 -2 lines
Diff to previous 1.314 (colored)

Add a format client_prefix which is 1 if prefix key has been
pressed, used for example #{?client_prefix,X,Y}. Also a few extra
server_client_status needed.

Revision 1.314 / (download) - annotate - [select for diffs], Thu Mar 21 16:09:59 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.313: +9 -16 lines
Diff to previous 1.313 (colored)

Allow choose commands to be used outside tmux, so long as at least one
client is attached.

Revision 1.313 / (download) - annotate - [select for diffs], Thu Jan 17 00:11:22 2013 UTC (11 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.312: +3 -17 lines
Diff to previous 1.312 (colored)

Remove the layout undo/redo code which never really worked.

Revision 1.312 / (download) - annotate - [select for diffs], Tue Jan 15 22:55:29 2013 UTC (11 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.311: +8 -1 lines
Diff to previous 1.311 (colored)

If timing between keys is less than (by default) 1 millisecond, assume
the text is being pasted. assume-paste-time option changes the value (0
disables). Based on a diff from Marcin Kulik.

Revision 1.311 / (download) - annotate - [select for diffs], Mon Dec 24 12:38:57 2012 UTC (11 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.310: +7 -3 lines
Diff to previous 1.310 (colored)

Add ^ and $ special command targets to select lowest and highest
numbered windows, from Raghavendra D Prabhu.

Revision 1.310 / (download) - annotate - [select for diffs], Mon Dec 24 12:34:32 2012 UTC (11 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.309: +8 -3 lines
Diff to previous 1.309 (colored)

Add -T option to select-window to toggle to last window if already
current, from Raghavendra D Prabhu.

Revision 1.309 / (download) - annotate - [select for diffs], Mon Dec 24 12:25:52 2012 UTC (11 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.308: +5 -1 lines
Diff to previous 1.308 (colored)

Add a -u flag to choose-tree to start uncollapsed, from Raghavendra D
Prabhu.

Revision 1.308 / (download) - annotate - [select for diffs], Tue Nov 27 15:09:35 2012 UTC (11 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.307: +10 -4 lines
Diff to previous 1.307 (colored)

Allow cmd-run-shell to accept -t to specify the pane to display the
output, requested by Alexander Tsepkov.

Revision 1.307 / (download) - annotate - [select for diffs], Tue Nov 27 13:52:23 2012 UTC (11 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.306: +11 -2 lines
Diff to previous 1.306 (colored)

Add window-status-last-* options, from Boris Faure.

Revision 1.306 / (download) - annotate - [select for diffs], Mon Nov 19 10:50:24 2012 UTC (11 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.305: +10 -4 lines
Diff to previous 1.305 (colored)

Clarify some points about config files, notably that they are only read
at server start. From Thomas Adam.

Revision 1.305 / (download) - annotate - [select for diffs], Thu Oct 25 11:11:58 2012 UTC (11 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.304: +3 -3 lines
Diff to previous 1.304 (colored)

Fix typo bell->bells from Thomas Adam.

Revision 1.304 / (download) - annotate - [select for diffs], Tue Oct 2 08:02:21 2012 UTC (11 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.303: +2 -7 lines
Diff to previous 1.303 (colored)

Remove some out of date text from man page, from Thomas Adam.

Revision 1.303 / (download) - annotate - [select for diffs], Mon Sep 3 09:57:57 2012 UTC (11 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.302: +28 -1 lines
Diff to previous 1.302 (colored)

add cmd-choose-list to allow arbitrary options to be selected. From
Thomas Adam.

Revision 1.302 / (download) - annotate - [select for diffs], Sat Aug 11 07:10:01 2012 UTC (11 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.301: +3 -2 lines
Diff to previous 1.301 (colored)

Another missing format from sam at sltosis.org.

Revision 1.301 / (download) - annotate - [select for diffs], Sat Aug 11 05:55:12 2012 UTC (11 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.300: +6 -2 lines
Diff to previous 1.300 (colored)

Add some missing formats from Samuel Le Thiec.

Revision 1.300 / (download) - annotate - [select for diffs], Sun Jul 15 06:51:57 2012 UTC (11 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.299: +2 -1 lines
Diff to previous 1.299 (colored)

Document pane_index variable, from sam at sltosis dot org.

Revision 1.299 / (download) - annotate - [select for diffs], Sun Jul 8 17:24:29 2012 UTC (11 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.298: +2 -3 lines
Diff to previous 1.298 (colored)

remove extraneous line;

Revision 1.298 / (download) - annotate - [select for diffs], Sun Jul 8 16:04:38 2012 UTC (11 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.297: +63 -1 lines
Diff to previous 1.297 (colored)

Add choose-tree command to show windows and sessions in the same
list. Change choose-window and -session to use the same code. From
Thomas Adam.

Revision 1.297 / (download) - annotate - [select for diffs], Mon Jun 18 09:16:15 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.296: +7 -2 lines
Diff to previous 1.296 (colored)

Add -a for kill-session, from Thomas Adam.

Revision 1.296 / (download) - annotate - [select for diffs], Mon Jun 18 09:15:22 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.295: +7 -2 lines
Diff to previous 1.295 (colored)

Add -a flag for detach-client, from Thomas Adam.

Revision 1.295 / (download) - annotate - [select for diffs], Mon Jun 18 09:13:12 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.294: +5 -5 lines
Diff to previous 1.294 (colored)

Simplify references to alerts in the man page, from Thomas Adam.

Revision 1.294 / (download) - annotate - [select for diffs], Tue May 22 11:35:37 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.293: +45 -10 lines
Diff to previous 1.293 (colored)

Switch all of the various choose- and list- commands over to the format
infrastructure, from Thomas Adam.

Revision 1.293 / (download) - annotate - [select for diffs], Thu May 17 21:21:31 2012 UTC (12 years ago) by nicm
Branch: MAIN
Changes since 1.292: +4 -3 lines
Diff to previous 1.292 (colored)

Ignore line continuation when escaped as \\, from Simon Nicolussi.

Revision 1.292 / (download) - annotate - [select for diffs], Wed May 2 19:29:13 2012 UTC (12 years ago) by nicm
Branch: MAIN
Changes since 1.291: +6 -12 lines
Diff to previous 1.291 (colored)

default-path has the same possibilities as new-window -c now.

Revision 1.291 / (download) - annotate - [select for diffs], Sun Apr 29 17:20:01 2012 UTC (12 years ago) by nicm
Branch: MAIN
Changes since 1.290: +17 -2 lines
Diff to previous 1.290 (colored)

Add a flag to move-window to renumber the windows in a session (closing
any gaps) and add an option to do this automatically each time a window
is killed. From Thomas Adam.

Revision 1.290 / (download) - annotate - [select for diffs], Mon Apr 23 22:23:14 2012 UTC (12 years ago) by nicm
Branch: MAIN
Changes since 1.289: +6 -2 lines
Diff to previous 1.289 (colored)

Add window-status-separator option, from Thomas Adam.

Revision 1.289 / (download) - annotate - [select for diffs], Mon Apr 23 22:10:45 2012 UTC (12 years ago) by nicm
Branch: MAIN
Changes since 1.288: +9 -2 lines
Diff to previous 1.288 (colored)

Add -a flag to kill-window, from Thomas Adam.

Revision 1.288 / (download) - annotate - [select for diffs], Sun Apr 1 13:18:38 2012 UTC (12 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.287: +17 -3 lines
Diff to previous 1.287 (colored)

Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).

Revision 1.287 / (download) - annotate - [select for diffs], Sun Apr 1 10:42:39 2012 UTC (12 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.286: +3 -2 lines
Diff to previous 1.286 (colored)

Add pane_current_path format, suggested by Mikolaj Kucharski.

Revision 1.286 / (download) - annotate - [select for diffs], Thu Mar 22 11:11:57 2012 UTC (12 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.285: +5 -1 lines
Diff to previous 1.285 (colored)

Accept an argument to show-environment to show one variable, based on a
diff from Kazuhiko Sakaguchi.

Revision 1.285 / (download) - annotate - [select for diffs], Tue Mar 20 17:09:48 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.284: +13 -3 lines
Diff to previous 1.284 (colored)

Add -C -N -T flags to find-window to find in content, name, title. From
Jonathan Daugherty.

Revision 1.284 / (download) - annotate - [select for diffs], Tue Mar 20 11:23:12 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.283: +3 -3 lines
Diff to previous 1.283 (colored)

50 is a too low trigger default on larger terminals, bump to 250.

Revision 1.283 / (download) - annotate - [select for diffs], Tue Mar 20 11:01:00 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.282: +19 -1 lines
Diff to previous 1.282 (colored)

Add a simple form of output rate limiting by counting the number of
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it
exceeds a threshold (current default 50/millisecond), start to redraw
the pane every 100 milliseconds instead of making each change as it
comes. Two configuration options - c0-change-trigger and
c0-change-interval.

This makes tmux much more responsive under very fast output (for example
yes(1) or accidentally cat'ing a large file) but may not be perfect on
all terminals and connections - feedback very welcome, particularly
where this change has a negative rather than positive effect (making it
off by default is a possibility).

After much experimentation based originally on a request Robin Lee
Powell (which ended with a completely different solution), this idea
from discussion with Ailin Nemui.

Revision 1.282 / (download) - annotate - [select for diffs], Sat Mar 17 21:40:53 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.281: +8 -2 lines
Diff to previous 1.281 (colored)

Add a wrap-search option to turn off wrapping of searches in copy
mode. From Jacobo de Vera.

Revision 1.281 / (download) - annotate - [select for diffs], Sat Mar 17 21:33:33 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.280: +12 -5 lines
Diff to previous 1.280 (colored)

Add -q option to set-option to turn off info message, from marcel partap.

Revision 1.280 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:09 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.279: +11 -3 lines
Diff to previous 1.279 (colored)

Add -P/-F flags to break-pane too, from George Nachman.

Revision 1.279 / (download) - annotate - [select for diffs], Sun Mar 4 20:50:53 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.278: +8 -2 lines
Diff to previous 1.278 (colored)

Add -F format to new-window and split-window to use with the -P flag,
from George Nachman.

Revision 1.278 / (download) - annotate - [select for diffs], Sat Mar 3 09:43:22 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.277: +7 -3 lines
Diff to previous 1.277 (colored)

Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if
this is used and the application has requested bracketed pastes, then
tmux surrounds the pasted text by \033[200~ and \033[201~. Applications
like vim can (apparently) use this to avoid, for example, indenting the
text. From Ailin Nemui.

Revision 1.277 / (download) - annotate - [select for diffs], Sat Mar 3 08:31:18 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.276: +25 -3 lines
Diff to previous 1.276 (colored)

Add move-pane command (like join-pane but allows the same window). Also
-b flag to join-pane and move-pane to place the pane to the left or
above. From George Nachman.

Revision 1.276 / (download) - annotate - [select for diffs], Sat Feb 25 12:57:42 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.275: +6 -4 lines
Diff to previous 1.275 (colored)

Allow a single option to be specified to show-options to show just that
option.

Revision 1.275 / (download) - annotate - [select for diffs], Thu Feb 23 22:40:58 2012 UTC (12 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.274: +4 -4 lines
Diff to previous 1.274 (colored)

Use format for display-message, based on a diff from George Nachman.

Revision 1.274 / (download) - annotate - [select for diffs], Thu Feb 2 22:33:05 2012 UTC (12 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.273: +6 -2 lines
Diff to previous 1.273 (colored)

Document option values, particularly that omitting on|off for a flag is
a toggle.

Revision 1.273 / (download) - annotate - [select for diffs], Thu Feb 2 00:15:28 2012 UTC (12 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.272: +6 -3 lines
Diff to previous 1.272 (colored)

Add -l flag to send-keys to send input literally (without translating
key names). From Frank Terbeck.

Revision 1.272 / (download) - annotate - [select for diffs], Tue Jan 31 15:52:21 2012 UTC (12 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.271: +12 -1 lines
Diff to previous 1.271 (colored)

Provide defined ways to set the various default-path possibilities: ~
for home directory, . for server start directory, - for session start
directory and empty for the pane's working directory (the default). All
can also be used as part of a relative path (eg -/foo). Also provide -c
flags to neww and splitw to override default-path setting.

Based on a diff from sthen. ok sthen

Revision 1.271 / (download) - annotate - [select for diffs], Mon Jan 30 20:48:28 2012 UTC (12 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.270: +4 -4 lines
Diff to previous 1.270 (colored)

id -> ID; ok nicm

Revision 1.270 / (download) - annotate - [select for diffs], Mon Jan 30 09:39:34 2012 UTC (12 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.269: +5 -4 lines
Diff to previous 1.269 (colored)

Give each window a unique id, like panes but prefixed with @. Based on
work from George Nachman.

Revision 1.269 / (download) - annotate - [select for diffs], Sun Jan 29 09:37:02 2012 UTC (12 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.268: +5 -1 lines
Diff to previous 1.268 (colored)

Add an option to move the status line to the top of the screen,
requested by many.

Revision 1.268 / (download) - annotate - [select for diffs], Sat Jan 21 20:40:28 2012 UTC (12 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.267: +2 -2 lines
Diff to previous 1.267 (colored)

it's -> its.

Revision 1.267 / (download) - annotate - [select for diffs], Sat Jan 21 08:40:09 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.266: +12 -9 lines
Diff to previous 1.266 (colored)

Drop the ability to have a list of keys in the prefix in favour of two
separate options, prefix and prefix2. This simplifies the code and gets
rid the data options type which was only used for this one option.

Also add a -2 flag to send-prefix to send the secondary prefix key,
fixing a cause of minor irritation.

People who want three prefix keys are out of luck :-).

Revision 1.266 / (download) - annotate - [select for diffs], Sat Jan 21 08:23:12 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.265: +6 -2 lines
Diff to previous 1.265 (colored)

Add strings to allow the aixterm bright colours to be used when
configuring colours, requested by Elliott Cable a few months ago.

Revision 1.265 / (download) - annotate - [select for diffs], Sat Jan 21 08:10:21 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.264: +5 -1 lines
Diff to previous 1.264 (colored)

Add a -R flag to send-keys to reset the terminal. Written ages ago and
Suggested by someone, I forget who.

Revision 1.264 / (download) - annotate - [select for diffs], Fri Jan 20 19:51:28 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.263: +25 -8 lines
Diff to previous 1.263 (colored)

Add some trivial additional status line attributes from jwcxz at users
dot sourceforge dot net.

Revision 1.263 / (download) - annotate - [select for diffs], Fri Jan 20 19:16:16 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.262: +3 -3 lines
Diff to previous 1.262 (colored)

Remove trailing spaces.

Revision 1.262 / (download) - annotate - [select for diffs], Fri Jan 20 19:15:40 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.261: +9 -2 lines
Diff to previous 1.261 (colored)

Add an option to disable the window rename escape sequence, from Romain
Francoise.

Revision 1.261 / (download) - annotate - [select for diffs], Sat Dec 31 03:40:15 2011 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.260: +74 -14 lines
Diff to previous 1.260 (colored)

Add a man page section on window names and pane titles, from Felix
Rosencrantz.

Revision 1.260 / (download) - annotate - [select for diffs], Fri Dec 30 14:59:13 2011 UTC (12 years, 4 months ago) by sthen
Branch: MAIN
Changes since 1.259: +7 -2 lines
Diff to previous 1.259 (colored)

Show how to set default-path to revert to tmux's old behaviour of opening
new windows in the current working directory at the time tmux was started,
it's not obvious. naddy@ agrees this is a useful inclusion.

Revision 1.259 / (download) - annotate - [select for diffs], Tue Dec 27 14:07:20 2011 UTC (12 years, 4 months ago) by stsp
Branch: MAIN
Changes since 1.258: +7 -2 lines
Diff to previous 1.258 (colored)

Allow $HOME as default-path in tmux.conf so the same config file can be used
on different machines regardless of where the user's home directory is.
ok nicm

Revision 1.258 / (download) - annotate - [select for diffs], Sat Dec 24 08:46:48 2011 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.257: +3 -3 lines
Diff to previous 1.257 (colored)

formatting errors, found using freebsd's "igor";

Revision 1.257 / (download) - annotate - [select for diffs], Fri Dec 9 16:28:18 2011 UTC (12 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.256: +6 -6 lines
Diff to previous 1.256 (colored)

Change the way the working directory for new processes is discovered. If
default-path isn't empty, it is used. Otherwise:

1) If tmux neww is run from the command line, the working directory of the
   client is used.

2) Otherwise sysctl KERN_PROC_CWD is used to retrieve the current
   working directory of the process in the active pane.

3) If that fails, the directory where the session was created is used.

Support code by Romain Francois, OpenBSD specific bits by me.

Note this requires a recent userland and kernel with KERN_PROC_CWD.

Revision 1.256 / (download) - annotate - [select for diffs], Sun Dec 4 16:18:01 2011 UTC (12 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.255: +4 -2 lines
Diff to previous 1.255 (colored)

Support "jump to" like vi in copy mode using t and T keys. Also add x
and X for delete in edit mode.

From Ben Boeckel, thanks.

Revision 1.255 / (download) - annotate - [select for diffs], Tue Nov 15 23:24:04 2011 UTC (12 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.254: +8 -9 lines
Diff to previous 1.254 (colored)

Move word-separators to be a session rather than window option, from Ben
Boeckel.

Revision 1.254 / (download) - annotate - [select for diffs], Sat Nov 5 09:13:00 2011 UTC (12 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.253: +7 -6 lines
Diff to previous 1.253 (colored)

Missing bits for new keys and buffer indexes, from Tiago Cunha

Revision 1.253 / (download) - annotate - [select for diffs], Sat Nov 5 09:06:31 2011 UTC (12 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.252: +7 -1 lines
Diff to previous 1.252 (colored)

Option to change status line (message) background when using vi keys and
in command mode. From Ben Boeckel.

Revision 1.252 / (download) - annotate - [select for diffs], Thu Oct 27 23:33:35 2011 UTC (12 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.251: +4 -3 lines
Diff to previous 1.251 (colored)

minor formatting fix;

Revision 1.251 / (download) - annotate - [select for diffs], Thu Oct 27 22:40:15 2011 UTC (12 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.250: +7 -5 lines
Diff to previous 1.250 (colored)

Didn't really think the else behaviour through - requiring argv to
contain "else" is silly so just omit that, also some manpage
tweaks. From Tiago Cunha.

Revision 1.250 / (download) - annotate - [select for diffs], Sun Oct 23 01:12:46 2011 UTC (12 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.249: +22 -3 lines
Diff to previous 1.249 (colored)

Add client formats, from Ben Boeckel.

Revision 1.249 / (download) - annotate - [select for diffs], Sun Oct 2 06:55:48 2011 UTC (12 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.248: +6 -2 lines
Diff to previous 1.248 (colored)

Add a few more formats for panes (tty, pid, start cmd/cwd).

Revision 1.248 / (download) - annotate - [select for diffs], Wed Sep 28 20:11:21 2011 UTC (12 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.247: +9 -3 lines
Diff to previous 1.247 (colored)

Add -S option to refresh-client to redraw status line, from Marco Beck.

Revision 1.247 / (download) - annotate - [select for diffs], Fri Sep 23 18:33:43 2011 UTC (12 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.246: +12 -8 lines
Diff to previous 1.246 (colored)

Tweaks to the format parts, from Tiago Cunha.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Aug 26 13:07:49 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.245: +5 -5 lines
Diff to previous 1.245 (colored)

tweak previous;

Revision 1.245 / (download) - annotate - [select for diffs], Fri Aug 26 10:53:16 2011 UTC (12 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.244: +78 -1 lines
Diff to previous 1.244 (colored)

Add initial framework for more powerful formatting of command output and
use it for list-{panes,windows,sessions}. This allows more descriptive
replacements (such as #{session_name}) and conditionals.

Later this will be used for status_replace and list-keys and other
places.

Revision 1.244 / (download) - annotate - [select for diffs], Wed Aug 24 10:46:01 2011 UTC (12 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.243: +7 -3 lines
Diff to previous 1.243 (colored)

Support \ for line continuation in the configuration file, from Julius
Plenz.

Revision 1.243 / (download) - annotate - [select for diffs], Wed Aug 24 10:29:57 2011 UTC (12 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.242: +7 -2 lines
Diff to previous 1.242 (colored)

Add pane-base-index option, from Ben Barbour.

Revision 1.242 / (download) - annotate - [select for diffs], Tue Aug 16 10:00:52 2011 UTC (12 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.241: +9 -3 lines
Diff to previous 1.241 (colored)

Add a -r flag to switch-client to toggle the client read-only flag. From
Johan Commelin.

Revision 1.241 / (download) - annotate - [select for diffs], Sat Jul 30 18:27:57 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.240: +3 -4 lines
Diff to previous 1.240 (colored)

fix error in previous;

Revision 1.240 / (download) - annotate - [select for diffs], Sat Jul 30 18:01:26 2011 UTC (12 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.239: +8 -3 lines
Diff to previous 1.239 (colored)

Extend the mode-mouse option to add a third choice which means the mouse
does not enter copy mode. Patch from SF bug 3374493.

In future the mode-mouse option is likely to die and be broken into
several smaller options.

Revision 1.239 / (download) - annotate - [select for diffs], Mon Jul 25 09:57:28 2011 UTC (12 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.238: +39 -39 lines
Diff to previous 1.238 (colored)

Sort options alphabetically, from Tiago Cunha.

Revision 1.238 / (download) - annotate - [select for diffs], Fri Jul 8 06:37:57 2011 UTC (12 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.237: +12 -1 lines
Diff to previous 1.237 (colored)

Make confirm-before prompt customizable with -p option like
command-prompt. Also move responsibility for calling status_replace into
status_prompt_{set,update} and add #W and #P to the default kill-window
and kill-pane prompts. By Tiago Cunha.

Revision 1.237 / (download) - annotate - [select for diffs], Sun Jul 3 19:07:54 2011 UTC (12 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.236: +7 -2 lines
Diff to previous 1.236 (colored)

Add an option to trigger the terminal bell when there is an alert, from
Marco Beck.

Revision 1.236 / (download) - annotate - [select for diffs], Sun Jul 3 18:18:15 2011 UTC (12 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.235: +4 -2 lines
Diff to previous 1.235 (colored)

Include the existing window and session name in the prompt when renaming
and add a new key binding ($) for rename session. From Tiago Cunha.

Revision 1.235 / (download) - annotate - [select for diffs], Sat Jul 2 21:05:44 2011 UTC (12 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.234: +10 -3 lines
Diff to previous 1.234 (colored)

Allow the initial context on prompts to be set with the new -I option to
command-prompt. From Tiago Cunha.

Revision 1.234 / (download) - annotate - [select for diffs], Sun Jun 5 11:19:03 2011 UTC (12 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.233: +17 -2 lines
Diff to previous 1.233 (colored)

Add a respawn-pane command, from Marcel Partap.

Revision 1.233 / (download) - annotate - [select for diffs], Mon May 30 21:02:28 2011 UTC (12 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.232: +3 -3 lines
Diff to previous 1.232 (colored)

Fix a typo, spotted by Michal Mazurek..

Revision 1.232 / (download) - annotate - [select for diffs], Sat May 21 10:04:17 2011 UTC (13 years ago) by jmc
Branch: MAIN
Changes since 1.231: +23 -22 lines
Diff to previous 1.231 (colored)

tweak the TERMINFO section; ok nicm

Revision 1.231 / (download) - annotate - [select for diffs], Fri May 20 19:29:13 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.230: +9 -2 lines
Diff to previous 1.230 (colored)

Pass prompts through status_replace so that they can be more helpful
(such as showing the previous session name when renaming). From Tiago
Cunha.

Revision 1.230 / (download) - annotate - [select for diffs], Fri May 20 19:17:39 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.229: +15 -2 lines
Diff to previous 1.229 (colored)

Support DECSCUSR sequence to set the cursor style with two new
terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.

Revision 1.229 / (download) - annotate - [select for diffs], Fri May 20 19:03:58 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.228: +10 -1 lines
Diff to previous 1.228 (colored)

Support xterm(1) cursor colour change sequences through terminfo(5) Cc
(set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked
by me and Ailin Nemui.

Revision 1.228 / (download) - annotate - [select for diffs], Wed May 18 20:24:29 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.227: +39 -2 lines
Diff to previous 1.227 (colored)

Support setting the xterm clipboard when copying from copy mode using
the xterm escape sequence for the purpose (if xterm is configured to
allow it).

Written by and much discussed Ailin Nemui, guidance on
xterm/termcap/terminfo from Thomas Dickey.

Revision 1.227 / (download) - annotate - [select for diffs], Wed May 18 18:06:36 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.226: +2 -2 lines
Diff to previous 1.226 (colored)

Add three new copy-mode commands - select-line, copy-line,
copy-end-of-line. From Dave Disser and Randy Stauner a while back.

Revision 1.226 / (download) - annotate - [select for diffs], Sun May 8 20:34:12 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.225: +8 -2 lines
Diff to previous 1.225 (colored)

Add a new option, mouse-resize-pane. When on, panes may be resized by
dragging their borders. From hsim at gmx.li.

Revision 1.225 / (download) - annotate - [select for diffs], Sun May 8 19:53:06 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.224: +3 -3 lines
Diff to previous 1.224 (colored)

Use the tsl and fsl terminfo(5) capabilities to update terminal title
and automatically fill them in on terminals with the XT capability
(which means their title setting is xterm-compatible). From hsim at
gmx.li.

Revision 1.224 / (download) - annotate - [select for diffs], Sun Apr 24 21:32:07 2011 UTC (13 years ago) by nicm
Branch: MAIN
Changes since 1.223: +3 -2 lines
Diff to previous 1.223 (colored)

Provide #h for short hostname (no domain) from Michal Mazurek.

Revision 1.223 / (download) - annotate - [select for diffs], Tue Apr 19 21:31:33 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.222: +5 -4 lines
Diff to previous 1.222 (colored)

When mode-mouse is on (it is off by default), automatically enter copy
mode when the mouse is dragged or the mouse wheel is used. Also exit
copy mode when the mouse wheel is scrolled off the bottom. Discussed
with and written by hsim at gmx dot li.

Revision 1.222 / (download) - annotate - [select for diffs], Mon Apr 18 19:49:05 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.221: +6 -1 lines
Diff to previous 1.221 (colored)

Add an option (mouse-select-window) which allows the mouse to be used by
clicking on the status line, written by hsim at gmx dot li.

Revision 1.221 / (download) - annotate - [select for diffs], Sun Apr 17 20:39:44 2011 UTC (13 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.220: +4 -3 lines
Diff to previous 1.220 (colored)

new sentence, new line;

Revision 1.220 / (download) - annotate - [select for diffs], Sun Apr 17 19:28:09 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.219: +5 -3 lines
Diff to previous 1.219 (colored)

Add -t to list-clients, based on a diff from Zac Sprackett.

Revision 1.219 / (download) - annotate - [select for diffs], Mon Apr 11 16:44:36 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.218: +3 -3 lines
Diff to previous 1.218 (colored)

-s comes before -t and also add -s to command syntax. Prompted by jmc.

Revision 1.218 / (download) - annotate - [select for diffs], Mon Apr 11 06:44:39 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.217: +7 -4 lines
Diff to previous 1.217 (colored)

Add -s option to detach all clients attached to a session, from Zac
Sprackett.

Revision 1.217 / (download) - annotate - [select for diffs], Tue Apr 5 19:37:01 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.216: +13 -2 lines
Diff to previous 1.216 (colored)

Add a flag to cmd_find_session so that attach-session can prefer
unattached sessions when choosing the most recently used (if -t is not
given). Suggested by claudio@.

Revision 1.216 / (download) - annotate - [select for diffs], Fri Apr 1 16:59:11 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.215: +4 -3 lines
Diff to previous 1.215 (colored)

"or" should be on a line on its own here so it is not emphasised as
well.

Revision 1.215 / (download) - annotate - [select for diffs], Tue Mar 29 19:30:16 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.214: +9 -3 lines
Diff to previous 1.214 (colored)

Change -t on display-message to be target-pane for the #[A-Z]
replacements and add -c as target-client.

Revision 1.214 / (download) - annotate - [select for diffs], Mon Mar 28 23:13:00 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.213: +27 -7 lines
Diff to previous 1.213 (colored)

Add -a and -s options to lsp to list all panes in the server or session
respectively. Likewise add -s to lsw. From Ben Boeckel.

Revision 1.213 / (download) - annotate - [select for diffs], Mon Mar 28 20:17:39 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.212: +11 -2 lines
Diff to previous 1.212 (colored)

Allow a start and end line to be specified for capture-pane which may be
negative to capture part of the history. Prompted by request from Victor
J Orlikowski.

Revision 1.212 / (download) - annotate - [select for diffs], Sun Mar 27 20:27:26 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.211: +13 -2 lines
Diff to previous 1.211 (colored)

Give each pane created in a tmux server a unique id (starting from 0),
put it in the TMUX_PANE environment variable and accept it as a
target. Suggested by and with testing and tweaks from Ben Boeckel.

Revision 1.211 / (download) - annotate - [select for diffs], Thu Mar 3 08:51:47 2011 UTC (13 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.210: +10 -3 lines
Diff to previous 1.210 (colored)

Add a -P option to detach to HUP the client's parent process (usually
causing it to exit as well).

Revision 1.210 / (download) - annotate - [select for diffs], Fri Jan 14 23:49:23 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.209: +11 -2 lines
Diff to previous 1.209 (colored)

Support -x and -y for new-session to specify the initial size of the
window if created detached with -d.

Revision 1.209 / (download) - annotate - [select for diffs], Thu Jan 13 09:50:11 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.208: +7 -4 lines
Diff to previous 1.208 (colored)

Clarify alternate-screen description a little.

Revision 1.208 / (download) - annotate - [select for diffs], Wed Jan 12 22:23:58 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.207: +5 -2 lines
Diff to previous 1.207 (colored)

Use TMPDIR if set, from Han Boetes.

Revision 1.207 / (download) - annotate - [select for diffs], Sun Jan 9 18:46:46 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.206: +3 -4 lines
Diff to previous 1.206 (colored)

Remove a bit of text that makes exit-unattached description unclear.

Revision 1.206 / (download) - annotate - [select for diffs], Sun Jan 9 18:42:19 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.205: +15 -7 lines
Diff to previous 1.205 (colored)

Add missing arguments to some options.

Revision 1.205 / (download) - annotate - [select for diffs], Sat Jan 8 00:48:54 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.204: +7 -4 lines
Diff to previous 1.204 (colored)

Accept colours of the hex form #ffffff and translate to the nearest from
the xterm(1) 256-colour set.

Revision 1.204 / (download) - annotate - [select for diffs], Tue Jan 4 02:03:41 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.203: +30 -4 lines
Diff to previous 1.203 (colored)

Now that parsing is common, merge some of the small, related commands
together to use the same code.

Also add some arguments (such as -n and -p) to some commands to match
existing commands.

Revision 1.203 / (download) - annotate - [select for diffs], Mon Jan 3 23:35:21 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.202: +5 -1 lines
Diff to previous 1.202 (colored)

Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
and supports larger terminals than the older way.

If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.

With help and based on code from hsim at gmx.li.

Revision 1.202 / (download) - annotate - [select for diffs], Sat Jan 1 11:24:45 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.201: +3 -3 lines
Diff to previous 1.201 (colored)

suspend-client has used -t for the client target (like everything else)
for ages, fix the usage string and man page and trim some leftover code.

Revision 1.201 / (download) - annotate - [select for diffs], Sat Jan 1 01:33:07 2011 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.200: +8 -4 lines
Diff to previous 1.200 (colored)

Add a -P option to new-window and split-window to print the new window
or pane index in target form (useful to pass it into other commands).

Revision 1.200 / (download) - annotate - [select for diffs], Fri Dec 31 00:41:11 2010 UTC (13 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.199: +2 -2 lines
Diff to previous 1.199 (colored)

fix trailing whitespace;

Revision 1.199 / (download) - annotate - [select for diffs], Thu Dec 30 23:17:41 2010 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.198: +3 -4 lines
Diff to previous 1.198 (colored)

Fix BUFFERS section now they are global.

Revision 1.198 / (download) - annotate - [select for diffs], Thu Dec 30 23:16:18 2010 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.197: +9 -25 lines
Diff to previous 1.197 (colored)

Change from a per-session stack of buffers to one global stack which is
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.

By Tiago Cunha.

Revision 1.197 / (download) - annotate - [select for diffs], Mon Dec 27 19:57:31 2010 UTC (13 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.196: +3 -4 lines
Diff to previous 1.196 (colored)

tweak previous;

Revision 1.196 / (download) - annotate - [select for diffs], Mon Dec 27 18:22:25 2010 UTC (13 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.195: +30 -30 lines
Diff to previous 1.195 (colored)

Add a missing .Pp and sort options alphabetically, from Tiago Cunha.

Revision 1.195 / (download) - annotate - [select for diffs], Sun Dec 19 18:35:08 2010 UTC (13 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.194: +21 -2 lines
Diff to previous 1.194 (colored)

Add other-pane-height and other-pane-width options, allowing the width
or height of the smaller panes in the main-horizontal and main-vertical
layouts to be set. Mostly from David Goodlad.

Revision 1.194 / (download) - annotate - [select for diffs], Sat Dec 11 18:39:25 2010 UTC (13 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.193: +8 -4 lines
Diff to previous 1.193 (colored)

Track the last session for a client and add a flag to switch-client and
a key binding (L) to move a client back to its last session.

Revision 1.193 / (download) - annotate - [select for diffs], Fri Dec 10 21:01:38 2010 UTC (13 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.192: +5 -5 lines
Diff to previous 1.192 (colored)

Rephrase a confusing sentence.

Revision 1.192 / (download) - annotate - [select for diffs], Mon Dec 6 22:51:02 2010 UTC (13 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.191: +19 -2 lines
Diff to previous 1.191 (colored)

Add an option to alert (monitor) for silence (lack of activity) in a
window. From Thomas Adam.

Revision 1.191 / (download) - annotate - [select for diffs], Mon Nov 29 19:45:58 2010 UTC (13 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.190: +16 -4 lines
Diff to previous 1.190 (colored)

If VISUAL or EDITOR contains "vi", configure mode-keys and status-keys
to vi.

Based on a diff from martynas@, previously requested by a couple of
other people.

Revision 1.190 / (download) - annotate - [select for diffs], Sun Nov 14 09:04:22 2010 UTC (13 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.189: +4 -3 lines
Diff to previous 1.189 (colored)

Update man page for update-environment.

Revision 1.189 / (download) - annotate - [select for diffs], Thu Nov 11 20:54:06 2010 UTC (13 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.188: +6 -3 lines
Diff to previous 1.188 (colored)

Flag to flush all key bindings from Rob Paisley.

Revision 1.188 / (download) - annotate - [select for diffs], Mon Nov 1 20:59:45 2010 UTC (13 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.187: +3 -3 lines
Diff to previous 1.187 (colored)

Typo, from Rob Paisley.

Revision 1.187 / (download) - annotate - [select for diffs], Sat Oct 23 13:04:34 2010 UTC (13 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.186: +7 -2 lines
Diff to previous 1.186 (colored)

Add a last-pane command (bound to ; by default). Requested ages ago by
somebody whose name I have forgotten.

Revision 1.186 / (download) - annotate - [select for diffs], Thu Oct 14 00:30:03 2010 UTC (13 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.185: +4 -3 lines
Diff to previous 1.185 (colored)

Put "or" on new line from command with .Ic.

Revision 1.185 / (download) - annotate - [select for diffs], Sun Sep 26 20:43:30 2010 UTC (13 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.184: +8 -2 lines
Diff to previous 1.184 (colored)

Two new options:

- server option "exit-unattached" makes the server exit when no clients
  are attached, even if sessions are present;

- session option "destroy-unattached" destroys a session once no clients
  are attached to it.

These are useful for preventing tmux remaining in the background where
it is undesirable and when using tmux as a login shell to keep a limit
on new sessions.

Revision 1.184 / (download) - annotate - [select for diffs], Sat Sep 25 20:35:52 2010 UTC (13 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.183: +7 -7 lines
Diff to previous 1.183 (colored)

detach-on-destroy is a session option, not server.

Revision 1.183 / (download) - annotate - [select for diffs], Wed Sep 8 22:02:28 2010 UTC (13 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.182: +8 -2 lines
Diff to previous 1.182 (colored)

Add -n and -p flags to switch-client to move to the next and previous
session (yes, it doesn't match window/pane, but so what, nor does
switch-client).

Based on a diff long ago from "edsouza".

Revision 1.182 / (download) - annotate - [select for diffs], Thu Jul 15 21:54:20 2010 UTC (13 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.181: +4 -4 lines
Diff to previous 1.181 (colored)

some escapes i missed;

Revision 1.181 / (download) - annotate - [select for diffs], Tue Jun 29 03:30:14 2010 UTC (13 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.180: +20 -2 lines
Diff to previous 1.180 (colored)

Custom layouts. list-windows command displays the layout as a string (such as
"bb62,159x48,0,0{79x48,0,0,79x48,80,0}") and it can be applied to another
window (with the same number of panes or fewer) using select-layout.

Revision 1.180 / (download) - annotate - [select for diffs], Sun Jun 27 02:56:59 2010 UTC (13 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.179: +4 -3 lines
Diff to previous 1.179 (colored)

Store the current working directory in the session, change the default-path
option to default to empty and make that mean that the stored session CWD is
used.

Revision 1.179 / (download) - annotate - [select for diffs], Sun Jun 27 00:22:22 2010 UTC (13 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.178: +6 -1 lines
Diff to previous 1.178 (colored)

New option, detach-on-destroy, to set what happens to a client when the session
it is attached to is destroyed. If on (the default), it is detached; if off, it
is switched to the most recently active session.

Revision 1.178 / (download) - annotate - [select for diffs], Mon Jun 21 21:44:09 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.177: +21 -2 lines
Diff to previous 1.177 (colored)

Add a choose-buffer command for easier use of the paste buffer stack.

Revision 1.177 / (download) - annotate - [select for diffs], Mon Jun 21 01:46:36 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.176: +14 -2 lines
Diff to previous 1.176 (colored)

Extend the -t:+ and -t:- window targets for next and previous window to
accept an offset such as -t:+2. From Tiago Cunha.

Revision 1.176 / (download) - annotate - [select for diffs], Mon Jun 14 23:04:44 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.175: +8 -3 lines
Diff to previous 1.175 (colored)

Add a missing command and some missing Ic, from Tiago Cunha.

Revision 1.175 / (download) - annotate - [select for diffs], Sat Jun 5 16:54:24 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.174: +7 -9 lines
Diff to previous 1.174 (colored)

Couple of missing command aliases/flags, from Tiago Cunha.

Revision 1.174 / (download) - annotate - [select for diffs], Sat Jun 5 16:34:30 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.173: +8 -3 lines
Diff to previous 1.173 (colored)

Support the status_replace # replacement sequences in the pipe-pane
command, thanks to Andrea Barisani.

Revision 1.173 / (download) - annotate - [select for diffs], Mon May 31 19:51:29 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.172: +3 -5 lines
Diff to previous 1.172 (colored)

When the mode-mouse option is on, support dragging to make a selection
in copy mode.

Also support the scroll wheel, although xterm strangely does not ignore
it in application mouse mode, causing redraw artifacts when scrolling up
(other terminals appear to be better behaved).

Revision 1.172 / (download) - annotate - [select for diffs], Sun May 30 19:19:42 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored)

Better to say "command key bindings" since we've just called them
command keys.

Revision 1.171 / (download) - annotate - [select for diffs], Sun May 30 19:09:50 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.170: +91 -15 lines
Diff to previous 1.170 (colored)

There is no real reason not to list all the key bindings here rather
than just a selection.

Revision 1.170 / (download) - annotate - [select for diffs], Wed May 19 22:28:14 2010 UTC (14 years ago) by nicm
Branch: MAIN
Changes since 1.169: +8 -4 lines
Diff to previous 1.169 (colored)

Enhance paste-buffer to allow lines to be separated by any string, from
Andrea Barisani.

Revision 1.169 / (download) - annotate - [select for diffs], Fri May 14 19:03:09 2010 UTC (14 years ago) by nicm
Branch: MAIN
Changes since 1.168: +12 -2 lines
Diff to previous 1.168 (colored)

Colour+attribute options for status line alerts, from Alex Alexander.

Revision 1.168 / (download) - annotate - [select for diffs], Fri May 14 18:56:21 2010 UTC (14 years ago) by nicm
Branch: MAIN
Changes since 1.167: +3 -3 lines
Diff to previous 1.167 (colored)

Accept (and document) "none" instead of "default" for attributes as it
is clearer and avoids confusion with default colours.

Revision 1.167 / (download) - annotate - [select for diffs], Wed May 5 23:24:23 2010 UTC (14 years ago) by nicm
Branch: MAIN
Changes since 1.166: +3 -7 lines
Diff to previous 1.166 (colored)

Identical behaviour to select-prompt can now be obtained with
command-prompt, so remove select-prompt and change ' to be bound to
command-prompt -p index "select-window -t :%%".

Revision 1.166 / (download) - annotate - [select for diffs], Sun May 2 15:19:35 2010 UTC (14 years ago) by sobrado
Branch: MAIN
Changes since 1.165: +6 -6 lines
Diff to previous 1.165 (colored)

sort options.

Revision 1.165 / (download) - annotate - [select for diffs], Sun Apr 25 20:28:13 2010 UTC (14 years ago) by nicm
Branch: MAIN
Changes since 1.164: +5 -2 lines
Diff to previous 1.164 (colored)

Add a tiled layout, originally from Liam Bedford a while ago, fixed up
by me.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Apr 6 21:35:44 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.163: +14 -16 lines
Diff to previous 1.163 (colored)

Merge copy mode and output mode, dropping the latter. Idea and code from
Micah Cowan.

Revision 1.163 / (download) - annotate - [select for diffs], Mon Apr 5 17:46:05 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.162: +9 -1 lines
Diff to previous 1.162 (colored)

Mention title setting, and the new default.

Revision 1.162 / (download) - annotate - [select for diffs], Sun Apr 4 21:23:20 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.161: +4 -5 lines
Diff to previous 1.161 (colored)

tweak;

Revision 1.161 / (download) - annotate - [select for diffs], Sun Apr 4 19:02:09 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.160: +6 -2 lines
Diff to previous 1.160 (colored)

Run job commands explicitly in the global enviroment (which can be
modified with setenv -g) rather than with the environment tmux started
with.

Revision 1.160 / (download) - annotate - [select for diffs], Sat Mar 27 11:46:58 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.159: +12 -3 lines
Diff to previous 1.159 (colored)

-a flag to insert a window after an existing one, moving other windows
up necessary.

Revision 1.159 / (download) - annotate - [select for diffs], Fri Mar 26 19:30:40 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.158: +3 -3 lines
Diff to previous 1.158 (colored)

dispense with some wacky escape sequences;

Revision 1.158 / (download) - annotate - [select for diffs], Mon Mar 22 19:13:28 2010 UTC (14 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.157: +4 -3 lines
Diff to previous 1.157 (colored)

paste-buffer should be per pane, from C. Coutinho.

Revision 1.157 / (download) - annotate - [select for diffs], Mon Mar 22 19:10:42 2010 UTC (14 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.156: +19 -3 lines
Diff to previous 1.156 (colored)

Add vi-style "jump" commands for copy mode, from Micah Cowan.

Revision 1.156 / (download) - annotate - [select for diffs], Mon Mar 22 19:07:52 2010 UTC (14 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.155: +21 -13 lines
Diff to previous 1.155 (colored)

Support up, down, left, right movement through panes with -UDLR flags to
select-pane.

Also REMOVE the up- and down-pane commands: equivalent behaviour is now
available using -t :.+ and -t :.-.

Revision 1.155 / (download) - annotate - [select for diffs], Tue Mar 2 00:32:41 2010 UTC (14 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.154: +12 -3 lines
Diff to previous 1.154 (colored)

Permit keys in copy mode to be prefixed by a repeat count, entered with
[1-9] in vi mode, or M-[1-9] in emacs mode.

From Micah Cowan, tweaked a little by me.

Revision 1.154 / (download) - annotate - [select for diffs], Mon Feb 22 20:41:16 2010 UTC (14 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.153: +14 -5 lines
Diff to previous 1.153 (colored)

Option to set the characters considered word separators in copy mode, from
Micah Cowan.

Revision 1.153 / (download) - annotate - [select for diffs], Wed Feb 17 21:12:06 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.152: +110 -32 lines
Diff to previous 1.152 (colored)

Man page additions/improvements, thanks to Robin Lee Powell.

Revision 1.152 / (download) - annotate - [select for diffs], Thu Feb 11 20:39:40 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.151: +3 -2 lines
Diff to previous 1.151 (colored)

Add "N" key to search the opposite way from the last search (reverse of "n"),
from Micah Cowan.

Revision 1.151 / (download) - annotate - [select for diffs], Wed Feb 10 19:17:27 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.150: +4 -3 lines
Diff to previous 1.150 (colored)

Clarify default status-right, from Seth Wright.

Revision 1.150 / (download) - annotate - [select for diffs], Mon Feb 8 00:14:38 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.149: +15 -2 lines
Diff to previous 1.149 (colored)

Add an option to disable the smcup/rmcup alternate screen behaviour inside
tmux. From clemens fischer.

Revision 1.149 / (download) - annotate - [select for diffs], Sun Feb 7 20:33:27 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored)

next-layout is bound to Space not C-Space.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Feb 6 22:55:31 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.147: +7 -3 lines
Diff to previous 1.147 (colored)

Support attaching a client read-only with a new -r flag to the attach-session
command.

Revision 1.147 / (download) - annotate - [select for diffs], Sat Feb 6 17:35:01 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.146: +2 -1 lines
Diff to previous 1.146 (colored)

Rectangle copy support, from Robin Lee Powell.

Revision 1.146 / (download) - annotate - [select for diffs], Thu Feb 4 20:00:26 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.145: +18 -3 lines
Diff to previous 1.145 (colored)

vi-style B, W and E keys in copy mode to navigate between words treating only
spaces as word separators. Also add . to the list of word separators for
standard word navigation.

From Micah Cowan, tweaked slightly by me.

Revision 1.145 / (download) - annotate - [select for diffs], Thu Feb 4 18:20:16 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.144: +11 -6 lines
Diff to previous 1.144 (colored)

Option to display the active pane in a different colour with the display-panes
command. From Paul Hoffman, thanks.

Revision 1.144 / (download) - annotate - [select for diffs], Thu Jan 28 19:09:12 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.143: +3 -3 lines
Diff to previous 1.143 (colored)

Typo, from Micah Cowan.

Revision 1.143 / (download) - annotate - [select for diffs], Wed Jan 27 20:18:52 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.142: +4 -3 lines
Diff to previous 1.142 (colored)

Alter next-word to have vi-like movement behaviour, and add next-word-end with
the existing emacs behaviour. From Micah Cowan.

Revision 1.142 / (download) - annotate - [select for diffs], Mon Jan 25 21:33:39 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.141: +5 -3 lines
Diff to previous 1.141 (colored)

Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.

Revision 1.141 / (download) - annotate - [select for diffs], Sat Jan 23 17:49:21 2010 UTC (14 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.140: +5 -5 lines
Diff to previous 1.140 (colored)

Use C-e and C-y for scrolling in vi mode, from Micah Cowan.

Revision 1.140 / (download) - annotate - [select for diffs], Tue Jan 19 21:27:47 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.139: +9 -2 lines
Diff to previous 1.139 (colored)

Permit !, + and - to be used for window targets to specify last window (!), or
next and previous window by number (+ and -).

Also tidy an if in cmd-new-window.c.

Revision 1.139 / (download) - annotate - [select for diffs], Mon Jan 18 19:16:04 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.138: +3 -2 lines
Diff to previous 1.138 (colored)

Missing Pp, from Tiago Cunha.

Revision 1.138 / (download) - annotate - [select for diffs], Thu Jan 14 22:10:47 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.137: +5 -1 lines
Diff to previous 1.137 (colored)

Document swap-pane -d.

Revision 1.137 / (download) - annotate - [select for diffs], Thu Jan 7 20:52:18 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.136: +20 -2 lines
Diff to previous 1.136 (colored)

New command, join-pane, to split and move an existing pane into the space (like
splitw then movep, or the reverse of breakp).

Revision 1.136 / (download) - annotate - [select for diffs], Thu Jan 7 19:47:10 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.135: +7 -6 lines
Diff to previous 1.135 (colored)

Change split-window to accept a pane target (it should be split-pane but
renaming the command would be annoying).

Revision 1.135 / (download) - annotate - [select for diffs], Sun Jan 3 12:51:05 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.134: +8 -2 lines
Diff to previous 1.134 (colored)

Options to set the colour of the pane borders, with different colours for the
active pane.

Revision 1.134 / (download) - annotate - [select for diffs], Mon Dec 14 10:43:41 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.133: +10 -4 lines
Diff to previous 1.133 (colored)

New server option, escape-time, to set the timeout used to detect if escapes
are alone or part of a function key or meta sequence.

Revision 1.133 / (download) - annotate - [select for diffs], Thu Dec 10 09:16:52 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.132: +58 -31 lines
Diff to previous 1.132 (colored)

Add "server options" which are server-wide and not bound to a session or
window. Set and displayed with "set -s" and "show -s".

Currently the only option is "quiet" (like command-line -q, allowing it to be
set from .tmux.conf), but others will come along.

Revision 1.132 / (download) - annotate - [select for diffs], Tue Dec 8 07:49:31 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.131: +11 -1 lines
Diff to previous 1.131 (colored)

Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right
pane can be identified.

Revision 1.131 / (download) - annotate - [select for diffs], Thu Dec 3 22:54:34 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.130: +11 -9 lines
Diff to previous 1.130 (colored)

Wrap at 80 columns.

Revision 1.130 / (download) - annotate - [select for diffs], Thu Dec 3 22:50:10 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.129: +4 -4 lines
Diff to previous 1.129 (colored)

Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

Revision 1.129 / (download) - annotate - [select for diffs], Thu Dec 3 17:44:02 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.128: +20 -6 lines
Diff to previous 1.128 (colored)

Eliminate duplicate code and ease the passage for server-wide options by adding
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.

Note: setw and showw are still there, but now aliases for set -w and show -w.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Dec 1 18:42:38 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.127: +9 -2 lines
Diff to previous 1.127 (colored)

New command, capture-pane, which copies the entire pane contents to a paste
buffer. From Jonathan Alvarado.

Revision 1.127 / (download) - annotate - [select for diffs], Tue Nov 24 19:16:11 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.126: +9 -3 lines
Diff to previous 1.126 (colored)

Add a -p flag to display-message to print the output rather than displaying in
the status line, this allows things like "display -p '#W'" to find the current
window index.

Revision 1.126 / (download) - annotate - [select for diffs], Sun Nov 22 22:52:39 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.125: +5 -1 lines
Diff to previous 1.125 (colored)

Add cursor keys to the key names list.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Nov 19 16:22:10 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.124: +22 -3 lines
Diff to previous 1.124 (colored)

Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.

This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.

Revision 1.124 / (download) - annotate - [select for diffs], Thu Nov 19 15:00:32 2009 UTC (14 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.123: +3 -2 lines
Diff to previous 1.123 (colored)

tweak previous;

Revision 1.123 / (download) - annotate - [select for diffs], Thu Nov 19 14:06:33 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.122: +3 -3 lines
Diff to previous 1.122 (colored)

Revert to xterm-keys off by default. It was on as an experiment to see if the
option could be removed, but it affects vi, so we have to keep the option, and
a conservative default is better.

Revision 1.122 / (download) - annotate - [select for diffs], Thu Nov 19 10:22:07 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.121: +6 -5 lines
Diff to previous 1.121 (colored)

Don't interpret #() for display-message, it usually doesn't make sense and may
leak commands.

Revision 1.121 / (download) - annotate - [select for diffs], Wed Nov 18 17:02:17 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid
data into functions in a new file, grid-utf8.c, and use sizeof intead of
UTF8_DATA.

Also nuke trailing whitespace from tmux.1, reminded by jmc.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Nov 18 13:16:33 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.119: +16 -2 lines
Diff to previous 1.119 (colored)

Add a per-client log of status line messages displayed while that client
exists. A new message-limit session option sets the maximum number of entries
and a command, show-messages, shows the log (bound to ~ by default).

This (and prompt history) might be better as a single global log but until
there are global options it is easier for them to be per client.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Nov 18 10:18:25 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.118: +4 -3 lines
Diff to previous 1.118 (colored)

Mark -n keys with (no prefix) rather than [].

Revision 1.118 / (download) - annotate - [select for diffs], Tue Nov 10 18:53:11 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

There is no real standard for modifier plus function keys. Previously, tmux
output some from rxvt but in other ways did the same as xterm or other
terminals, but this is a bit inconsistent.

xterm's method is fairly sensible and we already support it (xterm-keys), so
enable it by default instead.

Revision 1.117 / (download) - annotate - [select for diffs], Tue Nov 3 22:40:40 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

Add an activity time for clients, like for sessions, and change session and
client lookup to pick the most recently used rather than the most recently
created - this is much more useful when used interactively and (because the
activity time is set at creation) should have no effect on source-file.

Based on a problem reported by Jan Johansson.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Nov 3 06:55:49 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.115: +8 -6 lines
Diff to previous 1.115 (colored)

Fix vi page up mode key (from naddy), add missing half page keys, and sort.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Nov 1 19:17:08 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.114: +3 -1 lines
Diff to previous 1.114 (colored)

Missing setenv/showenv aliases.

Revision 1.114 / (download) - annotate - [select for diffs], Sun Oct 25 21:12:15 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.113: +3 -7 lines
Diff to previous 1.113 (colored)

Remove -d from tmux.1 as well.

Revision 1.113 / (download) - annotate - [select for diffs], Sun Oct 25 01:10:57 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

[ is a punctuation character and should be escaped with Ql. Although the
current groff version we have seems to handle it fine, other versions are not
so tolerant.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Oct 24 10:12:39 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.111: +10 -3 lines
Diff to previous 1.111 (colored)

-a option to kill all except current pane. From Tiago Cunha, thanks!

Revision 1.111 / (download) - annotate - [select for diffs], Wed Oct 21 13:48:27 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.110: +4 -4 lines
Diff to previous 1.110 (colored)

Tweak descriptions for up/down pane to be clearer.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Oct 13 13:45:56 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.109: +5 -2 lines
Diff to previous 1.109 (colored)

Add mode keys to move the cursor to the top, middle and bottom of the screen.
H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).

Revision 1.109 / (download) - annotate - [select for diffs], Mon Oct 12 11:08:02 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.108: +9 -5 lines
Diff to previous 1.108 (colored)

Permit attributes to be turned off in #[] by prefixing with "no", for example
"noblink".

Revision 1.108 / (download) - annotate - [select for diffs], Sun Oct 11 14:12:10 2009 UTC (14 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored)

punctuation fix;

Revision 1.107 / (download) - annotate - [select for diffs], Sun Oct 11 10:04:27 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.106: +26 -2 lines
Diff to previous 1.106 (colored)

Add a pipe-pane command to allow a pane to be piped to a shell command, for
example:

	pipe-pane 'cat >~/out'

No arguments stops outputing and closes the pipe; the -o flag toggles a pipe
and on and off (useful for key bindings).

Suggested by espie@.

Revision 1.106 / (download) - annotate - [select for diffs], Sun Oct 11 08:58:05 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

Switch run-shell over to queue the command in the background like #().

Revision 1.105 / (download) - annotate - [select for diffs], Sat Oct 10 17:39:55 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

-scroll mode which is dead.

Revision 1.104 / (download) - annotate - [select for diffs], Sat Oct 10 17:19:38 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.103: +5 -1 lines
Diff to previous 1.103 (colored)

Split list-panes off from list-windows.

Revision 1.103 / (download) - annotate - [select for diffs], Sat Oct 10 15:03:01 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.102: +6 -1 lines
Diff to previous 1.102 (colored)

Rather than running status-left, status-right and window title #() with popen
immediately every redraw, queue them up and run them in the background,
starting each once every status-interval. The actual status line uses the
output from the last run.

This brings several advantages:

- tmux itself may be called from inside #() without causing the server to hang;
- likewise, sleep or similar doesn't cause the server to block;
- commands aren't run excessively often when redrawing;
- commands shared by status-left and status-right, or used multiple times, will
  only be run once.

run-shell and if-shell still use system()/popen() but will be changed over to
use this too later.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Oct 10 14:51:16 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.101: +10 -2 lines
Diff to previous 1.101 (colored)

New option, mouse-select-pane. If on, the mouse may be used to select the
current pane.

Suggested by sthen@ and also by someone else ages ago who I have forgotten.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Oct 10 10:02:48 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.100: +23 -2 lines
Diff to previous 1.100 (colored)

Add "grouped sessions" which have independent name, options, current window and
so on but where the linked windows are synchronized (ie creating, killing
windows and so on are mirrored between the sessions). A grouped session may be
created by passing -t to new-session.

Had this around for a while, tested by a couple of people.

Revision 1.100 / (download) - annotate - [select for diffs], Sat Oct 10 09:46:11 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.99: +21 -8 lines
Diff to previous 1.99 (colored)

Support for individual session idle time locking. May be enabled by turning off
the lock-server option (it is on by default). When this is off, each session
locks when it has been idle for the lock-after-time setting. When on, the
entire server locks when ALL sessions have been idle for their individual
lock-after-time settings.

This replaces one global-only option (lock-after-time) with another
(lock-server), but the default behaviour is usually preferable so there don't
seem to be many alternatives.

Diff/idea largely from Thomas Adam, tweaked by me.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Oct 9 07:27:00 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.98: +7 -2 lines
Diff to previous 1.98 (colored)

Add a simple synchronize-panes window option: when set, all input to any pane
that is part of the window is also sent to all other panes in the same
window. Suggested by several, most recently Tomasz Pajor.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Oct 7 15:58:40 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.97: +4 -4 lines
Diff to previous 1.97 (colored)

Support J and K for scroll up and scroll down in copy mode with vi keys,
suggested by martynas.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Oct 6 07:19:32 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.96: +3 -19 lines
Diff to previous 1.96 (colored)

Remove scroll mode which is now redundant, copy mode should be used instead.

The = key binding now does nothing.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Oct 6 07:09:00 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.95: +3 -1 lines
Diff to previous 1.95 (colored)

Make C-Up and C-Down in copy mode scroll the screen up and down one line
without moving the cursor, like Up and Down in scroll mode (which will shortly
disappear).

Revision 1.95 / (download) - annotate - [select for diffs], Sun Oct 4 11:33:35 2009 UTC (14 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.94: +4 -5 lines
Diff to previous 1.94 (colored)

tweak previous;

Revision 1.94 / (download) - annotate - [select for diffs], Sun Oct 4 11:18:26 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Get / and ? the right way round in vi mode, and use : for goto line rather than
g.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Oct 4 08:50:05 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.92: +46 -10 lines
Diff to previous 1.92 (colored)

Add a key string for space ("Space") and document the names, suggested by
guenther@. Also document how to bind " and ', suggested by miod@.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Sep 24 14:17:09 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.91: +14 -1 lines
Diff to previous 1.91 (colored)

New lock-client and lock-session commands to lock an individual client or all
clients attached to a session respectively.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Sep 23 12:03:31 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.90: +12 -2 lines
Diff to previous 1.90 (colored)

Support -c like sh(1) to execute a command, useful when tmux is a login
shell. Suggested by halex@.

This includes another protocol version increase (the last for now) so again
restart the tmux server before upgrading.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Sep 23 06:18:48 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.89: +15 -29 lines
Diff to previous 1.89 (colored)

Remove the internal tmux locking and instead detach each client and run the
command specified by a new option "lock-command" (by default "lock -np") in
each client.

This means each terminal has to be unlocked individually but simplifies the
code and allows the system password to be used to unlock.

Note that the set-password command is gone, so it will need to be removed from
configuration files, and the -U command line flag has been removed.

This is the third protocol version change so again it is best to stop the tmux
server before upgrading.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Sep 22 12:38:10 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.88: +8 -4 lines
Diff to previous 1.88 (colored)

Permit multiple prefix keys to be defined, separated by commas, for example:

set -g prefix ^a,^b

Any key in the list acts as the prefix. The send-prefix command always sends
the first key in the list.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Sep 21 07:45:10 2009 UTC (14 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

zap trailing whitespace;

Revision 1.87 / (download) - annotate - [select for diffs], Sun Sep 20 19:15:02 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.86: +11 -2 lines
Diff to previous 1.86 (colored)

run-shell command to run a shell command without opening a window, sending
stdout to output mode.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Sep 18 15:19:27 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.85: +9 -2 lines
Diff to previous 1.85 (colored)

New option, set-titles-string, to allow the window title to be specified (as
for status-left/right) if set-titles is on. Also only update the title when the
status line is being redrawn.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Sep 10 17:16:24 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.84: +6 -3 lines
Diff to previous 1.84 (colored)

Permit options such as status-bg to be configured using the entire 256 colour
palette by setting "colour0" to "colour255".

Revision 1.84 / (download) - annotate - [select for diffs], Mon Sep 7 21:12:12 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.83: +7 -2 lines
Diff to previous 1.83 (colored)

While the display-panes indicator is on screen, make the number keys select the
pane with that index.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Sep 7 10:49:32 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.82: +20 -2 lines
Diff to previous 1.82 (colored)

Permit embedded colour and attributes in status-left and status-right using new
#[] special characters, for example #[fg=red,bg=blue,blink].

Revision 1.82 / (download) - annotate - [select for diffs], Wed Sep 2 17:34:57 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.81: +6 -2 lines
Diff to previous 1.81 (colored)

Accept -l to make it easier for people who use tmux as a login shell to use
$SHELL. Originally from martynas@, tweaked by me.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Sep 2 16:38:35 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.80: +7 -2 lines
Diff to previous 1.80 (colored)

When incorrect passwords are entered, behave similarly to login(1) and backoff
for a bit. Based on a diff from martynas@.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Sep 2 06:33:20 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored)

Add a transpose-chars command in edit mode (C-t in emacs mode only). From Kalle
Olavi Niemitalo.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Sep 1 13:09:50 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.78: +23 -5 lines
Diff to previous 1.78 (colored)

When using tmux as a login shell, there is currently no way to specify a shell
to be used as a login shell inside tmux, so add a default-shell session option.
This sets the shell invoked as a login shell when the default-command option is
empty.

The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell
or /bin/sh is valid first.

Based on a diff from martynas@, changed by me to be a session option rather
than a window option.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Aug 31 20:46:19 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.77: +21 -3 lines
Diff to previous 1.77 (colored)

Add a new display-panes command, with two options (display-panes-colour and
display-panes-time), which displays a visual indication of the number of each
pane.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Aug 31 11:52:32 2009 UTC (14 years, 8 months ago) by stsp
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

squash typo
ok nicm@

Revision 1.76 / (download) - annotate - [select for diffs], Tue Aug 25 12:18:51 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.75: +51 -8 lines
Diff to previous 1.75 (colored)

Add a choose-client command and extend choose-{session,window} to accept a
template. After a choice is made, %% (or %1) in the template is replaced by the
name of the session, window or client suitable for -t and the result executed
as a command. So, for example, "choose-window "killw -t '%%'"" will kill the
selected window.

The defaults if no template is given are (as now) select-window for
choose-window, switch-client for choose-session, and detach-client for
choose-client (now bound to D).

Revision 1.75 / (download) - annotate - [select for diffs], Sun Aug 23 18:21:02 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Add some other obvious variables to update-environment (WINDOWID SSH_ASKPASS
SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION) so they are updated in the session
environment on new/attach.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Aug 19 16:10:26 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.73: +9 -6 lines
Diff to previous 1.73 (colored)

tweak previous;

Revision 1.73 / (download) - annotate - [select for diffs], Wed Aug 19 10:39:50 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.72: +27 -3 lines
Diff to previous 1.72 (colored)

Extend command-prompt with a -p option which is a comma-separated list of one
or more prompts to present in order.

The responses to the prompt are replaced in the template string: %% are
replaced in order, so the first prompt replaces the first %%, the second
replaces the second, and so on. In addition, %1 up to %9 are replaced with the
responses to the first the ninth prompts

The default template is "%1" so the response to the first prompt is processed
as a command.

Note that this changes the behaviour for %% so if there is only one prompt,
only the first %% will be replaced. Templates such as "neww -n '%%' 'ssh %%'"
should be changed to "neww -n '%1' 'ssh %1'".

From Tiago Cunha.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Aug 18 16:21:04 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.71: +6 -6 lines
Diff to previous 1.71 (colored)

Now that pane targets (-t) are supported, switch some commands to use them
where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys,
send-prefix.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Aug 18 07:23:43 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

Add a "delete line" key when editing in the status line or the search up/down
prompt. C-u with emacs keys, d with vi.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Aug 18 07:08:26 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.69: +11 -7 lines
Diff to previous 1.69 (colored)

Add (naive) searching and goto line in copy mode. Searching is C-r and C-s with
emacs keys, / and ? with vi; n repeats the search again with either key
set. All searching wraps the top/bottom. Goto line is g for both emacs and vi.

The search prompts don't have full line editing, just simple append and delete
characters.

Also sort the mode keys list in tmux.1.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 13 20:11:58 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.68: +6 -2 lines
Diff to previous 1.68 (colored)

Add a base-index session option to specify the first index checked when looking
for an index for a new window.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Aug 13 19:04:00 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.67: +6 -2 lines
Diff to previous 1.67 (colored)

When creating a new session from the command-line where there is an external
terminal, copy the termios(4) special characters and use them for new windows
created in the new session. Suggested by Theo.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Aug 10 17:14:55 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.66: +7 -5 lines
Diff to previous 1.66 (colored)

some minor tweaks; ok nicm

Revision 1.66 / (download) - annotate - [select for diffs], Sun Aug 9 16:03:05 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.65: +4 -5 lines
Diff to previous 1.65 (colored)

zap trailing whitespace;

Revision 1.65 / (download) - annotate - [select for diffs], Sun Aug 9 15:25:56 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.64: +13 -10 lines
Diff to previous 1.64 (colored)

Minor language tweaks, change which key bindings are summarised.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Aug 9 14:35:15 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.63: +62 -66 lines
Diff to previous 1.63 (colored)

Move the key bindings section to near the start, mention attach/detach in the
first section, and another couple of tweaks. Based on a diff from Theo.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Aug 8 21:52:43 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.62: +68 -2 lines
Diff to previous 1.62 (colored)

Infrastructure and commands to manage the environment for processes started
within tmux.

There is a global environment, copied from the external environment when the
server is started and each sesssion has an (initially empty) session
environment which overrides it.

New commands set-environment and show-environment manipulate or display the
environments.

A new session option, update-environment, is a space-separated list of
variables which are updated from the external environment into the session
environment every time a new session is created - the default is DISPLAY.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Aug 8 20:36:42 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.61: +13 -1 lines
Diff to previous 1.61 (colored)

Options to set the colours and attributes for status-left/-right. From Thomas
Adam, thanks.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Aug 7 15:39:10 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.60: +6 -2 lines
Diff to previous 1.60 (colored)

If there is an error in the configuration file, don't just exit(1) as this can
cause the client to hang. Instead, send the error message, then mark the client
as bad and start a normal shutdown so the server exits once the error is
written.

This also allows some code duplicating daemon(3) to be trimmed and logging to
begin earlier.

Prompted by Theo noticing the behaviour on error wasn't documented.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Aug 7 12:24:16 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.59: +62 -58 lines
Diff to previous 1.59 (colored)

Move introduction section up into description. From jmc.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Aug 6 21:06:35 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.58: +33 -21 lines
Diff to previous 1.58 (colored)

tweak INTRODUCTION; from nicm and myself

Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 4 18:45:57 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.57: +9 -3 lines
Diff to previous 1.57 (colored)

Add a -a flag to set-option and set-window-option to append to an existing
string value, useful for terminal-overrides.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Aug 4 18:41:28 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.56: +937 -884 lines
Diff to previous 1.56 (colored)

restructure the layout of this page, moving the commands into various
subsections; lots of tweaks to come on the text

from nicm and myself

Revision 1.56 / (download) - annotate - [select for diffs], Tue Aug 4 07:56:38 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.55: +75 -108 lines
Diff to previous 1.55 (colored)

clean up some macro abuse in the commands section;

Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 3 14:34:47 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.54: +4 -6 lines
Diff to previous 1.54 (colored)

tweak previous;

Revision 1.54 / (download) - annotate - [select for diffs], Mon Aug 3 14:10:54 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.53: +39 -1 lines
Diff to previous 1.53 (colored)

Add a terminal-overrides session option allowing individual terminfo(5) entries
to be overridden. The 88col/256col checks are now moved into the default
setting and out of the code.

Also remove a couple of old workarounds for xterm and rxvt which are no longer
necessary (tmux can emulate them if missing).

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 30 16:59:24 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

tweak previous;

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jul 30 13:45:56 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.51: +38 -33 lines
Diff to previous 1.51 (colored)

Merge pane number into the target specification for pane commands. Instead of
using -p index, a target pane is now addressed with the normal -t window form
but suffixed with a period and a pane index, for example :0.2 or
mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in
the current window, if that fails the same rules are followed as for a target
window and the current pane in that window used.

As a side-effect this now means that swap-pane can swap panes between different
windows.

Note that this changes the syntax of the break-pane, clear-history, kill-pane,
resize-pane, select-pane and swap-pane commands.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jul 30 13:31:22 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

new sentence, new line;

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 30 07:04:50 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.49: +9 -3 lines
Diff to previous 1.49 (colored)

Add a mode-mouse option to prevent tmux taking over the mouse in choice or copy
modes.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 28 17:05:10 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.48: +41 -7 lines
Diff to previous 1.48 (colored)

Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t
argument to modify a table.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jul 28 07:03:32 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.47: +40 -3 lines
Diff to previous 1.47 (colored)

Next step towards customisable mode keys: build each default table of keys into
a named tree on start and use that for lookups. Also add command to string
translation tables and modify list-keys to show the the mode key bindings (new
-t argument).

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jul 28 06:48:44 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored)

If select-layout is not given an argument, repply the last layout used in the
window, if any.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jul 27 12:11:11 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).

From Kalle Olavi Niemitalo.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jul 24 14:52:47 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.44: +20 -3 lines
Diff to previous 1.44 (colored)

Permit commands to be bound to key presses without the prefix key first. The
new -n flag to bind-key and unbind-key sets or removes these bindings, and
list-key shows them in []s.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 24 14:50:24 2009 UTC (14 years, 9 months ago) by sthen
Branch: MAIN
Changes since 1.43: +3 -5 lines
Diff to previous 1.43 (colored)

up-pane and down-pane no longer auto-repeat; update the description of
repeat-time accordingly. ok nicm@

if you prefer old behaviour;

bind -r Up up-pane
bind -r Down down-pane

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jul 22 21:23:29 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.42: +21 -21 lines
Diff to previous 1.42 (colored)

Tidy the target parsing code a bit and correct the behaviour so that as before
a string with no colon as a target window is first looked up as a window then
as a session, noted by Iain Morgan.

Also attempt to clarify the description of the target specification in the man
page.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jul 20 15:51:55 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Tweak unbind-key language very slightly.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 20 14:32:09 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.40: +7 -2 lines
Diff to previous 1.40 (colored)

Add a status-justify option to allow the window list in the status line to be
positioned at the left, centre, or right.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jul 20 09:15:18 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.39: +7 -1 lines
Diff to previous 1.39 (colored)

New options, window-status-current-{fg,bg,attr}, to set the fg, bg and
attributes with which the current window is shown in the status line. From
Johan Friis, thanks.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jul 19 14:07:47 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

tweak previous;

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jul 19 13:21:40 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.37: +44 -41 lines
Diff to previous 1.37 (colored)

Improved layout code.

Each window now has a tree of layout cells associated with it. In this tree,
each node is either a horizontal or vertical cell containing a list of other
cells running from left-to-right or top-to-bottom, or a leaf cell which is
associated with a pane.

The major functional changes are:

- panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and
  vertically (splitw -v, C-b ");
- panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D,
  bound to C-b left/right/up/down and C-b M-left/right/up/down);
- layouts are now applied and then may be modified by resizing or splitting
  panes, rather than being fixed and reapplied when the window is resized or
  panes are added;
- manual-vertical layout is no longer necessary, and active-only layout is gone
  (but may return in future);
- the main-pane layouts now reduce the size of the main pane to fit all panes
  if possible.

Thanks to all who tested.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jul 18 14:59:25 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.36: +25 -1 lines
Diff to previous 1.36 (colored)

Add three new session options: visual-activity, visual-bell, visual-content. If
these are enabled (and the monitor-activity, bell-actio and monitor-content
options are configurated appropriately), when activity, a bell, or content is
detected, a message is shown.

Also tidy up the bell/activity/content code in server.c slightly and fix a
couple of errors.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 17 20:37:03 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Make it so using kill-pane to destroy the last pane in a window destroys the
window instead of being an error.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 17 18:45:08 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.34: +13 -1 lines
Diff to previous 1.34 (colored)

- New command display-message (alias display) to display a message in the
  status line (bound to "i" and displays the current window and time by
  default). The same substitutions are applied as for status-left/right.
- Add support for including the window index (#I), pane index (#P) and window
  name (#W) in the message, and status-left or status-right.
- Bump protocol version.

From Tiago Cunha, thanks!

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 17 15:03:11 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.33: +7 -3 lines
Diff to previous 1.33 (colored)

Tidy up new-session and attach-session and change them to work from inside
tmux, switching the current client to the new or requested session.

Written with Josh Elsasser.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 17 13:38:03 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.32: +13 -3 lines
Diff to previous 1.32 (colored)

If -u is specified or UTF-8 is otherwise detected when the server is started,
enable the utf8 and status-utf8 optons. While here, note in the man page that
the server is started with the first session and exits when none remain.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 16 22:50:49 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

Fix arguments to switch-client.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 15 08:05:56 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.30: +10 -3 lines
Diff to previous 1.30 (colored)

Add a -k flag to unlink-window which makes it behave the same as the old
kill-window - if a window is linked into only one session it unlinked and
destroyed.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jul 13 20:14:23 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

zap trailing whitespace;

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 13 17:47:46 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.28: +29 -14 lines
Diff to previous 1.28 (colored)

Tidy up and improve target (-t) argument parsing:

- move the code back into cmd.c and merge with the existing functions where
  possible;
- accept "-tttyp0" as well as "-t/dev/ttyp0" for clients;
- when looking up session names, try an exact match first, and if that fails
  look for it as an fnmatch pattern and then as the start of a name - if more
  that one session matches an error is given; so if there is one session called
  "mysession", -tmysession, -tmysess, -tmysess* are equivalent but if there
  is also "mysession2", the last two are errors;
- similarly for windows, if the argument is not a valid index or exact window
  name match, try it against the window names as an fnmatch pattern and a
  prefix.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 12 23:45:03 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.27: +6 -3 lines
Diff to previous 1.27 (colored)

Document the -k flag to new-window.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 12 16:15:34 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored)

Add a "back to indentation" key in copy mode to move the cursor to the first
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 12 16:07:56 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.25: +7 -3 lines
Diff to previous 1.25 (colored)

If it exist, load a system-wide configuration file /etc/tmux.conf before any
user-specified one.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jul 11 20:04:19 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Add -r to the synopsis of the paste-buffer command, prompted by jmc.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 11 19:14:56 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.23: +6 -1 lines
Diff to previous 1.23 (colored)

When pasting, translate \n into \r. This matches xterm and putty's behaviour,
and makes emacs happy when pasting into some modes. A new -r (raw) flag to
paste-buffer pastes without the translation.

From Kalle Olavi Niemitalo, thanks!

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 10 19:01:40 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

paste-buffer -d was not documented. From Kalle Olavi Niemitalo.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 10 05:50:54 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.21: +14 -2 lines
Diff to previous 1.21 (colored)

Add a default-terminal option to set the starting value of $TERM in new
windows.

This is "screen" by default and must be either that or something closely
related. This does makes it easier to customise it if necessary.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 10 05:43:01 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.20: +8 -4 lines
Diff to previous 1.20 (colored)

Document display-time option which seems to have been missed.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 9 15:47:49 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.19: +12 -2 lines
Diff to previous 1.19 (colored)

New command, if-shell (alias if). Executes the tmux command in the second
argument if the shell command in the first succeeds, for example:

       if "[ -e ~/.tmux.conf.alt ]" "source .tmux.conf.alt"

Written by Tiago Cunha, many thanks.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 8 05:26:45 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.18: +8 -4 lines
Diff to previous 1.18 (colored)

Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,
and some people may use shells which do not support it. Instead, make an empty
default-command option mean a login shell, and fork it with a - in argv[0]
which is the method used by login(1).

Also fix the automatic-rename code to handle this correctly and to strip a
leading - if present.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 6 19:50:04 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.17: +50 -21 lines
Diff to previous 1.17 (colored)

Add a section summarising how options work, make the distinction between window
and session options clearer, and fix the incorrect synopses and descriptions of
show-options and show-window-options.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 26 22:47:06 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

Add missing spaces before some alias closing brackets, otherwise they are
shown in the wrong style.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 24 22:49:56 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.15: +7 -3 lines
Diff to previous 1.15 (colored)

Change find-window and monitor-content to use fnmatch(3). For convenience and
compatibility, *s are implicitly added at the start and end of the pattern.

Also display the line number and the entire line in the results, and lose the
nasty section_string function and the now empty util.c file.

Initially from Tiago Cunha.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 24 08:13:22 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.14: +8 -12 lines
Diff to previous 1.14 (colored)

tweak previous;

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 23 23:26:08 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.13: +8 -5 lines
Diff to previous 1.13 (colored)

Mention LC_ALL, LC_CTYPE.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 23 22:13:11 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.12: +39 -2 lines
Diff to previous 1.12 (colored)

Add some common config file examples to the quick start section.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 4 13:36:25 2009 UTC (14 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

zap trailing whitespace;

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 3 17:04:16 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Do not set the window title by default (make set-titles option default to off),
wiping over the title is rude and annoying. Agreed by several.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 3 16:54:26 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.9: +23 -3 lines
Diff to previous 1.9 (colored)

New session option, status-utf8, to control the interpretation of top-bit-set
characters in status-left and status-right (if on, they are treated as UTF-8;
otherwise passed through).

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 3 15:58:40 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.8: +9 -1 lines
Diff to previous 1.8 (colored)

Add missing documentation for the -a flag used to move to next/previous window
with alert.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 3 15:47:14 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.7: +57 -1 lines
Diff to previous 1.7 (colored)

Add a section summarising the status line. There are quite a number of status
line options, it is something many want to configure, and the meaning of some
bits weren't really documented.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 3 09:29:06 2009 UTC (14 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.6: +7 -4 lines
Diff to previous 1.6 (colored)

undo a mistake found by sobrado;

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 3 06:49:05 2009 UTC (14 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.5: +60 -68 lines
Diff to previous 1.5 (colored)

some cleanup; ok nicm

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 2 23:39:32 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.4: +4 -6 lines
Diff to previous 1.4 (colored)

Recent code to try and detect if a terminal supports UTF-8 by printing to it
fails spectacularly on (at least) sparc64, so disable it for now. Thanks to
naddy and Josh Elsasser for help and testing.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 2 16:46:00 2009 UTC (14 years, 11 months ago) by sobrado
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

sort options alphabetically.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 2 15:55:32 2009 UTC (14 years, 11 months ago) by pyr
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

spawn login shells by default, adapt manpage bits as well.
ok nicm@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 1 23:51:00 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.1: +53 -5 lines
Diff to previous 1.1 (colored)

Update the man page with some recent changes to the code:

- SIGUSR1 recreates the socket;
- guesswork to work out if the terminal supports UTF-8;
- a paste key for the command prompt;
- main-horizontal layout to match main-vertical, and options to configure the
  size of the large pane;
- clear-history command;
- select-layout command.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:58:49 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN

Import tmux, a terminal multiplexor allowing (among other things) a single
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.

ok deraadt pirofti

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