home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / games / quote / quote.txt < prev    next >
Encoding:
Text File  |  1991-02-26  |  2.4 KB  |  57 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                                      Quote
  11.                                      -----
  12.  
  13.  
  14.      No doubt  you've seen quote of the day (QOTD) programs before, "Quote"
  15.      is a  Presentation Manager  implementation of  one.    Quote  randomly
  16.      chooses a  quote from a quote file chosen at random.  The quote chosen
  17.      is displayed  in a window under Presentation Manger.  The quote window
  18.      may be closed by pressing the right mouse button or any key when Quote
  19.      has the  input focus.   Optionally,  the quote  window may  be set  to
  20.      display or expire after a specified number of minutes.
  21.  
  22.      Quote may  be run  from the command line or from a program group.  The
  23.      syntax for executing Quote is:
  24.  
  25.        QUOTE [-?] [-D<n>] [-L<n>] [-T<time>]
  26.          -?       - Displays help window
  27.          -D<n>    - Closes quote window after <n> minutes
  28.          -L<n>    - Waits <n> minutes before displaying quote
  29.          -T<time> - Waits until <time> to display quote
  30.                     <time> should be of the form:
  31.                       HH:MM (e.g. 08:15, or 23:00)
  32.  
  33.      Quote searches  the current  working directory  for all files with the
  34.      extension 'QUO'.   The format of the QUO files is the standard fortune
  35.      format Ala  UNIX (see  accompanying quote file for an example).  Quote
  36.      randomly chooses one of the QUO files, determines the number of quotes
  37.      in the file, and randomly chooses one of those quotes to display.
  38.  
  39.      I  have   included  the  complete  source  to  Quote  along  with  the
  40.      executable.   The sample quote file (BUGS.QUO) was created from a post
  41.      to Usenet  (author unknown).   Comments,  input, modifications  to the
  42.      code, or whatever are appreciated, please send them to:
  43.  
  44.                Todd Crowe
  45.                1310 Indian St.
  46.                Bellingham, Washington 98225
  47.                Internet Address: TODDC@NESSIE.WWU.EDU
  48.  
  49.  
  50.      **********************************************************************
  51.      Quote and  the accompanying source code are copyright (c) 1990 by Todd
  52.      B. Crowe.   There  is no  warranty implied or otherwise.  You may copy
  53.      the program  and source  freely but  it must  be accompanied  by  this
  54.      notice.   The program  may not  be sold or distributed commercially or
  55.      otherwise for  profit.  I reserve all rights and privileges pertaining
  56.      to this program.
  57.