You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beep/beep-main.c contains the magic number 300000U four times from lines 268 to 296 restricting, among others, the time for the delay -d and -D switches to 300 s or 5 min.
I used to use beep for simple remind-me-in-x-min tasks (like getting the pizza from the oven 🍕), but now that is not possible anymore (without some wrapper script etc. pp.). Also, calling usage_bail() was unhelpful to me in that case, because the documentation does not state this limit and the program still refuses to work with a perfectly acceptable (according to documentation) invocation.
Maybe I am missing something, but what was the reasoning behind this seemingly arbitrary limit? 🤔
(Also, thank you very much for picking up an unmaintained project 🥺👍)
The text was updated successfully, but these errors were encountered:
This limit was introduced when we were using usleep(1000U*some_value). We are now (in https://github.com/spkr-beep/beep/blob/master/beep-main.c#L373) using nanosleep(2) which takes a time_t for the whole seconds and another integer for the sub-second nanoseconds (commit aae362d).
beep/beep-main.c contains the magic number
300000U
four times from lines 268 to 296 restricting, among others, the time for the delay-d
and-D
switches to 300 s or 5 min.I used to use beep for simple remind-me-in-x-min tasks (like getting the pizza from the oven 🍕), but now that is not possible anymore (without some wrapper script etc. pp.). Also, calling
usage_bail()
was unhelpful to me in that case, because the documentation does not state this limit and the program still refuses to work with a perfectly acceptable (according to documentation) invocation.Maybe I am missing something, but what was the reasoning behind this seemingly arbitrary limit? 🤔
(Also, thank you very much for picking up an unmaintained project 🥺👍)
The text was updated successfully, but these errors were encountered: