From a0c652a6ffebb471028be5b66f9811623b428de2 Mon Sep 17 00:00:00 2001 From: jNullj <15849761+jNullj@users.noreply.github.com> Date: Fri, 10 May 2024 16:21:18 +0300 Subject: [PATCH] Add interactive playback docs --- term-utils/scriptreplay.1.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/term-utils/scriptreplay.1.adoc b/term-utils/scriptreplay.1.adoc index 2f4df0c535..4acf65fe18 100644 --- a/term-utils/scriptreplay.1.adoc +++ b/term-utils/scriptreplay.1.adoc @@ -27,6 +27,8 @@ By default, the typescript to display is assumed to be named _typescript_, but o If the third parameter or *--divisor* is specified, it is used as a speed-up multiplier. For example, a speed-up of 2 makes *scriptreplay* go twice as fast, and a speed-down of 0.1 makes it go ten times slower than the original session. +During the replay, you can interactively speed up, slow down, or pause the playback using key bindings. + == OPTIONS *-I*, *--log-in* _file_:: @@ -76,6 +78,14 @@ Script done, file is script.out % scriptreplay --log-timing file.tm --log-out script.out .... +== KEY BINDINGS + +The following keys control the playback of the script: + +- *Space*: Toggles pause and unpause. Press this key to pause the playback, and press it again to resume. +- *Up Arrow*: Increases the playback speed. Each press of this key will make the script replay faster by x0.1. +- *Down Arrow*: Decreases the playback speed. Each press of this key will slow down the script replay by x0.1. + == AUTHORS The original *scriptreplay* program was written by mailto:joey@kitenet.net[Joey Hess]. The program was re-written in C by mailto:jay@gnu.org[James Youngman] and mailto:kzak@redhat.com[Karel Zak] -- 2.47.2