CALENDAR Michel Denber September 10, 1984 May 11, 1984 CALENDAR is a program which can be used to display a calendar on your screen, and keep track of events and appointments. I. Starting CALENDAR Load CALENDAR.DCOM from your favorite LispUsers directory [eg. LOAD ({ERIS}CALENDAR.DCOM)] and then type (CALENDAR). You will get a menu of years (the menu always shows five years starting with last year). If you select a year, it will create a Year Window containing a calendar for that year. Each month in the Year Window is also a menu item. If you now select a particular month, CALENDAR will create a Month Window showing a calendar for that month. You can now point to a particular day within the month to bring up a Day Window. CALENDAR uses the Prompt Window to display informative messages. You can SHRINK any of the CALENDAR windows to an appropriate icon when they are not needed. Please send your comments, suggestions, and bug reports to me - Denber.WBST (ARPA: Denber.WBST@Xerox). Thanks. II. Reminders Initially the Day Window is empty except for an ADD menu item. If you select ADD, you will be prompted for a time and an event (or reminder) description. The time can be entered in almost any reasonable format, eg. 2:30 PM, 2:30 P.M., or 1430. The event cannot exceed one line in length (when you type a CR it assumes you're done). Your reminder is then displayed in the Day Window and stored on the active reminder list. The first few characters of the reminder will also appear in the Month Window. When the day and time of that reminder arrives, the program will let you know by displaying the reminder in the prompt window and flashing the screen. The times that appear at the left of each reminder in the Day Window are also menu items which you can select if you want to specify a particular disposition of the reminder. Clicking left over a time will bring up a Disposition Menu. The following options are currently available: Flash (the default action) - The reminder is flashed in the prompt window. If you do not acknowledge it, it starts flashing the entire screen. You acknowledge the reminder (and cancel the flashing) by typing any key (the space bar, for instance). Beep - The reminder causes your Dandelion (or D0 if you have the TI sound chip) to beep. SendMail - The reminder is mailed to the recipient(s) of your choice. You will be prompted for their names. Note that no validity checking is done when you enter a name, so your message could conceivably not be delivered if you typed the name wrong, for example. The message is mailed when the time arrives. Of course, this assumes that your system is running at that time, and that you have Lafite active. Delete - Useful for deleting reminders that you no longer need. Normally reminders are deleted automatically after they "fire". CALENDAR will remove reminders which you delete from the month window immediately, however it will leave reminders that have fired visible in the window until you reselect the day of that reminder or reselect that month (eg. September visible, then select October, then September again results in all fired September reminders being removed from the display). Your active reminders are saved by the program in a file called CALREMINDERS in your connected directory when they are created. Thus you can save your reminders if you abandon your sysout or if your machine crashes (but see known bugs below). The font used to display the Month Window is stored in CALFONT. You can change it for example by saying (SETQ CALFONT (FONTCREATE 'HELVETICA 18)). The change takes effect the next time you display a month. The default font is TimesRoman 36. III. Current limitations Only one year, month, and day window can be shown at any given time. If you reload CALENDAR on restarting Lisp and you have an active reminders file (CALREMINDERS) on disk, you have to reload CALREMINDERS by hand. Has no REDISPLAYFN's, so will not redraw windows that have gone off the screen or have otherwise been damaged. Workaround - select that window again from the calling menu (eg. to redraw the Day Window for the 10th, select the "10" in the Month Window). IV. Known bugs None. V. Fixed bugs The automatic reminder save sometimes results in a "Leaf error 111". If you see this, I'd like to know about it. Phase-of-moon wrong under (VIDEOCOLOR NIL). VI. Future plans "Untimed" reminders (eg. birthdays, holidays) that are not automatically deleted. REDISPLAYFN's for each window. Multiple year and month windows. "Grouped days", eg. "Vacation - 10th through 20th". Month selection from year icon as well as expanded year window. GACHA  HELVETICA GACHA ¼ HELVETICA  HELVETICA : HELVETICA  HELVETICA ± HELVETICA  HELVETICA õ HELVETICA  HELVETICA W HELVETICA  HELVETICA • HELVETICA  HELVETICA Ð HELVETICA  HELVETICA Ù HELVETICA  HELVETICA  HELVETICA  HELVETICA ¡ HELVETICA  HELVETICA  HELVETICA  HELVETICA ~z¸