Christoph Lohmann
cd4fd87b2f
Update manpage for reload.
...
Thanks Bob!
3 years ago
Christoph Lohmann
8fe4f9e733
Simplify reloading, remove lines.
...
Thanks Bob for the suggestion!
3 years ago
Christoph Lohmann
bfffb92ac6
Push LICENSE to 2020. For next release.
3 years ago
Christoph Lohmann
13d5b94b8d
Make it to 0.2.
3 years ago
Christoph Lohmann
0ebd046cc4
Move to sigaction. Raise SIGWINCH on HUP for ncurses.
...
Thanks Bob for the sigaction suggestion!
3 years ago
Christoph Lohmann
6649dc02de
Include string.h for memset.
...
Thanks Bob!
3 years ago
Christoph Lohmann
59a8c7e4ae
Raise SIGWINCH in SIGHUP, so refresh is safe in ncurses.
3 years ago
Christoph Lohmann
b87460e37b
Remove space to Gentoo for better readability.
3 years ago
Hiltjo Posthuma
a273019260
Makefile: add PATH-MAX-LIMIT.md to `make dist`
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
b455270d0e
add a few common keybinds: ^D, SPACE and ^L
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
4749f13de5
exit(0) on success, non-zero if an error occurred or signal was received
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
79fcfa10f4
print the exact amount of mmap'd data
...
It could read past the mmap'd region (not using the NUL terminator).
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
e53298ab1f
add support for SIGWINCH / window resize
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
c8f895266f
sort includes
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
a6db1af027
Makefile: improvements
...
- Rewrite the Makefile.
- Remove config.mk
- Be verbose.
- Separate CFLAGS, CPPFLAGS and LDFLAGS and respect system compiler flags.
- Remove default POSIX flags such as ${CC}.
- make dist: add missing files.
- make dist: pipe directly to stdin instead of making a tar file.
- Generalize the name and use ${NAME},${BIN} and ${MAN1} variables.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Hiltjo Posthuma
1c4c6d33a7
catpoint.1: add an initial man page
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
3 years ago
Christoph Lohmann
3900345c80
Add file with hints about PATH_MAX circumvention.
3 years ago
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.
3 years ago
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!
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.
...
Thanks Bob for noticing!
3 years ago
Christoph Lohmann
8ef598d0d6
Remove duplicate SIGINT signal call.
...
Thanks Bob!
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.
...
Thanks to Karchnu <karchnu@karchnu.fr> for the initial patch!
3 years ago
Christoph Lohmann
fbd1f47fc5
Add TOOLS helper for nice tools for presentation creation.
4 years ago
Christoph Lohmann
12e7c074bc
Merge branch 'master' of ssh://r-36.net:443/srv/git/catpoint
4 years ago
Christoph Lohmann
784da2eb63
Make config.mk for tinfo and ncurses separation possible.
4 years ago
parazyd
b19ef1df38
Fix linking with ncursesw by adding libtinfow.
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
4 years ago
Ekkie
7f4f527303
Stat each file and mmap(3) only as much as is really needed
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
4 years ago
Christoph Lohmann
78504360bf
Fix whitespace issues.
5 years ago
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>
5 years ago
Christoph Lohmann
05fee79d9b
Year bump.
6 years ago
Christoph Lohmann
77dfce9909
Some remnant from the global replace.
7 years ago
Christoph Lohmann
3d988d86e8
Adding a simple build system.
7 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.
8 years ago