23 Commits (master)

Author SHA1 Message Date
Christoph Lohmann 8fe4f9e733 Simplify reloading, remove lines.
3 years ago
Christoph Lohmann 0ebd046cc4 Move to sigaction. Raise SIGWINCH on HUP for ncurses.
3 years ago
Christoph Lohmann 6649dc02de Include string.h for memset.
3 years ago
Christoph Lohmann 59a8c7e4ae Raise SIGWINCH in SIGHUP, so refresh is safe in ncurses.
3 years ago
Hiltjo Posthuma b455270d0e add a few common keybinds: ^D, SPACE and ^L
3 years ago
Hiltjo Posthuma 4749f13de5 exit(0) on success, non-zero if an error occurred or signal was received
3 years ago
Hiltjo Posthuma 79fcfa10f4 print the exact amount of mmap'd data
3 years ago
Hiltjo Posthuma e53298ab1f add support for SIGWINCH / window resize
3 years ago
Hiltjo Posthuma c8f895266f sort includes
3 years ago
Christoph Lohmann b0efd23c24 Do not mmap all slides at the beginning to scale better.
3 years ago
Christoph Lohmann 5672cc0e59 Massive refactoring for features (SIGHUP, variable names).
3 years ago
Christoph Lohmann a4f575be61 Signal handler needs to have int for signal number.
3 years ago
Christoph Lohmann 626219d14e Arguments to cleanup are not needed.
3 years ago
Christoph Lohmann 6837d1b5e6 Change license header to current state.
3 years ago
Christoph Lohmann 8ef598d0d6 Remove duplicate SIGINT signal call.
3 years ago
Christoph Lohmann c19639a4ed Handle errors on munmap. It can fail too.
3 years ago
Christoph Lohmann 9d56979ded Add reload function to catpoint.
3 years ago
Ekkie 7f4f527303 Stat each file and mmap(3) only as much as is really needed
4 years ago
Christoph Lohmann 78504360bf Fix whitespace issues.
6 years ago
KatolaZ 62d8733dfb patch signal handlers for catpoint
6 years ago
Christoph Lohmann 1f8cc28431 Add support for Logitech USB remote presenter (powerpoint shortcuts).
7 years ago
Christoph Lohmann b36909615c Make Pos1 work.
7 years ago
Christoph Lohmann b95ee9c3f7 Initial commit.
9 years ago