summary refs log tree commit diff
path: root/bin/man1/ptee.1
blob: bb381ecb4b2b9e154ae87d4a36cc120f852ae664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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.
1?id=77a2ba8c09ee4421b42cdc7f41e6145759731f71&follow=1'>Add IRC output to hiJune McEnroe 2019-02-07Improve C syntax accuracy and add Format classJune McEnroe 2019-02-07Factor out hi checkJune McEnroe Fix subexpression bounds check and compile pattends. 2019-02-07Add Escape class to hiJune McEnroe 2019-02-07Add Todo class and parent syntax constraintJune McEnroe