replay(1)

replay1

Play back typescripts, using timing information

Usage

replay timingfile [typescript [divisor]]

Overview

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 preperly if run on the same terminal the script was recorded on.

The timings information is what script outputs to standard error if it is run with the -t parameter.

By default, the typescript to display is assumed to be named "typescript", but other filenames may be specified, as the second parameter.

If the third parameter exits, it is used as a time divisor. For example, specifying a divisor of 2 makes the script be replayed twice as fast.

Examples

 % script -t 2> timingfile
 Script started, file is typescript
 % ls
 <etc, etc>
 % exit
 Script done, file is typescript
 % replay timingfile

Author

Joey Hess <[email protected]>

From bsdutils 1:2.11n-7 in Debian 3.0 (Woody). Parsed by carta from the page's man source.