From b68ebb8e338114da3a21991e8423d00fbd83a0b9 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Wed, 25 Oct 2023 17:43:11 -0400 Subject: Rewrite man page in mdoc --- srtplay.1 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 srtplay.1 (limited to 'srtplay.1') diff --git a/srtplay.1 b/srtplay.1 new file mode 100644 index 0000000..56d1ee2 --- /dev/null +++ b/srtplay.1 @@ -0,0 +1,38 @@ +.Dd $Mdocdate$ +.Dt SRTPLAY 1 +.Os +.Sh NAME +.Nm srtplay +.Nd text-mode player for SRT subtitle files +.Sh SYNOPSIS +.Nm +.Ar FILE +.Sh DESCRIPTION +.Nm +plays SRT subtitle files in a text-based interface. After running +.Nm +with the name of the subtitle file to play, it displays the elapsed time +as well as the subtitles. The , , and HTML tags are +supported in the subtitles and will be displayed as bold, italic, and +underlined, respectively. Other tags are ignored and stripped from the +output. +.Ss KEY BINDINGS +The following keys may be pressed at any time. +.Bl -hang +.It q, +exit the program +.It k, +pause or resume playback +.It j +fast-backward by 10 seconds +.It l +fast-forward by 10 seconds +.El +.Sh AUTHORS +Maintained by +.An Sam Nystrom +.Mt sam@samnystrom.dev . +Source code is available at +.Lk https://git.sr.ht/~stonks3141/srtplay . +Send patches and bug reports to +.Mt ~stonks3141/public-inbox@lists.sr.ht . -- cgit v1.2.3