sourCEntral - mobile manpages

pdf

REPLAY

NAME

scriptreplay − play back typescripts, using timing information

SYNOPSIS

scriptreplay timingfile [typescript [divisor]]

DESCRIPTION

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 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.

EXAMPLE

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

SEE ALSO

script(1)

COPYRIGHT

This program is in the public domain.

AUTHOR

Joey Hess <joey AT kitenet DOT net>

AVAILABILITY

The scriptreplay command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.

pdf