1REPLAY(1)             User Contributed Perl Documentation            REPLAY(1)
2
3
4

NNAAMMEE

6       scriptreplay - play back typescripts, using timing information
7

SSYYNNOOPPSSIISS

9       ssccrriippttrreeppllaayy timingfile [typescript [divisor]]
10

DDEESSCCRRIIPPTTIIOONN

12       This program replays a typescript, using timing information to ensure
13       that output happens at the same speed as it originally appeared when
14       the script was recorded.
15
16       The replay simply displays the information again; the programs that
17       were run when the typescript was being recorded are not run again.
18       Since the same information is simply being displayed, ssccrriippttrreeppllaayy is
19       only guaranteed to work properly if run on the same type of terminal
20       the typescript was recorded on.  Otherwise, any escape characters in
21       the typescript may be interpreted differently by the terminal to which
22       ssccrriippttrreeppllaayy is sending its output.
23
24       The timings information is what ssccrriipptt(1) outputs to standard error if
25       it is run with the --tt parameter.
26
27       By default, the typescript to display is assumed to be named "type‐
28       script", but other filenames may be specified, as the second parameter.
29
30       If the third parameter is specified, it is used as a speed-up multi‐
31       plier. For example, a speed-up of 2 makes ssccrriippttrreeppllaayy go twice as fast
32       and a speed-up of 0.1 makes it go ten times slower than the original
33       session.
34

EEXXAAMMPPLLEE

36        % script -t 2> timingfile
37        Script started, file is typescript
38        % ls
39        <etc, etc>
40        % exit
41        Script done, file is typescript
42        % scriptreplay timingfile
43
44

SSEEEE AALLSSOO

46       ssccrriipptt(1)
47

CCOOPPYYRRIIGGHHTT

49       Copyright © 2008 James Youngman
50
51       Copyright © 2008 Karel Zak
52
53       This is free software; see the source for copying conditions.  There is
54       NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
55       PURPOSE.
56
57       Released under the GNU General Public License version 2 or later.
58

AAUUTTHHOORR

60       The original ssccrriippttrreeppllaayy program was written by Joey Hess
61       <joey@kitenet.net>.  The program was re-written in C by James Youngman
62       <jay@gnu.org> and Karel Zak <kzak@redhat.com>.
63

AAVVAAIILLAABBIILLIITTYY

65       The ssccrriippttrreeppllaayy command is part of the util-linux-ng package and is
66       available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
67
68
69
703rd Berkeley Distribution         perl v5.6.0                        REPLAY(1)
Impressum