home *** CD-ROM | disk | FTP | other *** search
- CalShow v4.7 -- Copyright (c)1991 by Bill Aycock
-
-
- CalShow is designed to run from your AUTO folder when you boot your ST. It
- will find Cal, read all your events, and display an entire screen's worth of
- events so you can easily see what's on tap for the next few weeks.
-
- You can also run CalShow from the desktop as a .TTP program. If you do so,
- you have the option of telling CalShow to:
-
- * print out the list of upcoming events
- * save the list to a disk file
- * specify a 'cutoff period' in days for displaying events
- * specify the maximum number of events to list
- * specify a starting or ending date for the display
- * tell CalShow where to look for Cal
- * show only significant events or all events
-
-
- * Installing CalShow as an AUTO program
-
-
- There are two steps involved in installing CalShow in your AUTO folder.
- First, you need to create a special "configuration file" which will be read
- when CalShow runs. This file must be called CALSHOW.PTH, and should be kept in
- the root directory of your boot disk. CALSHOW.PTH is a standard ASCII text file
- which can be created and edited with just about any ST word processor or text
- editor (as long as your editor has an option to 'Save as ASCII'). This file
- tells CalShow where it should look for the Cal program file. Just type in the
- full filename and path of your Cal program, hit Return, and save the file. The
- filename should be flush with the left side of the screen; don't add any spaces
- in front of the filename. Here's an example of a valid CALSHOW.PTH file:
-
- C:\DESKACCS\CAL47.ACC
-
- That one line is all it takes! The file CALSHOW.PTX included in this ARC is a
- sample CalShow path file; take a look at it if you have any questions.
-
- If CalShow doesn't find its CALSHOW.PTH file, it will look for Cal in two
- places before it gives up. First it will try to find a file named \CAL????.AC?
- on your boot disk. (The question mark is a 'wildcard', which matches any
- character; see your ST Owner's Manual for more information.) If that doesn't
- work, CalShow will look for \ACCS\CAL????.AC? on your boot disk. (This means
- that if you don't rename Cal AND you have Cal in either your root directory or
- in a folder named \ACCS\, then you don't need to create a CALSHOW.PTH file.) If
- CalShow can't find Cal anywhere it looks, it will tell you so when it runs.
-
-
- When you have your CALSHOW.PTH file set up, just copy CALSHO47.PRG into the
- AUTO folder on your boot disk. Then, next time you boot up, you should see a
- screen of upcoming events automatically! The display sticks around for fifteen
- seconds, then the boot process continues. If you'd rather not wait the full
- fifteen seconds, just press any key to continue booting. If there are no
- significant events to display, CalShow shows a message and doesn't pause at
- all so your bootup isn't delayed. (If you pass CalShow a command line, even if
- it only contains a blank, the pause will occur.)
-
-
- NOTE: You _must_ use this version of CalShow if your copy of Cal has any
- events marked 'not significant'. The use of an older version may cause an
- address error or incorrect display when processing an event that is not
- significant.
-
-
- * Running CalShow from the desktop
-
-
- You can run CalShow from the desktop like any other program. Rename the file
- to have the extension .TTP, then double-click on its icon. When you see a
- dialog box asking you to enter parameters for the program, you can enter any
- combination of these commands:
-
- ? display a screen showing the possible commands
- a show all events instead of just significant events
- p print (ignored if printer isn't online and ready)
- p<filespec> print output to a file (specify full filespec!)
- =<filespec> specify Cal's full filename (overrides CALSHOW.PTH)
- c<number> specify cutoff in days (0=no cutoff, default is 10)
- n<number> specify the number of upcoming events to list
- s<mmddyyyy> specify a starting date for the event list
- e<mmddyyyy> specify an ending date for the event list
- <number> seconds to pause (1-999, default is 15 seconds)
-
- Commands may be upper or lower case, and must be separated with blanks. You
- can enter the commands in any order. If you type the same command twice, the
- information from last one you enter will be used. If you don't pass any
- commands at all, CalShow will simply display one screen of events and pause for
- 15 seconds. If there were no events to display in the period you specify, Cal
- won't pause at all. (But if you pass any command line, even if it's all
- blank, Cal will pause after the display.)
-
- Don't include the <> characters in your commands. For the commands that need
- a <filespec>, enter a full filename including the drive letter, path, and
- filename. For a <number>, enter a group of decimal digits. For starting and
- ending dates shown as <mmddyyyy>, use a two-digit month number, a two-digit
- date, and a four-digit year. If the date you enter doesn't make any sense
- (e.g., the ending date precedes the starting date), Cal will use a reasonable
- value instead of what you entered.
-
-
- Here are a few examples of CalShow commands:
-
- 1. Show 50 events starting Nov 25, 1991 and save to A:\EVENTS.TXT...
-
- a n50 s11251991 pa:\events.txt
-
- 2. Print all events in D:\CAL.PRG occurring between now and Christmas...
-
- p a =d:\cal.prg e1225
-
- 3. List significant events this year and next, pause for two minutes...
-
- s01011991 e12311992 120
-
-
- The program is pretty straightforward to use. If you have any questions or
- comments, let me know!
-
-
- Bill Aycock
- 2310 North Elm Street
- Greensboro, NC 27408
-
- Compuserve ID: 76703,4061
- Internet: 76703.4061@compuserve.com
- March 17, 1991
- --------------------------------
- v4.7: adds support for event significance
- v4.6: corrects loop occurring when a one-time event is scheduled in the same
- month as, but in a different year from, the start date, on a date that
- precedes that of the first valid event to show (thanks to Tom Miller for
- documenting this problem)
-