=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.642 retrieving revision 1.643 diff -u -r1.642 -r1.643 --- src/usr.bin/tmux/tmux.1 2019/05/02 20:12:40 1.642 +++ src/usr.bin/tmux/tmux.1 2019/05/03 20:44:24 1.643 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.642 2019/05/02 20:12:40 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.643 2019/05/03 20:44:24 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: May 2 2019 $ +.Dd $Mdocdate: May 3 2019 $ .Dt TMUX 1 .Os .Sh NAME @@ -2204,7 +2204,7 @@ the command behaves like .Ic last-window . .It Xo Ic split-window -.Op Fl bdfhvP +.Op Fl bdfhIvP .Op Fl c Ar start-directory .Op Fl e Ar environment .Oo Fl l @@ -2240,6 +2240,24 @@ or full window width (with .Fl v ) , instead of splitting the active pane. +.Pp +An empty +.Ar shell-command +('') will create a pane with no command running in it. +Output can be sent to such a pane with the +.Ic display-message +command. +The +.Fl I +flag (if +.Ar shell-command +is not specified or empty) +will create an empty pane and forward any output from stdin to it. +For example: +.Bd -literal -offset indent +$ make 2>&1|tmux splitw -dI & +.Ed +.Pp All other options have the same meaning as for the .Ic new-window command. @@ -2822,7 +2840,7 @@ is used as a login shell. .It Ic default-size Ar XxY Set the default size of new windows when the -.Ar window-size +.Ic window-size option is set to manual or when a session is created with .Ic new-session .Fl d . @@ -4428,7 +4446,7 @@ This command works only from inside .Nm . .It Xo Ic display-message -.Op Fl apv +.Op Fl aIpv .Op Fl c Ar target-client .Op Fl t Ar target-pane .Op Ar message @@ -4455,6 +4473,10 @@ prints verbose logging as the format is parsed and .Fl a lists the format variables and their values. +.Pp +.Fl I +forwards any input read from stdin to the empty pane given by +.Ar target-pane . .El .Sh BUFFERS .Nm