ZDT 1.0 Z-System Day Timer/Scheduler Joseph I. Mortensen August 4, 1991 ZDT is the Z-System Day Timer and Personal Scheduler. Much of the code derives from my ZDB (Z-System Database). The similarities will be obvious to those who have used ZDB. Like ZDB, ZDT requires ZCPR 3.0 or higher, VLIB4+ and extended graphics TCAP. ZCPR 3.0 users will need to install the Z3 environment address at 109h. ZDT in its present state is 64 records, requiring only 8K on disk. What does ZDT do? At startup it checks for Z-System and looks for a real-time clock. If no clock module is found, it requests manual date input. ZDT takes the date from clock or from manual input, generates a calendar for the month, checks the data file for the existence of a record for the day, and displays the day's schedule, if any. It can be put in the NZCOM startup alias STARTZCM so that whenever you start your computer, ZDT will automatically run and present the day's schedule. The screen display includes the month's calendar and lines for 4 morning appointments, one for lunch, 4 in the afternoon, one for the evening, a long memo line, and 5 lines for a to do list. The current day is highlighted in the calendar display on systems with this capability. Otherwise the current day has a '<' beside it. Indexing of existing records is by date in BCD YYMMDD form. With each addition of a new record the index is sorted (a la ZDB). The main menu provides for movement forward and backward by one day, one week, or one month, (using WordStar-like ^S/^D, ^E/X^, and ^R/^C commands respectively). With each move forward or backward ZDT checks for the existence of a record for that day and displays it if there is one. Two commands not on the main menu are ^T to go immediately to the present day and ^\ to restore screen and display to startup condition. Other commands are the following: > or . = display the next day for which there is any data on file; < or , = display the nearest previous day for which there is any data on file; T = display the earliest day for which there is a record in the file; B = display the latest day for which there is a record in the file. A Go To command takes the user directly to any given day of any year. This operation may be aborted with ^C. The Edit command is used to enter data for a new record or modify an existing one. The editor is identical to the one in ZDB with a fairly full complement of WordStar-like editing commands. Terminal arrow keys (if present in TCAP) are intercepted and interpreted as ^E,^X,^S,^D in editor mode. ^Z moves the cursor directly to the memo line, saving a lot of tabbing. The Find command works exactly like the Find in ZDB. It will locate any string in any field in any record -- very useful for trying to remember when the appointment with Mr. Grapfenstein was set. An archive command (A) allows for writing all records prior to a given date to an archive file (ZDTARC.DTA), while purging them from the current file. This is a convenient way to save all past records without having to deal with an ever growing data file. The original, unarchived file is saved as ZDTBAK.DTA. The print command sends the schedule for any day to the printer. Printer initialization and reset strings are at 123h and 12eh respectively. The first byte of each should be a length byte. There's room for 10 bytes (plus length byte) for initialization and 5 (plus length byte) for exiting the printing. Please send your comments, suggestions, gripes, and report any bugs to me. CFG and HLP files are also available. Joe Mortensen 4214 Chelsea Ct. Midland, MI 48640 Voice 517-835-6923 Compuserve 70037,3161 GEnie J.MORTENSEN3 Ladera Z-Node