diff options
Diffstat (limited to '')
-rw-r--r-- | bin/man1/ptee.1 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/bin/man1/ptee.1 b/bin/man1/ptee.1 new file mode 100644 index 00000000..bb381ecb --- /dev/null +++ b/bin/man1/ptee.1 @@ -0,0 +1,51 @@ +.Dd October 18, 2021 +.Dt PTEE 1 +.Os +. +.Sh NAME +.Nm ptee +.Nd tee for PTYs +. +.Sh SYNOPSIS +.Nm +.Op Fl t Ar ms +.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 write a media copy sequence +to standard output. +Type +.Ic ^Q +to toggle writing to standard output. +. +.Pp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl t Ar ms +Write a media copy sequence +to standard output every +.Ar ms +milliseconds. +.El +. +.Sh SEE ALSO +.Xr script 1 +. +.Sh BUGS +Window size changes are not propagated +to the child PTY. |