From 8f6bada139d693b7973db2f3e8d45376d3075067 Mon Sep 17 00:00:00 2001 From: atatat Date: Fri, 21 Jun 2002 18:46:31 +0000 Subject: Add an alternate "typescript mode" that contains timestamps and other data interleaved between chunks of actual output (and input), and teach script how to read the new format so that sessions can be played back at "proper" time. --- usr.bin/script/script.1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'usr.bin/script/script.1') diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1 index 2f85aa7b29f..03bb7c0c2c4 100644 --- a/usr.bin/script/script.1 +++ b/usr.bin/script/script.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: script.1,v 1.6 2001/12/01 16:43:24 wiz Exp $ +.\" $NetBSD: script.1,v 1.7 2002/06/21 18:46:31 atatat Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -41,7 +41,7 @@ .Nd make typescript of terminal session .Sh SYNOPSIS .Nm -.Op Fl a +.Op Fl adpr .Op Ar file .Sh DESCRIPTION .Nm @@ -68,6 +68,12 @@ Append the output to or .Pa typescript , retaining the prior contents. +.It Fl d +Don't sleep between records when playing back a timestamped session. +.It Fl p +Play back a recorded session in real time. +.It Fl r +Record a session with input, output, and timestamping. .El .Pp The script ends when the forked shell exits (a -- cgit