Commits


amused-monitor: add a round function and simplify some bits


amused-monitor: drop unused `min' function


amused-monitor: rewrite excerpt function instead of passing "half" of the context wanted, just take the number of lines wanted. switch to a circular buffer to store the lines instead of shelling out (badly) to grep -C.


initialize status_format early in the main() otherwise we may leave it NULL (it's set only in ctl_status) and crash in print_status.


handle when the duration is zero


fix some leftovers better to use a control variable rather than `last' from a subroutine


add amused-monitor: an ncurses tui written in perl


document status -f


allow to customize the output of amused status This add a -f flag (that falls back to $AMUSED_STATUS_FORMAT) to control which field to print and in which order.


explain better non-regular/unknown files are treated


reword sentence


document the `seek' subcommand


seek: allow h:m:s notation and percentage


implement seeking on percentage of total duration


add my copyright I've added a sufficient amount of code I guess