Commit Briefs

Omar Polo

add DISTNAME variable

like the one from bsd.port.mk, here it's used to decide the name of the tarball.


Omar Polo

include contrib/ in the tarball


Omar Polo

amused.1: minor tweaks




Omar Polo

amused-monitor: fix rounding

round() rouds towards infinity, but for the line counting i need a round towards zero, the one provided by int()


Omar Polo

amused.1: sort the events


Omar Polo

amused-monitor: fix bug when window is taller than playlist

adjust the index before reordering the entries, otherwise we may try to read out-of-bound because the reading loop wraps at $lines, not at $tmp size.



Omar Polo

add consume mode

the consume mode implicitly drops the tracks from the playlist when played 'till the end (note that skipping over a track doesn't trigger the consume mode - yet?)


Omar Polo

amused.1: misc tweaks


Omar Polo

drop restart from the list of 'status-like' commands

now it's an alias for 'seek 0', so it doesn't return the status.


Omar Polo

pledge early

This changed amused to pledge "stdio rpath" early in main() and then drop down to "stdio" in ctlaction, by removing the pledge call in parse. Simplifies a bit the logic and runs more code under pledge.


Omar Polo

include unistd.h for close

spotted on aarch64/glibc