REPLAY(1) User Contributed Perl Documentation REPLAY(1)
NNAAMMEE
scriptreplay - play back typescripts, using timing information
SSYYNNOOPPSSIISS
scriptreplay timingfile [typescript [divisor]]
DDEESSCCRRIIPPTTIIOONN
This program replays a typescript, using timing information to ensure
that output happens at the same speed as it originally appeared when
the script was recorded. It is only guaranteed to work properly if(3,n) run
on the same terminal the script was recorded on.
The timings information is what script outputs to standard error(8,n) if(3,n) it
is run with the -t parameter.
By default, the typescript to display is assumed to be named(5,8) "type-
script", but other filenames may be specified, as the second parameter.
If the third parameter exits, it is used as a time(1,2,n) divisor. For exam-
ple, specifying a divisor of 2 makes the script be replayed twice as
fast.
EEXXAAMMPPLLEE
% script -t 2> timingfile
Script started, file(1,n) is typescript
% ls
<etc, etc>
% exit(3,n,1 builtins)
Script done, file(1,n) is typescript
% scriptreplay timingfile
SSEEEE AALLSSOO
ssccrriip(7,8)ptt(1)
CCOOPPYYRRIIGGHHTT
This program is in(1,8) the public domain.
AAUUTTHHOORR
Joey Hess <joey@kitenet.net>
3rd Berkeley Distribution perl v5.6.0 REPLAY(1)