My personal build of Suckless’ sent
Go to file
Markus Teich eb07f3dc10 update version 2015-11-17 00:18:54 +01:00
.gitignore add stuff 2014-06-23 00:39:21 +02:00
LICENSE update license year 2015-11-04 01:40:50 +01:00
Makefile prepare switch to libsl 2015-04-05 15:48:47 +02:00
README.md remove utf8 support from todo list 2015-04-26 20:40:42 +02:00
arg.h add stuff 2014-06-23 00:39:21 +02:00
config.def.h add multiline support 2015-11-11 23:46:24 +01:00
config.mk update version 2015-11-17 00:18:54 +01:00
drw.c free all fonts correctly 2015-11-11 19:00:54 +01:00
drw.h drw: fixup font handling 2015-04-21 22:57:52 +02:00
example add multiline support 2015-11-11 23:46:24 +01:00
nyan.png add png support 2014-06-29 23:43:01 +02:00
sent.c add multiline support 2015-11-11 23:46:24 +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

README.md

sent

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 line represents a slide in the presentation. This may limit the use, but for presentations using the Takahashi method this is very nice and allows you to write down the presentation for a quick lightning talk within a few minutes.

The presentation is displayed in a simple X11 window colored black on white for maximum contrast even if the sun shines directly onto the projected image. The content of each slide is automatically scaled to fit the window so you 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. If you get

sent: could not find a scalable font matching -*-dejavu sans condensed-bold-r-*-*-0-0-*-*-*-0-*-*

you should add the dejavu fonts dir (customize path to fit your distribution) with:

xset fp+ /usr/share/fonts/dejavu

Configuration

Edit config.h to fit your needs. The font has to be in the X servers font path, see man xset for how to add it.

Usage

sent [-f FONTSTRING] FILE1 [FILE2 ...]

If one FILE equals -, stdin will be read. Use png images by prepending a @ before the filename. Lines starting with # will be ignored. A presentation file could look like this:

sent
why?
@nyan.png
easy to use
depends on Xlib, libpng
no bloat
how?
sent FILENAME
one slide per line
# This is a comment and will not be part of the presentation
# The next line starts with a whitespace, it will not produce an image slide
 @FILE.png
thanks / questions?

future features

  • multiple lines per slide?
  • light colored background and table of contents
  • second window for speakers laptop (progress, time, notes?)
  • markdown?