summary refs log tree commit diff
path: root/bin/man1/ptee.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/man1/ptee.136
1 files changed, 36 insertions, 0 deletions
diff --git a/bin/man1/ptee.1 b/bin/man1/ptee.1
new file mode 100644
index 00000000..a38d61c7
--- /dev/null
+++ b/bin/man1/ptee.1
@@ -0,0 +1,36 @@
+.Dd July 8, 2019
+.Dt PTEE 1
+.Os
+.
+.Sh NAME
+.Nm ptee
+.Nd tee for PTYs
+.
+.Sh SYNOPSIS
+.Nm
+.Ar command ...
+.Cm >
+.Ar file
+.
+.Sh DESCRIPTION
+.Nm
+runs
+.Ar command
+in a new PTY
+which is mirrored to
+the current PTY
+and standard output.
+Standard output must be redirected
+to a file or pipe.
+.
+.Pp
+Type
+.Ic ^S
+to toggle writing to standard output.
+.
+.Sh SEE ALSO
+.Xr tee 1
+.
+.Sh BUGS
+Window size changes are not propagated
+to the child PTY.