home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / today35.zip / TODAY35.DOC < prev    next >
Text File  |  1992-07-26  |  22KB  |  480 lines

  1.  
  2.  
  3.  
  4.        ┌──────────────────────────────────────────────────────────────┐
  5.        │                                                              │
  6.        │                                                              │
  7.        │                                                              │
  8.        │                                                              │
  9.        │                                                              │
  10.        │                                                              │
  11.        │                                                              │
  12.        │                                                              │
  13.        │                                                              │
  14.        │                                                              │
  15.        │                                                              │
  16.        │                                                              │
  17.        │                                                              │
  18.        │                                                              │
  19.        │                                                              │
  20.        │                                                              │
  21.        │                                                              │
  22.        │                                                              │
  23.        │                           T O D A Y                          │
  24.        │                                                              │
  25.        │                 What Happened Today In History?              │
  26.        │                                                              │
  27.        │                                                              │
  28.        │                                                              │
  29.        │                                                              │
  30.        │                          Version 3.5                         │
  31.        │                                                              │
  32.        │                         July 12, 1992                        │
  33.        │                                                              │
  34.        │                                                              │
  35.        │                                                              │
  36.        │                                                              │
  37.        │                                                              │
  38.        │                                                              │
  39.        │                                                              │
  40.        │                                                              │
  41.        │                                                              │
  42.        │                                                              │
  43.        │                                                              │
  44.        │                                                              │
  45.        │                                                              │
  46.        │                                                              │
  47.        │                                                              │
  48.        │                                                              │
  49.        │                                                              │
  50.        │                                                              │
  51.        │                                                              │
  52.        │ Copyright 1986,1992                          Patrick Kincaid │
  53.        └──────────────────────────────────────────────────────────────┘
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.             T A B L E    O F    C O N T E N T S
  61.  
  62.  
  63.  
  64. Welcome To TODAY............................................. 1
  65.  
  66. Installing TODAY............................................. 1
  67.   How TODAY Is Distributed................................... 1
  68.   The Files You Should Have.................................. 1
  69.   Where To Put Them.......................................... 2
  70.  
  71. Running TODAY................................................ 2
  72.   From The TODAY Directory................................... 2
  73.   From AUTOEXEC.BAT.......................................... 2
  74.   Using TODAY.BAT............................................ 2
  75.   Set The TODAY Environment Variable......................... 2
  76.  
  77. TODAY's Command Line Options................................. 3
  78.  
  79. The Configuration File....................................... 4
  80.  
  81. The TODAYCFG Program......................................... 4
  82.  
  83. Data File Format............................................. 4
  84.   Sample Data Records........................................ 5
  85.  
  86. The WHEN Program............................................. 6
  87.   Command Syntax............................................. 6
  88.  
  89. Where To Get TODAY........................................... 7
  90.  
  91. Legal Stuff.................................................. 7
  92.  
  93. Registration................................................. 7
  94. Page  1
  95.  
  96. Welcome To TODAY
  97.  
  98. TODAY will tell you what interesting events happened on this date (or
  99. any date of your choice) in history.  The program comes with a large
  100. database of historical events plus you can add your own personal dates.
  101. TODAY also has a configuration program that will help you choose which
  102. options you wish to use.  In addition, a companion program named WHEN
  103. will search the database for words you enter.  This way you can search
  104. for events rather than searching for a date.  It's the perfect
  105. complement to TODAY!
  106.  
  107. TODAY is shareware.  That means if you like it and use it, you are
  108. expected to contribute to its maintenance and support.  Only people like
  109. you can make shareware a viable alternative to expensive commercial
  110. programs.  TODAY is very inexpensive, so please register today!  See the
  111. section on how to register at the end of this document.
  112.  
  113. Installing TODAY
  114.                     How TODAY Is Distributed
  115.  
  116. TODAY is distributed as a ZIP file.  This means that the individual
  117. files that make up the system are compressed and stored in a single file
  118. named TODAYnn.ZIP where the nn is the version number.  In order to use
  119. the program you must have PKUNZIP.EXE or a compatible program to extract
  120. the files so that you can use them.
  121.  
  122. Some shareware distributors re-package the programs they sell.  If you
  123. did not receive TODAY as a ZIP file, contact your supplier for
  124. instructions.
  125.  
  126. The Files You Should Have
  127.  
  128. Filename         Description
  129. --------------   ---------------------------------------------
  130. POPD.EXE         see Installation below
  131. PUSHDIR.DOC      documentation on PUSHD and POPD
  132. PUSHD.EXE        see Installation below
  133. README.1ST       please do
  134. TODAYCFG.EXE     the configuration program
  135. TODAY.BAT        a sample BAT file to run TODAY
  136. TODAY.DOC        this documentation file
  137. TODAY.EXE        searches the database based on the date
  138. TODAY.mon        where mon is JAN through DEC:  the data files
  139. TODAY.OWN        (optional) a file for your own special dates
  140. TODAY.WIT        contains the thought for the day
  141. WHATS.NEW        What's new in this version
  142. WHEN.EXE         searches the database based on a keyword
  143.  
  144. Page  2
  145.  
  146. Where To Put Them
  147.  
  148. Make a directory off your root directory and name it TODAY ( MD \TODAY ).
  149. Copy the TODAYnn.ZIP file to it and type:  PKUNZIP TODAYnn   to extract
  150. all the files.  The program is now installed if you will only run it
  151. from the \TODAY directory.  However, there are better ways. Read on...
  152.  
  153. Running TODAY
  154.  
  155. TODAY can be run in a number of ways.  While the data files always stay
  156. in the same place, you may want to access them from anywhere on your
  157. system.  This part of the documentation explains how to do that.
  158.  
  159. From The TODAY Directory
  160.  
  161. If you are in the \TODAY directory, you need only type TODAY to run the
  162. program. This is because the programs and data files are in the current
  163. directory.  You can easily run TODAY from anywhere in your system using
  164. the techniques described in the following two sections.
  165.  
  166. From AUTOEXEC.BAT
  167.  
  168. If you run TODAY from your AUTOEXEC.BAT, you can insert these three lines:
  169.  
  170.         CD \TODAY
  171.         TODAY ONCE
  172.         CD \
  173.  
  174. And the program will run each morning when you turn on your computer.
  175. If you want to run it interactively, here are two options you might like
  176. to try.
  177.  
  178. Using TODAY.BAT
  179. Included with the TODAY package is TODAY.BAT and a couple of public
  180. domain programs (PUSHD.EXE and POPD.EXE) which will save your current
  181. directory, change to another directory, run one or more commands, and
  182. return you to your original directory.  This BAT file and the two EXE
  183. files must be in your path and I recommend that TODAY.EXE and WHEN.EXE
  184. be also.  Since TODAYCFG is used so rarely, it can remain in the \TODAY
  185. directory.
  186.  
  187. Set The TODAY Environment Variable
  188. DOS has system variables known as environment variables that can be used
  189. to supply information to programs.  You can do this with TODAY to tell
  190. the program where to find the data files.  It's easy.  Here's how:
  191.  
  192.         SET TODAY=path          ( eg  SET TODAY=C:\TODAY )
  193.  
  194. When the program runs, it looks for this variable, and if it finds it,
  195. goes to that directory to find the data files.  Put it in your
  196. AUTOEXEC.BAT.
  197. Page  3
  198.  
  199. TODAY's Command Line Options
  200.  
  201. TODAY has a number of options which can be entered on the command line after
  202. TODAY.  They control different aspects of how TODAY will run.
  203.  
  204.  ADD filename      TODAY has twelve data files named TODAY and with an
  205.                    extension of JAN through DEC.  This option specifies
  206.                    an additional set of data files to be scanned after
  207.                    the
  208.  
  209. TODAY.mon files.   For example, the option ADD MUSIC would scan MUSIC.JAN
  210.                    through MUSIC.DEC  after TODAY.JAN through TODAY.DEC.
  211.  
  212. ALT filename       would look for monthly files with the name specified by
  213.                    this option instead of the TODAY files.
  214.  
  215. ANSI               when used with the DISK option will add the ANSI
  216.                    escape sequences to display TODAY's information in
  217.                    the same colors as the screen.  It is most useful to
  218.                    bulletin board operators who ANSI displays for their
  219.                    users.
  220.  
  221. DIR path           tells TODAY where to look for the data files
  222.                    containing all that interesting information.
  223.  
  224. DISK               will cause TODAY's output to be written to TODAY.PRN
  225.                    or you can supply a filename in parenthesis right
  226.                    after the word disk like this:  DISK(BULLETIN.TXT).
  227.                    This example will create a file named BULLETIN.TXT
  228.                    instead of TODAY.PRN.
  229.  
  230. HELP  or ?         will display a help screen showing TODAY's options.
  231.  
  232. MMDD               is the month and day, each as two digits to be
  233.                    scanned for interesting events.  If there is only a
  234.                    single digit ( 6 ), it must be preceded with a zero (
  235.                    06 ).  This gives TODAY a date to use other than that
  236.                    in the system clock.
  237.  
  238. NOPAUSE            will stop TODAY from pausing after the display.  It
  239.                    is primarily for use with the DISK option.
  240.  
  241. ONCE               causes TODAY to display its information on the first
  242.                    time the computer is booted each day.  When the
  243.                    program runs, it changes the Last Access date of
  244.                    TODAY.EXE to today's date.  During future executions,
  245.                    if ONCE is specified and the Last Access date is
  246.                    today, the program will quietly stop.  You must be in
  247.                    the \TODAY directory for this to work ( CD \TODAY
  248.                    first ).
  249. Page  4
  250.  
  251. NOTIME             some people only want to see the date, not the time
  252.                    of day.  This one's for you.
  253.  
  254.  
  255. The Configuration File
  256.  
  257. Instead of entering these options on the command line each time TODAY is
  258. run, you can create a file TODAY.CFG which will be read by the program
  259. and any options contained in it will be applied as though you had typed
  260. them in.  While you can use an editor to create this file, there is a
  261. program which makes things much easier.
  262.  
  263. The TODAYCFG Program
  264.  
  265. This program will create and modify the TODAY.CFG file for you.  If
  266. there is no file, it will create it.  If TODAY.CFG exists, the program
  267. will read in the existing settings first, and then you can change them.
  268. TODAYCFG is particularly useful for changing colors. A small sample
  269. screen is displayed so that you can see the changes as you make them.
  270. The top half of the screen displays help for what you are doing, the
  271. bottom half shows the current configuration.  Play with it a bit, it's
  272. easy.
  273.  
  274. Data File Format
  275.  
  276. TODAY reads its files from files with a name of TODAY and an extension
  277. of JAN through DEC corresponding to the months of the year.  There is
  278. also a TODAY.OWN which can contain your personal dates and a TODAY.WIT
  279. which contains the Thought For The Day.  If you look at these files, you
  280. will see that they are ordinary ASCII files which you can change and add
  281. to.  However, you must use an editor which writes plain ASCII files.
  282. Word processors ususally imbed formatting characters which will ruin the
  283. file.  If this doesn't make sense to you - don't mess with the files.
  284. If it makes sense, here is the file format.  Remember, just line up with
  285. the line above or below.
  286.  
  287. Column 1:       This is a record type which tells TODAY what type of
  288.                 message follows.  The valid record types are:
  289.  
  290.                 B       a Birthday
  291.                 C       a Countdown. (not implemented)
  292.                 F       a Fortune Cookie or Thought For The Day
  293.                 R       a Reminder.
  294.                 S       a date of Special historical interest
  295.                 *       an asterisk makes the line a comment.
  296.  
  297.                 Any other character in column 1 is ignored.
  298.  
  299. Cols 2-5:       Month and day as MMDD with leading zeros.  Zeros for
  300.                 either month or day cause ALL months or days to match
  301.                 when being scanned.  For example, 0001 would match the
  302.                 first of every month while 0400 would match every day of
  303.                 April.  The number 0000 is invalid.
  304. Page  5
  305.  
  306. Cols 6-9:       The full year of the event as four digits.  Blanks are
  307.                 always okay or, for Reminders only, you may enter
  308.                 another MMDD for a range of dates on which the reminder
  309.                 will display.  See the Section Special Reminder Format
  310.                 below for details. A year in this part of a Reminder
  311.                 (not Birthday or Special) record will cause an invalid
  312.                 date error message. The Thought For The Day does not
  313.                 require, and will ignore anything in this field.
  314.  
  315. Column 10:      A single character that describes any special processing
  316.                 that is required for this line. The acceptable values
  317.                 are:
  318.  
  319.                 BLANK for no special processing.
  320.  
  321.                 C to continue a message from the previous line. Note,
  322.                   that you must repeat the date fields for the
  323.                   continuation line.
  324.  
  325.                 DAY-OF-WEEK DIGIT where 1=Sunday ... 7=Saturday. This
  326.                                   will cause the message to display only
  327.                                   if the date falls on this day of the
  328.                                   week.  See the example for Labor Day
  329.                                   below.
  330.  
  331. Cols 11-75:     The message to display for this date.  Anything after
  332.                 column 75 will not display.  Nor will it hurt anything,
  333.                 it is just ignored.
  334.  
  335.  
  336. Sample Data Records
  337.  
  338.  Columns
  339. ----------
  340. 1234567890
  341. B09011875 Edgar Rice Burroughs, novelist, Ah-ee-ah-ee-ah!
  342. B09021838 Queen Liliuokalani (last queen of Hawaii).
  343. B09021952 Jimmy Connors, tennis brat
  344. S09011939 Germany invades Poland, starts World War II.
  345. S09011952 Sutro Baths purchased by George Whitney.
  346. S0901    2Labor Day, a legal holiday
  347. S09021620 The Mayflower sets sail from Plymouth with
  348. S09021620C102 Pilgrims.
  349. R0001     Pay the mortgage!
  350. R0401     Taxes due in two weeks.
  351. R0415     Last day to pay taxes!
  352. F0130     Early to bed and early to rise
  353. F0130    CMake a man healthy, wealthy and wise.
  354.  
  355. Note that Labor day must be on a Monday and the Mayflower gets two lines
  356. of coverage befitting that momentous event.
  357. Page  6
  358.  
  359. This format applies to TODAY.OWN also.  You can put in birthdays,
  360. anniversaries, holidays etc.  Messages in your personal file will tend
  361. to be Birthdays and Reminders. Also, try putting in reminders using the
  362. new range of dates format.  This way if you miss the reminder one day,
  363. you will hopefully see it again the next day.
  364.  
  365. The WHEN Program
  366.  
  367. WHEN is a companion program to TODAY.  Where TODAY tells you what
  368. happened on a particular date, WHEN searches all the TODAY date files
  369. for a key word or phrase that you supply and tells you when that
  370. particular person or event caused something of note in history. The
  371. program is particularly easy to use: you simply enter the word WHEN
  372. followed by the word(s) you wish to search for.  If you want to know
  373. when Mozart was born you enter: WHEN MOZART.   Upper/lower case does
  374. not matter.  If you want to search on a phrase, meaning words separated
  375. by spaces, you must enclose it in double quotes( "San Francisco"). You
  376. do not need to enter an entire word when searching.  It is often better
  377. to enter only the root portion of a word where it might have different
  378. endings.  For example, "treat" would match on "treat", "treaty",
  379. "treaties", even "retreat".  This partial word technique you will often
  380. get surprising results.
  381.  
  382. Command Syntax
  383.  
  384. WHEN searchstring { ALTFN filename / DIR directory / MONO }
  385.  
  386. As stated earlier the search string can be in upper or lower case in
  387. must be enclosed in double quotes(") for multiple words.
  388.  
  389. ALTFN is followed by an alternate database filename such as MUSIC and
  390.       will then search that database instead of the TODAY files.  Note,
  391.       when searching the TODAY files, TODAY.OWN is also searched.  If
  392.       you put in everyone's birthdays, anniversaries etc., you can
  393.       quickly look them up by entering WHEN and a name.
  394.  
  395. DIR   followed by a directory path tells WHEN where to look for the
  396.       files to search.  By default, WHEN looks in the current directory
  397.       and in the directory pointed to by the TODAY environment variable.
  398.       (See TODAY.DOC).
  399.  
  400. MONO  forces WHEN to display in monochrome in case the program thinks
  401.       you have a color monitor but it's really monochrome. Here are some
  402.       examples with descriptions:
  403.  
  404. When  mozart           This will search for every occurrence of the word
  405.                        Mozart in the database.  Remember, upper/lower
  406.                        case doesn't matter.
  407.  
  408. When  San              Will find every San Francisco, San Miguel, Santa
  409.                        and Aleksander.  In the last example, the middle
  410.                        of the word matched.
  411.  
  412. When  "San Fran"       Now you're cooking!  This will find San Francisco.
  413.                        Note the quotes because of the blank between the
  414.                        words.
  415. Page  7
  416.  
  417. When  Matti  mono      Note there are no quotes, so Matti is the search
  418.                        word and mono is the monochrome option.
  419.  
  420. Well, that's it for WHEN.  It's actually a fascinating program to use.
  421. Also, since it lets you cross reference things, it could be a research
  422. tool were it not for the quality of the data.  But then, that's the
  423. story of history ( and send in any mistakes you find ).
  424.  
  425. Where To Get TODAY
  426.  
  427. I upload the latest version of TODAY to the Golden Gate Computer Society
  428. Bulletin Board in Corte Madera, California.  Others upload Today related
  429. files there too.  The Society is kind enough to support a TODAY
  430. Conference on the BBS that is devoted to support for the program.  Give
  431. it a try.
  432.  
  433.         Golden Gate Computer Society BBS
  434.         (415) 927-1216
  435.         2400-9600 bps
  436.         8 data bits, no parity bit, one stop bit (8N1)
  437.         This BBS uses PCBOARD software.
  438.  
  439. Legal Stuff
  440.  
  441. I try to insure that there are no bugs in TODAY but occasionally one
  442. creeps in.  I then try to fix it as soon as possible.  However, I am not
  443. responsible for any problems caused by your use of the program nor for
  444. the accuracy (or lack of it) in the data. Your use of the program is
  445. totally at your own risk.  Nuf said.
  446.  
  447. Registration
  448.  
  449. If you use TODAY, please register it.  Some people ask a lot of money
  450. for their programs.  I ask a small amount and hope that more people will
  451. pay it.  Won't you be one of those who help keep shareware in general
  452. and TODAY in particular alive?  Here's the reckoning:
  453.  
  454.      Amount     Will Get You
  455.      ------     -----------------------------------------------
  456.       $10       Registration for the copy you have
  457.       $15       Current Version and docs on 5.25" 360K diskette
  458.       $16       Current Version and docs on 3.5"  720K diskette
  459.       $20       Either diskette (specify) with printed docs
  460.  
  461. Please make your check payable to Patrick Kincaid and mail it to:
  462.  
  463. Patrick Kincaid
  464. 618 Douglas Drive
  465. Mill Valley, CA 94941
  466. Page  8
  467.  
  468. This is also the address to write to me if you don't use Email on the
  469. Bulletin Board mentioned earlier.  The BBS is the best way to reach me
  470. because it is a lot more efficient than paper mail.  In either case it
  471. may take a bit for me to respond as I travel a lot these days.  I always
  472. respond though so a little patience will serve you well.
  473.  
  474. Finally, thanks to all the people who have contributed to TODAY.  You
  475. are responsible for the program being what it is today.  I intended it
  476. to be a project to learn a new compiler, not a shareware product.  Your
  477. support is what changed all that.
  478.  
  479.    Just remember -  We call it software because we cannot keep it up.
  480.