aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-01-17 11:26:10 +0000
committerThomas Adam <thomas@xteddy.org>2018-01-17 11:26:10 +0000
commit84ddc72744d88f399103ea350c28d5fb45e28b96 (patch)
tree76a62ad185f8a274f4243a2365fd01801e421b8e /tmux.1
parent58e9d12f23be4ecc7ab6879e8d19239b430f6553 (diff)
parent75842bfe66d983580dddf11b676445d5b9fa9f8a (diff)
downloadrtmux-84ddc72744d88f399103ea350c28d5fb45e28b96.tar.gz
rtmux-84ddc72744d88f399103ea350c28d5fb45e28b96.tar.bz2
rtmux-84ddc72744d88f399103ea350c28d5fb45e28b96.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.127
1 files changed, 23 insertions, 4 deletions
diff --git a/tmux.1 b/tmux.1
index 78932d2e..5387e882 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1804,15 +1804,15 @@ If
.Fl a
is used, move to the next window with an alert.
.It Xo Ic pipe-pane
-.Op Fl o
+.Op Fl IOo
.Op Fl t Ar target-pane
.Op Ar shell-command
.Xc
.D1 (alias: Ic pipep )
-Pipe any output sent by the program in
+Pipe output sent by the program in
.Ar target-pane
-to a shell command.
-A pane may only be piped to one command at a time, any existing pipe is
+to a shell command or vice versa.
+A pane may only be connected to one command at a time, any existing pipe is
closed before
.Ar shell-command
is executed.
@@ -1825,6 +1825,25 @@ If no
.Ar shell-command
is given, the current pipe (if any) is closed.
.Pp
+.Fl I
+and
+.Fl O
+specify which of the
+.Ar shell-command
+output streams are connected to the pane:
+with
+.Fl I
+stdout is connected (so anything
+.Ar shell-command
+prints is written to the pane as if it were typed);
+with
+.Fl O
+stdin is connected (so any output in the pane is piped to
+.Ar shell-command ) .
+Both may be used together and if neither are specified,
+.Fl O
+is used.
+.Pp
The
.Fl o
option only opens a new pipe if no previous pipe exists, allowing a pipe to