Commit Graph

22 Commits (3900345c80a9b585dfaa7a147ffbf36ad76a05f6)

Author SHA1 Message Date
Christoph Lohmann 3900345c80 Add file with hints about PATH_MAX circumvention. 2020-12-20 15:36:16 +01:00
Christoph Lohmann b0efd23c24 Do not mmap all slides at the beginning to scale better.
Without mmaping all slides at the beginning, catpoint scales better
and the whole internal algorithms are simplified.
2020-12-20 15:25:52 +01:00
Christoph Lohmann 5672cc0e59 Massive refactoring for features (SIGHUP, variable names).
* Now the global variable names are easier to use.
* Only the global variables are used.
* A new loadcurrentslide() function is used for SIGHUP.
	* This allows slideshows to be programmed using SIGHUP.
	* Thanks Bob for the suggestion!
2020-12-20 14:57:45 +01:00
Christoph Lohmann a4f575be61 Signal handler needs to have int for signal number. 2020-12-20 14:41:04 +01:00
Christoph Lohmann 626219d14e Arguments to cleanup are not needed. 2020-12-20 14:40:03 +01:00
Christoph Lohmann 6837d1b5e6 Change license header to current state.
Thanks Bob for noticing!
2020-12-20 14:38:14 +01:00
Christoph Lohmann 8ef598d0d6 Remove duplicate SIGINT signal call.
Thanks Bob!
2020-12-20 14:37:26 +01:00
Christoph Lohmann c19639a4ed Handle errors on munmap. It can fail too. 2020-12-20 14:34:51 +01:00
Christoph Lohmann 9d56979ded Add reload function to catpoint.
Thanks to Karchnu <karchnu@karchnu.fr> for the initial patch!
2020-12-20 11:44:12 +01:00
Christoph Lohmann fbd1f47fc5 Add TOOLS helper for nice tools for presentation creation. 2020-05-13 15:06:39 +02:00
Christoph Lohmann 12e7c074bc Merge branch 'master' of ssh://r-36.net:443/srv/git/catpoint 2020-05-05 13:14:37 +02:00
Christoph Lohmann 784da2eb63 Make config.mk for tinfo and ncurses separation possible. 2020-05-05 13:13:42 +02:00
parazyd b19ef1df38 Fix linking with ncursesw by adding libtinfow.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-05-05 12:49:55 +02:00
Ekkie 7f4f527303 Stat each file and mmap(3) only as much as is really needed
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-05-04 12:50:07 +02:00
Christoph Lohmann 78504360bf Fix whitespace issues. 2018-07-08 14:59:13 +02:00
KatolaZ 62d8733dfb patch signal handlers for catpoint
As subject says. Avoid to garble the terminal on an exit due to
signal. Quite straightforward ;)

HND

KatolaZ

--
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ]
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2018-07-08 14:58:38 +02:00
Christoph Lohmann 05fee79d9b Year bump. 2018-01-24 17:06:54 +01:00
Christoph Lohmann 77dfce9909 Some remnant from the global replace. 2017-03-18 12:16:31 +01:00
Christoph Lohmann 3d988d86e8 Adding a simple build system. 2017-03-17 17:03:24 +01:00
Christoph Lohmann 1f8cc28431 Add support for Logitech USB remote presenter (powerpoint shortcuts). 2017-03-04 16:49:33 +01:00
Christoph Lohmann b36909615c Make Pos1 work. 2017-02-26 17:21:51 +01:00
Christoph Lohmann b95ee9c3f7 Initial commit. 2015-08-27 23:54:58 +02:00