show_comics - Show comics, distributed over a time interval
show_netcomics [-c cmd] [-d dir] [-f rcfile] [-l|-t hh:mm] [-p [cmd]] [-D cmd] [-k lockfile|-K] [-s <hh:mm>]
show_comics is used to display comics downloaded by netcomics. It first pops up a window to ask you what time you plan on leaving (in 24 hour time). Using the time you entered, it will evenly distribute the comics to be displayed from the time the script is run to the time you specified you will leave.
Specify the comics you want to have displayed in a file called ~/.comics. You may specify an alternate file on the command line. If no file exists, all comics will be displayed (all files that end with .gif, .jpg, or .jpeg in the directory).
If you don't have perlTk installed, use -l to specify the time and to make show_comics not try to pop up a window.
Use the -w option to have show_comics sleep until the specified allowed start time. This is useful for having it wait until your netcomics cronjob will have most likely have finished so that it doesn't try to display yesterday's comics. If it does wait, it will go ahead and first ask for the time you're going to leave.
In a UNIX environment, you can utilize the lockfile mechanism to run show_comics from many different places an not have to worry about checking to make sure it is already running. For example, you can run show_comics from your .xinitrc or .xsession as well as from a crontab. If netcomics is run in the morning, say at 7:00 by a crontab, then you could run show_comics from a cron job at 7:30, assuming netcomics will take no more than 1/2 hour. Then, in your .xinitrc file, you could also run show_comics if the time is greater than 7:30 (see -s). Therefore, if you have logged into your computer before 7:30, show_comics won't run from your .xinitrc file, but once 7:30 has come around, it will be run by your cron job. If you log into your computer after 7:30, then show_comics will fail to run at 7:30 (assuming the program show_comics uses to check to see if the display is available failed), and then show_comics will be run by your .xinitrc file.
Output verbose messages.
Netcomics Maintainers <email@example.com>