snicoud@boeing.com (Stephen L Nicoud) (04/16/91)
Last week I posted information about where to get OpenWindows Calendar Manager versions of the dates files that were provided by Calentool. Since then I have learned from the author and maintainer of Calentool, Bill Randle <billr@saab.CNA.TEK.COM>, that a newer version was recently released. This new version of Calentool (2.2) has an expanded collection of dates files. I just finished converting those files and have replaced the dates.tar.Z on atc.boeing.com with this newer distribution. Also, note that in the first distribution, the keys in the dates files were unique only within a particular file. In this new distribution the keys are unique among all of the files. You still need to make sure that none of the keys conflict with ones that currently reside in your /usr/spool/calendar/callog.user file. Appended is the updated README file for the CM dates distribution. Also note that there is now a CREDITS file in the distribution which gives details on where and how the dates were compiled and by whom. Several people have requested information on how I converted the files. I hacked up some code (Common Lisp) in a couple of hours that handled the basic conversions. I spent a few more hours tweaking it to get it to handle most of the repeating events. We are using the code here to ease the transition from SunView to Calendar Manager. I'll post the code soon. It isn't very pretty, but then I wasn't coding it to be robust or elegant, just useful in a pinch. It requires a certain amount of hand-holding. I'd be interested if someone ported it to C or <insert-your-favorite-language-here>. Stephen -- Stephen L Nicoud <snicoud@boeing.com> uw-beaver!bcsaic!snicoud Boeing Research and Technology Center for Computer Science Bellevue, Washington USA README file: The files in this directory contain Date entries for use with Open Windows Calendar Manager. These files were created by converting the dates files provided with SunView's Calentool 2.2. Please read the CREDITS file for details on who collected these dates. To get these files, anonymously ftp to atc.boeing.com [130.42.28.80], change to the /pub/cmgr directory, and snarf the dates.tar.Z file (remember to use binary mode). dates.tar.Z is a compressed tar file. If you don't know how to uncompress and untar a file, you'll have to learn from someone at your site. This is a list of the files in the distribution and the description of their associated events: ancient Events celebrated in ancient times can_holiday Major Canadian holidays (holidays from work) celtic Holidays/events of interest to Celts computing Events in the history of computing events Historical events (major and minor) gdead Dates concerning the rock group Grateful Dead hawaii Historical events pertaining to Hawaii literature Historical events pertaining to literature, newspapers and comics lives Biographical dates of note (births, deaths, weddings) lotr Special dates for fans of Tolkien's Lord of the Rings movies Historical events pertaining to motion pictures music Historical events pertaining to the music world (both popular and traditional) radio Historical events pertaining to radio sfo Historical events pertaining to San Francisco, CA and the surrounding area space Dates of note in the history of the exploration of outer space sports Dates concerning sports. television Dates concerning television programs and history of tv. usa_holiday Major US holidays (holidays from work) usa_other Minor US/Canadian holidays usa_states US holidays specific to selected states witchcraft Dates of interest to witches and warlocks world Holidays from countries other than the US/Canada Note that in the some of the files (viz., can_holiday, usa_holiday, usa_other, & usa_states), the following holidays/events are not listed as they do not fall on the same Gregorian date every year (and Open Windows' Calendar Manager doesn't know how to deal with that): Mother's Day Victoria Day Father's Day Labor Day Thanksgiving Day (Canada) Thanksgiving Day (United States) Martin Luther King Jr. Day Presidents Day Memorial Day Columbus Day observed Arbor Day Daylight Savings Time Begins (set clocks forward 1 h) Armed Force's Day Children's Day Grandparent's Day (1st Sun after Laboe Day) Child Health Day Thanksgiving Day (Canada) Daylight Savings Time Ends (set clocks back 1 h) Sadie Hawkin's Day (1st Sat after Nov 11) Lee-Jackson Day (VA) Robert E. Lee's Birthday (AL & MS) Seward's Day (AK) Patriot's Day (ME & MA) Arbor Day (WY) Confederate Memorial Day (AL & MS) Memorial Day (MI) Jefferson Davis's Birthday (AL & MS) Admission Day (HI, 1984) Labor Day (Australia) To install these dates in your calendar manager you will need to add them to the end of your /usr/spool/calendar/callog.user file (where "user" is your account name). After installing the appointments you want the Calendar Manager daemon needs to be restarted. I know of two ways to do this (1) have superuser execute the "$OPENWINHOME/bin/xview/install_cmgr" command on the host which is running the daemon or (2) reboot the machine which is running the daemon. Normally, the machine which is running the daemon is your own host. Note, each entry of each of these files has a unique key number. You will need to insure that the keys do not conflict with any pre-existing key in your callog.user file. You will have to use whatever technique you can to change the key numbers so that they do not conflict. 4/15/91 Stephen Nicoud <snicoud@boeing.com>