1 .TH SCRIPTLIVE 1 "October 2019" "util-linux" "User Commands"
3 scriptlive \- re-run session typescripts, using timing information
12 This program re-run a typescript, using stdin typescript and timing information to ensure that
13 input happens in the same rhythm as it originally appeared when the script
16 The \fBsession is executed\fR in newly created pseudo terminal with user's $SHELL
17 (or defaults to /bin/bash).
20 Do not forget that the typescript may contains arbitrary commands.
21 It is recommended to use \fB"scriptreplay \-\-stream in \-\-log\-in typescript"\fR
22 (or with --log-io instead of --log-in) to verify the typescript before it is executed by
25 The timing information is what
27 outputs to file specified by
29 The typescript has to contain stdin information and it is what
31 outputs to file specified by
38 .BR \-I , " \-\-log-in " \fIfile\fR
39 File containing \fBscript\fR's terminal input.
41 .BR \-B , " \-\-log-io " \fIfile\fR
42 File containing \fBscript\fR's terminal output and input.
44 .BR \-t , " \-\-timing " \fIfile\fR
45 File containing \fBscript\fR's timing output. This option overrides old-style arguments.
47 .BR \-T , " \-\-log\-timing " \fIfile\fR
48 aliast to \fB\-t\fR, maintained for compatibility with
51 .BR \-d , " \-\-divisor " \fInumber\fR
52 Speed up the replay displaying this
54 of times. The argument is a floating point number. It's called divisor
55 because it divides the timings by this factor. This option overrides old-style arguments.
57 .BR \-m , " \-\-maxdelay " \fInumber\fR
58 Set the maximum delay between transcript updates to
60 of seconds. The argument is a floating point number. This can be used to
61 avoid long pauses in the transcript replay.
63 .BR \-V , " \-\-version"
64 Display version information and exit.
67 Display help text and exit.
70 % script --log-timing file.tm --log-in script.in
71 Script started, file is script.out
75 Script done, file is script.out
76 % scriptlive --log-timing file.tm --log-in script.in
82 Copyright \(co 2019 Karel Zak
84 This is free software; see the source for copying conditions. There is NO
85 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
88 Released under the GNU General Public License version 2 or later.
94 The scriptlive command is part of the util-linux package and is available from
95 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/