home *** CD-ROM | disk | FTP | other *** search
- TODAYBBS
- by Michael Conley
-
- Release 1.50 8/01/88
-
- This program determines the current date, then reads data files
- containing historical facts and produces a file of interesting
- information about the current date. It is intended for use in a
- BBS system where the file can be created as a part of a daily
- maintenance routine.
-
- NEW FEATURES/CHANGES:
-
- Beginning with version 1.50, TODAYBBS will optionally output a
- second file with ANSI color escape sequences included. This has
- required a change in the configuration file, TDCONFIG.DAT, adding
- a seventh line which is the name of the color file (Wildcat! users
- might want to call the ANSI file HELLO3.SCR and the ASCII file
- HELLO3.BBS, so the selection will follow the user's choice of
- whether to use ANSI display files where available. If you're
- upgrading from 1.40, you must add the name of the COLOR file as
- the 7th line of the TDCONFIG.DAT file, or place the word NONE there
- if you don't want to make a color file. The ASCII file is always
- generated when the program is run.
-
- Beginning with version 1.40, TODAYBBS will read optional header
- and tail file(s) and place their contents before (or after) the
- program's output. In order to use this feature, you need to place
- either one or both files in the SAME directory with your TODAY.XXX
- monthly data files. A file named TDHEADER.DAT will be placed at the
- front of the output file, and a file named TDTAIL.DAT will be added
- to the end of the output file. You may use any combination of these
- files ... none, either, or both.
-
- Beginning with version 1.30, TODAYBBS will read a file created just
- for your system, called "TODAY.LCL" and placed in the same path as
- the other TODAY.xxx files. Only one file is allowed, but entries
- for the entire year may be included by following the format of the
- sample file. In this way, you may "customize" your display with any
- special events or reminders you desire, without having to edit the
- monthly files.
-
- If TODAY.LCL is found, its entries will be read and displayed on the
- appropriate dates as the first entries in each of the categories. If
- the file is not present, it will be skipped.
-
-
- NOTE ON UPGRADING:
-
- If you are already running TODAYBBS and are converting to the new
- version, you MUST make a change in the TDCONFIG.DAT file. Line 7
- has been added (see sample below or use the included sample file in
- this archive.) This is the name of the ANSI COLOR output file, or
- if you don't want a color file, line 7 must be the word NONE.
-
- Because the WILDCAT! software changed its data structure with the
- release of version 1.12, TODAYBBS needs to know WHICH VERSION of
- WILDCAT! you are running. We suggest that you replace your
- TDCONFIG.DAT file with the new one included in this distribution,
- and edit it to suit your needs, paying particular attention to
- the entry on line 3, the version.
-
- As distributed, release 1.50 supports WILDCAT! versions from 1.03
- through 1.12. If you have an earlier version, check with Mustang
- Software about upgrading your WILDCAT! If you receive a later
- version, you may test TODAYBBS to see if it's compatible. Place
- the new version number in the TDCONFIG.DAT file. If the structure
- of the USERINFO file has NOT changed, this will continue to work.
- If it HAS changed, the program will simply not report users'
- birthdays. Whenever a change takes place, we'll plan on issuing
- an update to TODAYBBS to cover the new version of WILDCAT!
-
-
- SETTING UP:
-
- The only elements that need to be set up to operate this program
- are the TODAY.LCL file and the TDCONFIG.DAT file. This file MUST
- be located in the currently logged directory whenever TODAYBBS is
- executed. The first seven lines of the file define the operating
- parameters, and the FORMAT MUST BE FOLLOWED EXACTLY. A sample
- of this file is included here for your convenience.
- Remember to use an editor which will NOT include any special
- formatting characters, as some word processing programs may do.
-
-
- C:\TODAY\
- Charlatan's Cabin
- 1.12
- Y
- C:\WILDCAT\USERINFO.DAT
- C:\WILDCAT\DISPLAY\HELLO3.BBS
- C:\WILDCAT\DISPLAY\HELLO3.SCR
- ;
- ;
- ;Line 1 is the full drive and path name where the "TODAY.xxx" files are kept.
- ;Line 2 is the name of the BBS as you would like it to appear in the output.
- ;Line 3 is the Wildcat! version number you are running. Data files have
- ; changed format from time to time, and this information is necessary
- ; to allow the program to access Wildcat! data files properly.
- ;
- ;IMPORTANT: If you are NOT using Wildcat! and wish to run this program
- ; you may do so by placing an uppercase N on line 3.
- ;
- ;Line 4 is either Y or N to indicate whether Users' birthdays (without
- ; the year) should be included in the output file. It works ONLY if
- ; used in a WILDCAT! system.
- ;Line 5 is the full drive and pathname to the WILDCAT! user information file,
- ; usually USERINFO.DAT.
- ;Line 6 is the full drive and pathname for the program ASCII output file.
- ; If used with WILDCAT! we suggest using C:\WILDCAT\HELLO3.BBS
- ; (substituting the appropriate path name if different) so that
- ; the file is displayed automatically at the end of your signon
- ; sequence.
- ;Line 7 is the full drive and pathname for the program ANSI output file.
- ; If used with WILDCAT! we suggest using C:\WILDCAT\HELLO3.SCR
- ; (substituting the appropriate path name if different) so that
- ; the file is displayed automatically at the end of your signon
- ; sequence. If you DO NOT WISH to create an ANSI file, place the
- ; word NONE on line 7.
- ;
- ;
- ;IMPORTANT: All lines must be included in the file. Obviously certain
- ; combinations will not utilize all of the lines, but they are
- ; read by the program and tested before the program creates the
- ; output file and must conform to the above specifications even
- ; if not used! The notes after the last line are not required
- ; and may be deleted, but they will not cause a problem.
- ;
- ;THIS FILE must reside in the currently logged path (directory) when the
- ;program (TODAYBBS) is called.
-
- TESTING:
-
- To test the program, simply type TODAYBBS<enter> and the output
- file you have named in the TDCONFIG.DAT file will be created or
- overwritten if it already exists.
-
- You may wish to test various dates. For convenience, TODAYBBS
- will accept dates from the command line. Since the year is not
- used, enter the date as 4 digits in the form: MMDD. Leading
- and internal zeroes must be used, e.g., TODAYBBS 0307<enter>
- will produce a file from the information located for March 7.
-
- OPERATION:
-
- If your BBS has a provision for automatic daily maintenance, such
- as the WILDCAT! program by Mustang Software, include the following
- line(s) in the maintenance batch file, and schedule it to run as
- soon as possible after midnight:
-
- CD \WILDCAT <--- You should change this to the directory where
- TDCONFIG.DAT will be located.
- TODAYBBS <--- Next, execute the program, which will get the
- date from the system clock and produce the
- output file(s) as specified in TDCONFIG.DAT.
-
- SPECIAL NOTE:
-
- This program uses data files which are based on a data format and
- content used by Patrick Kincaid in his program TODAY-PC.
- The files were updated and revised when this program was released,
- and will no doubt be updated and revised further as users run these
- programs, and as history marches on. The files are available
- separately as TODAYDAT.ARC, and are periodically updated. In
- addition, other sources produce data files compatible with this
- format, and you may wish to merge them into these files. A word
- of warning: Avoid duplication, or both entries will be displayed
- in your output file. Also, be cautious about SORTING the new entries,
- as the SORT routine may be confused by the sequence of some of the
- multiple line entries in these or other data files.
-
- Comments and suggestions are invited. Please leave electronic
- mail to Michael Conley, SYSOP of the Charlatan's Cabin, at
- (213) 654-7337, or on CompuServe EMail address 70250,220.
-