From 7c45c6d14154470037dac9dfc6d601a32787feb7 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Fri, 23 Jun 2023 01:03:15 -0400 Subject: add GPL boilerplate --- main.ha | 17 +++++++++++++++-- srtplay.1.scd | 21 +++++++++++++++++++-- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/main.ha b/main.ha index 4e17452..4fd5ba5 100644 --- a/main.ha +++ b/main.ha @@ -1,5 +1,18 @@ -// SPDX-FileCopyrightText: Sam Nystrom -// SPDX-License-Identifier: GPL-3.0-only +// srtplay - play .srt subtitle files in a TUI +// Copyright (c) 2023 Sam Nystrom +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . use bufio; use encoding::utf8; diff --git a/srtplay.1.scd b/srtplay.1.scd index c4038e9..d4740cc 100644 --- a/srtplay.1.scd +++ b/srtplay.1.scd @@ -16,15 +16,32 @@ elapsed time as well as the subtitles. The , , and XML tags are supported in the subtitles and will be displayed as bold, italic, and underlined, respectively. -# KEYBINDINGS +# KEY BINDINGS -The following keys will execute an action when pressed at any time. +The following keys may be pressed at any time. - *q*: exit the program - *j*: fast-backward by 10 seconds - *k*: pause or resume playback - *l*: fast-forward by 10 seconds +# COPYRIGHT + +Copyright (c) 2023 Sam Nystrom + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + # AUTHORS Maintained by Sam Nystrom . Source code is available at -- cgit v1.2.3