Sent is a presentation tool that just read a file
Go to file
David Phillips 022ae48360 Change an eprintf to a die to stop child from running its own slideshow
The child thread was created because execlp will not return if successful.
The eprintf was placed after the call to execlp to catch any error, but the
child continued to return a (closed) fds[0], resulting in a second slideshow
being run by the child.

This commit fixes the issue by killing the child.
2015-12-24 01:57:50 +01:00
.gitignore add stuff 2014-06-23 00:39:21 +02:00
arg.h add stuff 2014-06-23 00:39:21 +02:00
config.def.h Support farbfeld as an intermediate format 2015-12-08 20:01:36 +01:00
config.mk Support farbfeld as an intermediate format 2015-12-08 20:01:36 +01:00
drw.c fix 2 uninitialized variables and bin == NULL check 2015-12-09 00:50:05 +01:00
drw.h drw: fixup font handling 2015-04-21 22:57:52 +02:00
example minor syntax, style and README fixes 2015-12-08 22:09:26 +01:00
LICENSE Support farbfeld as an intermediate format 2015-12-08 20:01:36 +01:00
Makefile prepare switch to libsl 2015-04-05 15:48:47 +02:00
nyan.png add png support 2014-06-29 23:43:01 +02:00
README.md minor syntax, style and README fixes 2015-12-08 22:09:26 +01:00
sent.c Change an eprintf to a die to stop child from running its own slideshow 2015-12-24 01:57:50 +01:00
util.c don't use EXIT_… cpp defines 2015-11-07 23:52:35 +01:00
util.h prepare switch to libsl 2015-04-05 15:48:47 +02:00

sent is a simple plaintext presentation tool.

sent does not need latex, libreoffice or any other fancy file format, it uses plaintext files to describe the slides and can include images via farbfeld. Every paragraph represents a slide in the presentation.

The presentation is displayed in a simple X11 window. The content of each slide is automatically scaled to fit the window and centered so you also don't have to worry about alignment. Instead you can really concentrate on the content.

Dependencies

You need Xlib to build sent and the farbfeld[0] tools installed to use images in your presentations.

Demo

To get a little demo, just type

make && ./sent example

You can navigate with the arrow keys and quit with q.

Usage

sent FILE1 [FILE2 ...]

If one FILE equals -, stdin will be read. Produce image slides by prepending a @ in front of the filename as a single paragraph. Lines starting with # will be ignored. A \ at the beginning of the line escapes @ and #. A presentation file could look like this:

sent

@nyan.png

depends on
- Xlib

sent FILENAME
one slide per paragraph
# This is a comment and will not be part of the presentation
\# This and the next line start with backslashes

\@FILE.png

thanks / questions?

Development

sent is developed at http://tools.suckless.org/sent

0: http://git.2f30.org/farbfeld/about/