S5(1) | General Commands Manual | S5(1) |
s5
— set up and
update S5 presentations
s5 |
[-Nv ] [-d
dir] [-f
configfile] [-t
template] [-T
full] blank
path |
s5 |
[-Nv ] [-d
dir] [-f
configfile] [-t
template] [-T
full] cksum
path |
s5 |
[-Nv ] [-d
dir] [-f
configfile] [-t
template] [-T
full] mksum
path |
s5 |
[-Nv ] [-d
dir] [-f
configfile] [-t
template] [-T
full] update
path |
s5 |
-h |
s5 |
help |
The s5
tool eases the creation of
presentation slides using the “Simple Standards-based Slide Show
System”. It may be used to create a working copy of a template
directory or, later, to update the working copy after the template has
changed over time.
The s5
tool supports the following
command-line options:
-d
-h
-N
-t
template-d
option.-T
full-v
The s5
tool supports the following
actions:
blank
pathcreate
, new
Copy the template directory into the directory specified by path, creating it if necessary.
cksum
pathcheck
, verify
Verify the checksums recorded for the S5 presentation files in
the directory specified by path. The
s5
utility reports both files that have been
modified (fail the checksum check) and files that no longer exist yet
have checksums recorded.
help
usage
Display a short help message and exit.
mksum
pathblank
and update
command
processing.update
pathBefore updating, the s5
utility
verifies the checksums of the files in the path
directory, and terminates if a mismatch is found. After that,
s5
checks for any files that exist in both the
new template and in the path directory, but are
not recorded in the checksum file (i.e. have been placed in
path by hand after the last
s5
blank
or
s5
update
run) and
terminates if any such files differ.
If all these checks are successful, the
s5
utility copies the template files over those
in path, overwriting any existing files and
retaining any files that do not exist in the template directory.
The s5
utility's operation may be
customized by specifying some common parameters in a configuration file that
is read at each invocation. There are two configuration files - the global
/etc/s5.conf and a per-user
.s5.conf in the user's home directory. The global
file is read first; the per-user file may override any of its settings.
The configuration file has simple shell-like syntax; its purpose
is merely to optionally set some variables. Lines starting with the
“#” character are ignored as comments. The variables that
affect the operation of s5
are:
-d
option. Default:
/usr/share/s5-t
option. Default:
s5-blankThe s5
utility stores the checksums of
blank S5 presentations into a file named
s5-checksums.txt into the presentation directory.
This is a simple text file with lines containing of a keyword and values.
The keywords that the s5
utility currently generates
and parses are as follows:
CKSUM_CMD
checksum-programCKSUM_ARGS
[[argument...]]CKSUM_CMD
line. The default is an empty string, no
arguments passed.FILE
filenameCKSUM
line
refers to.CKSUM
checksum-line-textCKSUM_CMD
and CKSUM_ARGS
conflated into a single line.Start a brand new presentation:
s5 blank
~/txt/openfest/2006/gnupg-pres
cd
~/txt/openfest/2006/gnupg-pres/
mv s5-blank/ gnupg/
Verify if any of the S5 files in the presentation have been modified:
s5 cksum gnupg/
Do the same, but display verbose information about the lines read from the checksums file and the files verified:
s5 -v cksum gnupg/
Update the S5 presentation files after installing a new system-wide version of the S5 template:
s5 update gnupg/
Store the checksums of the S5 template files
(not the real files
in the presentation directory!) into the
s5-checksums.txt file in the
gnupg/ directory; this is actually redundant, as it
is done as part of the s5
blank
invocation:
s5 mksum gnupg/
The home page of the Simple Standards-based Slide Show System:
https://meyerweb.com/eric/tools/s5/
The Simple Standards-based Slide Show System was written by
Eric Meyer based on earlier work by
Tantek Çelik. The s5
tool and this manual page were written by Peter
Pentchev in 2008.
Eric Meyer ⟨s5@meyerweb.com⟩
Tantek Çelik ⟨tantek@tantek.com⟩
Peter Pentchev ⟨roam@ringlet.net⟩
April 14, 2016 | Debian |