diff options
| author | christos <christos@NetBSD.org> | 2009-10-17 19:05:54 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2009-10-17 19:05:54 +0000 |
| commit | ab107e386cac1667805a21544ee6f22bdf090863 (patch) | |
| tree | 75cf6a88eb0c3e2818e2ccc153b66199bc9615aa /usr.bin/script/script.1 | |
| parent | 63b86ac36f8ca4c01ca57e3ea60eaeeefb98b1bc (diff) | |
add more features found in other unices
Diffstat (limited to 'usr.bin/script/script.1')
| -rw-r--r-- | usr.bin/script/script.1 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1 index fc5acf723d6..c0fbb3bf852 100644 --- a/usr.bin/script/script.1 +++ b/usr.bin/script/script.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: script.1,v 1.10 2003/08/07 11:15:48 agc Exp $ +.\" $NetBSD: script.1,v 1.11 2009/10/17 19:05:54 christos Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)script.1 8.1 (Berkeley) 6/6/93 .\" -.Dd June 6, 1993 +.Dd October 17, 2009 .Dt SCRIPT 1 .Os .Sh NAME @@ -37,7 +37,8 @@ .Nd make typescript of terminal session .Sh SYNOPSIS .Nm -.Op Fl adpr +.Op Fl adfpqr +.Op Fl c Ar command .Op Ar file .Sh DESCRIPTION .Nm @@ -64,10 +65,21 @@ Append the output to or .Pa typescript , retaining the prior contents. +.It Fl c Ar command +Run the named +.Ar command +instead of the shell. +Useful for capturing the output of a program that behaves differently when +associated with a tty. .It Fl d Don't sleep between records when playing back a timestamped session. +.It Fl f +Flush output after each write. This is useful for watching the script +output in real time. .It Fl p Play back a recorded session in real time. +.It Fl q +Be quiet, and don't output started and ended lines. .It Fl r Record a session with input, output, and timestamping. .El |
