summaryrefslogtreecommitdiff
path: root/usr.bin/script/script.1
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2012-07-30 07:13:06 +0000
committerBrian Somers <brian@FreeBSD.org>2012-07-30 07:13:06 +0000
commitdf53360c762f678c8aa166b39370aeb9aa184f9c (patch)
tree405ea9e877e7f9e9a8a50d5759ed07d683adaa90 /usr.bin/script/script.1
parent3ab2f2eb3ec5a990589e505f7f9cf9a47ca10c58 (diff)
Notes
Diffstat (limited to 'usr.bin/script/script.1')
-rw-r--r--usr.bin/script/script.122
1 files changed, 20 insertions, 2 deletions
diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1
index 21bc2fd19dad..9da6ab447895 100644
--- a/usr.bin/script/script.1
+++ b/usr.bin/script/script.1
@@ -36,7 +36,7 @@
.Nd make typescript of terminal session
.Sh SYNOPSIS
.Nm
-.Op Fl akq
+.Op Fl adkpqr
.Op Fl t Ar time
.Op Ar file Op Ar command ...
.Sh DESCRIPTION
@@ -72,10 +72,20 @@ Append the output to
or
.Pa typescript ,
retaining the prior contents.
+.It Fl d
+When playing back a session with the
+.Fl p
+flag, don't sleep between records when playing back a timestamped session.
.It Fl k
Log keys sent to the program as well as output.
+.It Fl p
+Play back a session recorded with the
+.Fl r
+flag in real time.
.It Fl q
-Run in quiet mode, omit the start and stop status messages.
+Run in quiet mode, omit the start, stop and command status messages.
+.It Fl r
+Record a session with input, output, and timestamping.
.It Fl t Ar time
Specify the interval at which the script output file will be flushed
to disk, in seconds.
@@ -151,6 +161,14 @@ The
.Nm
command appeared in
.Bx 3.0 .
+.Pp
+The
+.Fl d ,
+.Fl p
+and
+.Fl r
+options first appeared in
+.Nx 2.0 .
.Sh BUGS
The
.Nm