=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.832 retrieving revision 1.833 diff -u -r1.832 -r1.833 --- src/usr.bin/tmux/tmux.1 2021/04/07 12:50:12 1.832 +++ src/usr.bin/tmux/tmux.1 2021/04/12 06:50:25 1.833 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.832 2021/04/07 12:50:12 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.833 2021/04/12 06:50:25 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 7 2021 $ +.Dd $Mdocdate: April 12 2021 $ .Dt TMUX 1 .Os .Sh NAME @@ -1985,12 +1985,17 @@ .Op Fl NrZ .Op Fl F Ar format .Op Fl f Ar filter +.Op Fl K Ar key-format .Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template .Xc Put a pane into client mode, allowing a client to be selected interactively from a list. +Each client is shown on one line. +A shortcut key is shown on the left in brackets allowing for immediate choice, +or the list may be navigated and an item chosen or otherwise manipulated using +the keys below. .Fl Z zooms the pane. The following keys may be used in client mode: @@ -2040,7 +2045,9 @@ the item in the list is not shown, otherwise it is shown. If a filter would lead to an empty list, it is ignored. .Fl F -specifies the format for each item in the list. +specifies the format for each item in the list and +.Fl K +a format for each shortcut key; both are evaluated once for each line. .Fl N starts without the preview. This command works only if at least one client is attached. @@ -2049,12 +2056,17 @@ .Op Fl GNrswZ .Op Fl F Ar format .Op Fl f Ar filter +.Op Fl K Ar key-format .Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template .Xc Put a pane into tree mode, where a session, window or pane may be chosen -interactively from a list. +interactively from a tree. +Each session, window or pane is shown on one line. +A shortcut key is shown on the left in brackets allowing for immediate choice, +or the tree may be navigated and an item chosen or otherwise manipulated using +the keys below. .Fl s starts with sessions collapsed and .Fl w @@ -2113,7 +2125,9 @@ the item in the list is not shown, otherwise it is shown. If a filter would lead to an empty list, it is ignored. .Fl F -specifies the format for each item in the tree. +specifies the format for each item in the tree and +.Fl K +a format for each shortcut key; both are evaluated once for each line. .Fl N starts without the preview. .Fl G @@ -4663,6 +4677,11 @@ multiplies 5.5 by 3 for a result with four decimal places and .Ql #{e|%%:7,3} returns the modulus of 7 and 3. +.Ql a +replaces a numeric argument by its ASCII equivalent, so +.Ql #{a:98} +results in +.Ql b . .Pp A limit may be placed on the length of the resultant string by prefixing it by an @@ -5681,12 +5700,17 @@ .Op Fl NZr .Op Fl F Ar format .Op Fl f Ar filter +.Op Fl K Ar key-format .Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template .Xc Put a pane into buffer mode, where a buffer may be chosen interactively from a list. +Each buffer is shown on one line. +A shortcut key is shown on the left in brackets allowing for immediate choice, +or the list may be navigated and an item chosen or otherwise manipulated using +the keys below. .Fl Z zooms the pane. The following keys may be used in buffer mode: @@ -5734,7 +5758,9 @@ the item in the list is not shown, otherwise it is shown. If a filter would lead to an empty list, it is ignored. .Fl F -specifies the format for each item in the list. +specifies the format for each item in the list and +.Fl K +a format for each shortcut key; both are evaluated once for each line. .Fl N starts without the preview. This command works only if at least one client is attached.