KAROLARM(1) | OpenBSD Reference Manual | KAROLARM(1) |
karolarm | [-a] [-b brokeninterval] [-i interval] [-s sound] [user] |
No additional notifications will be sent unless at least one intermediate poll resulted in no pending games or a SIGHUP has been sent to karolarm or the number of pending games increases right after it decreased (i.e. if the user played some games while at the same time getting more pending games). The latter heuristic tries to circumwent situations where you work through all pending games, then close your browser, and then get another pending games within less than interval seconds, without karolarm noticing that the number of pending games was 0 for a short time.
If an error occurs during polling, the interval is temporarily changed to brokeninterval to avoid spamming the user in case karopapier.de suffers from temporar outages.
karolarm will exit if there are no more ttys owned by the user (probably because the user has logged out).
Standard options are as follows:
$ karolarm 'Crash King' &
Note that it is usually safe to run karolarm in the background.
If your unix account is the same as the karopapier user you want to watch, you can omit the username. For example, if your unix account is “kili”, the following two lines are equivalent:
$ karolarm &
$ karolarm kili &
If you want to be notified really fast, specify an interval shorter than the default interval of 15 seconds:
$ karolarm -i 5 &
To let a running karolarm send another notification after the current interval (if there still are pending games), just send it a SIGHUP signal:
$ karolarm &
$ karopid=$!
...
$ kill -HUP $karopid
January 18, 2015 | OpenBSD 5.6 |