My personal build of Suckless’ sent
Go to file
sin b516f468fa Support farbfeld as an intermediate format
Sent now uses farbfeld[0] as an intermediate format.  A series of
filters is specified in config.h that matches file extensions to
filter programs.  The programs will convert between formats such as
png to farbfeld.  Internally in sent we do not need to worry on how
to parse png or any other format.

This also works with jpg and gif and others.  The 2ff wrapper will
use imagemagick conversion tools.  This is temporary as jpg2ff and
gif2ff will also be implemented.

To make this work, you will have to clone[0] and put png2ff and 2ff
in your PATH.

[0] http://git.2f30.org/farbfeld/
2015-12-08 20:01:36 +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 drw.c: Avoid potential memory leak in drw_cur_create() 2015-11-18 22:50:07 +01:00
drw.h drw: fixup font handling 2015-04-21 22:57:52 +02:00
example Support farbfeld as an intermediate format 2015-12-08 20:01:36 +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 Support farbfeld as an intermediate format 2015-12-08 20:01:36 +01:00
sent.c Support farbfeld as an intermediate format 2015-12-08 20:01:36 +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 and png images. 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.

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