home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / batch / wtt_v201.arj / WTTDOCEN.DOC < prev   
Text File  |  1991-12-08  |  18KB  |  391 lines

  1. ╔══════════════════════════════            ┌─────────────────┐
  2. ║ WTT       Wait Till Time                 │    D.I.S.P.     │────┐
  3. ║                                          │                 │░░░░│
  4. ╟──────────────────────────────            │                 │░░░░│
  5. ║ (c) 1991  Robert W.van Hoeven            │ Dutch           │░░░░│
  6. ╟──────────────────────────────            │   Independent   │░░░░│
  7. ║ Release : 2.01                           │     ShareWare   │░░░░│
  8. ║ Rel.Date: 8th December 1991              │       Programmer│░░░░│
  9. ╠══════════════════════════════            └─────────────────┘░░░░│
  10. ║                                          |    │░░░░░░░░░░░░░░░░░│
  11. ║ │ WTT.EXE                                |    └─────────────────┘
  12. ║ │ WTT.CTL                                |       ┌─────┐        |
  13. ║ │                                        |       │░░░░░│        |
  14. ║ │                                        |       └──┬──┘        |
  15. ║ │ Lines starting with '│' are            |     ┌────┴────┐      |
  16. ║ │ changes to release 1.02 !!             ------││││││ ═══│-------
  17. ║                                                └─────────┘
  18. ╠═══════════════════════════════
  19. ║ Address: Robert W. van Hoeven
  20. ║          PO. Box 131
  21. ║          1170 AC  Badhoevedorp
  22. ║          Nederland / Holland
  23. ╚═══════════════════════════════
  24.  
  25.  ┌───────┬─────────────────────────────────────────────────────────────┐
  26.  │   0   │ Table of contents                                           │
  27.  └───────┴─────────────────────────────────────────────────────────────┘
  28.  
  29.  1 ----    General information
  30.   1.1      Copyrights and License Agreement
  31.   1.2      Newer versions and contacting the author
  32.  
  33.  2 ----    Package description and requirements
  34.   2.1      Preface
  35.  
  36.  3 ----    Installation description
  37.   3.1      Installation
  38.   3.2      WTT.CTL
  39.   3.2      Running WTT
  40.  
  41.  4 ----    Version information and credits
  42.   4.1      The BETA-team
  43.   4.2      Credits
  44.   4.3      Version history
  45.   4.4      Copyright, Trademarks
  46.  
  47.  ┌───────┬─────────────────────────────────────────────────────────────┐
  48.  │   1   │ General information                                         │
  49.  └───────┴─────────────────────────────────────────────────────────────┘
  50.  
  51.  1.1 Copyrights and License Agreement
  52.  ────────────────────────────────────
  53.  
  54.  - Users of the WTT-package must accept this disclaimer of warranty:
  55.  
  56.  - The WTT-package is supplied as is.  The author disclaims all
  57.    warranties, expressed or implied, including, without limitation,
  58.    the warranties of merchantability and of fitness for any purpose.
  59.    The author assumes no liability for damages, direct or consequential,
  60.    which may result from the use of the WTT-package;
  61.  
  62.  - The WTT-package is a "shareware program" and is provided at no charge
  63.    to the user for evaluation.  Feel free to share it with your friends,
  64.    but please do not give it away altered or as part of another system.
  65.    The essence of "user-supported" software is to provide personal
  66.    computer users with quality software without high prices, and yet to
  67.    provide incentive for programmers to continue to develop new products.
  68.  
  69.  - If you find this program useful and find that you are using and
  70.    continue the use of the WTT-package after a 30 days trial period,
  71.    you must register the WTT-package as described below;
  72.  
  73.  - Non-commercial can get a license for the usage up to this release
  74.    of the WTT-package for free. Look into the details in REGISTER.WTT
  75.    For Non-commercial users there is a POSSIBILITY to submit to one
  76.    of the special contracts as explained in the file REGISTER.WTT;
  77.  
  78.  - Commercial usage of WTT will cost money. Also, a so called 'closed'
  79.    Bulletin Board System (a system where the user must pay direct to
  80.    the SysOp to get full access) is has to pay.
  81.    Both types of users should look into the details in REGISTER.WTT;
  82.  
  83.  - The registration of the WTT-package will license ONE copy for use on
  84.    any computer at any one time, as long as the usage confirms to the
  85.    type of registration you have done (so NON-commercial usage when you
  86.    have a non-commercial license);
  87.  
  88.  - Anyone distributing the WTT-package for any kind of remuneration must
  89.    first contact the Author at the address above for authorization;
  90.  
  91.  - You are encouraged to pass a copy of the WTT-package along to your
  92.    friends for evaluation.  Please encourage them to register their
  93.    copy if they find that they can use it;
  94.  
  95.  - Support on WTT, when used in a non-commercial environment, is
  96.    available by means of written letters or by entering the inter-
  97.    national echomail area DISP;
  98.  
  99.  - Problems and suggestions can be entered in the FidoNet <tm> Echomail
  100.    conference <tm> called DISP (international). Entering this echo does
  101.    not exclude you of the duty to register the WTT-package, though users
  102.    who evaluate the product can enter the echo for questions;
  103.  
  104.  - The WTT-package, all programs, the documentation and support-files is
  105.    copyrighted 1990,91 by Robert W. van Hoeven, PO. Box 131, Badhoevedorp
  106.    1170AC, Holland. All rights are reserved. You may copy this package
  107.    for backup purposes. Also you may copy and share unmodified copies of
  108.    the whole package, providing that the copyright notice is reproduced
  109.    and included on all copies.
  110.    Excluded from this statement are the support-files written by other
  111.    authors. Please refer to the documentation of these programs for
  112.    copyrights and license agreements;
  113.  
  114.  - It is forbidden to modify, adapt, translate, reverse engineer, de-
  115.    compile and/or disassemble the software in the WTT-package. Patching
  116.    the medium at places that carry the software is seen as a program
  117.    change and is also forbidden. It is forbidden to create a so called
  118.    'bypass' to skip the original introduction screens and delay. Also
  119.    it is forbidden to use such a 'bypass' unless supplied by the author
  120.    (Robert W. van Hoeven) himself;
  121.  
  122.  - Performing any of the illegal actions as stated in the previous
  123.    lines, is a theft and no fair play to the author and, more important,
  124.    to the registered users;
  125.  
  126.  - Bulletin Board Systems that distribute the WTT package can convert
  127.    the WHOLE package to any archive-system they like but all original
  128.    files must be included in the new archive. The WTT-package on the
  129.    Bulletin Board can contain at the most 2 extra files. These files
  130.    can only be a commercial for that Bulletin Board and/or validation
  131.    data that is presented as a service to all users and shall have no
  132.    other functions;
  133.  
  134.  - After the normal trial period of 30 days, you must register the soft-
  135.    ware (see REGISTER.WTT) or you must remove it from your PC;
  136.  
  137.  - Comments, suggestions and bug reports are welcome and will be answered
  138.    as soon I have the time to do so. You can send me a letter of leave a
  139.    NetMail <tm> message named to Rob Van.hoeven (mind the point) on node
  140.    2:512/100 (RA Support, Monster, Holland, SysOp is Reinier de Groot).
  141.    When you want to send me normal mail, address it to:
  142.    Robert W. van Hoeven, PO. Box 131, 1171 AC Badhoevedorp, Holland;
  143.    Also you can enter messages in the FidoNet <tm> DISP Echomail <tm>
  144.    area;
  145.  
  146.  
  147.  1.2 Newer versions and contacting the author
  148.  ────────────────────────────────────────────────────────────────────────
  149.  The newest version of WTT is always available at the DISP-HQ on node
  150.  2:512/100. WTT is also distributed thru a number of DISP support nodes.
  151.  There are three ways of obtaining newer versions of WTT:
  152.  
  153.  
  154.  - Logging on at DISP-HQ or a support node
  155.    Look into the file SUPPORT.WTT for a full list of support nodes;
  156.  
  157.  - Logging on to a SDS node
  158.    WTT is distributed thru SDS/SDN, but only big minors (x.10, x.20 and
  159.    so on) and majors (14.01, 15.01 and so on) are submitted to the SDS
  160.    distribution point in Holland;
  161.  
  162.  - Logging on to your own BBS;
  163.    Chances are, that you will find an older version (international
  164.    users) because it will take some time for the new version to
  165.    'bleed' thru the net;
  166.  
  167.  - Update service;
  168.    You can enter a special update service (read REGISTER.WTT).
  169.  
  170.  
  171.  If you think you have found problems in WTT, or in any other case,
  172.  you wish to contact the author, you can send me:
  173.  
  174.  - A letter to the address you can find in the header of this file;
  175.  - A NetMail <tm> message to Rob Van.hoeven (please mind the point
  176.    between Van and Hoeven) at 2:512/100 or (better) 2:512/100.5;
  177.  - A Message in the FidoNet <tm> DISP echomail <tm> area;
  178.  
  179.  ┌───────┬─────────────────────────────────────────────────────────────┐
  180.  │   2   │ Package description and requirements                        │
  181.  └───────┴─────────────────────────────────────────────────────────────┘
  182.  
  183.  2.1 Preface
  184.  ────────────────────────────────────────────────────────────────────────
  185.  This program is another batch-file enhancer. Its primary use is to
  186.  create a timer-loop until a specific time or in specific periods
  187.  of time. It was written as a program for a specific task, but because
  188.  I already had to create a flexible environment, I decided to enhance
  189.  the layout and to donate it to Public Domain/Shareware.
  190.  
  191.  The environment for which I wrote the program is not so uncommon. In
  192.  this case it had to be written for a special BBS. This BBS must only
  193.  answer the phone from 09:00-09:59 am, from 17:00-23:59 pm, but must
  194.  always answer the phone on saturdays, sundays and on some specific
  195.  holidays like easter, christmas and so on. In the remaining periods
  196.  the machine must stay power-on (unattended) but answering the phone
  197.  is a 'no-no'.
  198.  
  199.  WTT will do this tasks for you and, can be run in a multi-tasking
  200.  environment (it is DesqView aware).
  201.  
  202.  ┌───────┬─────────────────────────────────────────────────────────────┐
  203.  │   3   │ Installation                                                │
  204.  └───────┴─────────────────────────────────────────────────────────────┘
  205.  
  206.  3.1 Installation
  207.  ────────────────────────────────────────────────────────────────────────
  208.  The installation is simple. Put WTT.EXE somewhere in a DOS path.
  209.  Create (edit) a file called WTT.CTL (a straight ASCII file) and
  210.  put is:
  211.  
  212.  - Along with WTT.EXE in the same directory (only DOS 3.x and up
  213.    if this directory is not in the DOS path);
  214.  - Somewhere in the DOS-path;
  215.  - In the current directory.
  216.  
  217.  
  218.  3.2 WTT.CTL
  219.  ────────────────────────────────────────────────────────────────────────
  220.  WTT.CTL must contain some options (at least 1 DownTime option) and
  221.  can contain several. These options are described below.
  222.  
  223.  The general syntax of an option is:
  224.  
  225.  Option Parameters
  226.  
  227.  [Option]     can start in any position if the previous positions contain
  228.               blanks or must start in position 1. Case is not important;
  229.  
  230.  [Parameters] Must follow the option and [option] and [parameters] must
  231.               be separated with at least 1 blank.
  232.  
  233.  Comment lines can be included. These must start with the ';' character
  234.  in position 1 of each line.
  235.  
  236.  
  237.  You can include the following options in WTT.CTL:
  238.  
  239.  ╒══════════════════════════════════════════════════════════════════════════════╕
  240.  │DownTime hhmm-hhmm                                                            │
  241.  ╘══════════════════════════════════════════════════════════════════════════════╛
  242.  Function: You must include at least 1 downtime option in WTT.CTL.
  243.            Each DownTime option covers an IDLE period (e.g. a period
  244.            when WTT must loop internaly until the period ends).
  245.            There can an unlimited number of DownTime options. When
  246.            you must include a dayswitch in the down-period, you must
  247.            use at least two DownTime options, the first from somewhere
  248.            to 2400 and the second from 0000 until somewhere.
  249.  
  250.            An example. Your task (BBS) can only run in the periods
  251.            from 11:00 am to 19:00 pm and 21:00 pm to 22:30 pm. The
  252.            remaining periods must be covered by WTT's IDLE loop:
  253.  
  254.            DownTime 0000-1059
  255.            DownTime 1901-2059
  256.            DownTime 2231-2400
  257.  
  258.  
  259.  ╒══════════════════════════════════════════════════════════════════════════════╕
  260.  │PassWord pppppppppp                                                           │
  261.  ╘══════════════════════════════════════════════════════════════════════════════╛
  262.  Function: When WTT is running an IDLE loop, you can NOT break in, un-
  263.            less you reboot the computer and are able to stop the batch
  264.            file before WTT comes active. You can interrupt an IDLE loop
  265.            from the local keyboard only when you enter a password. This
  266.            password must match the password you supply on the Password
  267.            option. If you do not supply a password, breaking in is not
  268.            possible at all.
  269.            The password you supply can contain 1 to 10 characters. If
  270.            you use a 1 character password you create a 'hot-key' to
  271.            terminate WTT.
  272.            When WTT is running in an IDLE loop, you can enter characters
  273.            at the keyboard (you can only hear them with a beep, you can
  274.            not see them). WTT will terminate if you enter the correct
  275.            password as one continuous stream of keys.
  276.  
  277.            Two examples: Password a       : WTT will terminate when the
  278.                                             'a' key is hit;
  279.                          Password abba    : WTT will terminate if you
  280.                                             enter a 'a', a 'b' another
  281.                                             'b' and a 'a' without any
  282.                                             other keys between these
  283.                                             four letters.
  284.  
  285.            When WTT terminates because of local password input, it will
  286.            terminate with an errorlevel of 4 (otherwise 0).
  287.  
  288.  
  289.  ╒══════════════════════════════════════════════════════════════════════════════╕
  290.  │ExcludeDay n                                                                  │
  291.  ╘══════════════════════════════════════════════════════════════════════════════╛
  292.  Function: WTT can ignore the DownTime periods on specific days of the
  293.            week. In this case you must supply one or more (up to 7)
  294.            different ExcludeDay statements. The [n] reflects the day-
  295.            number where 1 is Sunday, 2 is Monday, 3 is Tuesday up to
  296.            7 for Saturday.
  297.  
  298.            An example. The specified DownTime periods are only valid
  299.            for Mondays and Fridays. All other days WTT must ignore
  300.            the DownTime and terminate at once (so the next task can
  301.            be started):
  302.  
  303.            ExcludeDay 1     (exclude Sun)
  304.            ExcludeDay 3         ,,   Tue
  305.            ExcludeDay 4         ,,   Wed
  306.            ExcludeDay 5         ,,   Thu
  307.            ExcludeDay 7         ,,   Sat
  308.  
  309.  
  310.  ╒══════════════════════════════════════════════════════════════════════════════╕
  311.  │ExcludeDate MMDDYY                                                            │
  312.  ╘══════════════════════════════════════════════════════════════════════════════╛
  313.  Function: WTT can ignore the DownTime periods on specific calender
  314.            dates. In this case you must supply one or more (up to 50)
  315.            different ExcludeDate statements. The format of the date
  316.            to be excluded is MMDDYY (MM=month, DD=Day, YY=Year).
  317.  
  318.            An example. The specified DownTime periods are not valid
  319.            on 11th of April, 23th and 24th December 1990;
  320.  
  321.            ExcludeDate 041090
  322.            ExcludeDate 122390
  323.            ExcludeDate 122490
  324.  
  325.  
  326.  3.3 Running WTT
  327.  ────────────────────────────────────────────────────────────────────────
  328.  WTT (under normal conditions) is called from a batch-file. WTT will
  329.  terminate with a errorlevel of 16 when an error was detected. WTT
  330.  terminates with errorlevel 0 if current date/time is not a downtime
  331.  period or if any of the exclusions are active. Errorlevel 4 means
  332.  that WTT is terminated with a password on the local keyboard.
  333.  
  334.  ┌───────┬─────────────────────────────────────────────────────────────┐
  335.  │   4   │ Version information and credits                             │
  336.  └───────┴─────────────────────────────────────────────────────────────┘
  337.  
  338.  4.1 The BETA-team
  339.  ────────────────────────────────────────────────────────────────────────
  340.  Look into the file SUPPORT.WTT for a full list of all beta-testers.
  341.  
  342.  
  343.  4.2 Credits
  344.  ────────────────────────────────────────────────────────────────────────
  345.  Thanks to the beta-team.
  346.  
  347.  
  348.  5.3 Version history
  349.  ────────────────────────────────────────────────────────────────────────
  350.  
  351.  ┌───────┬────────────────────────────┐
  352.  │ 1.01  │ First release              │
  353.  └───────┴────────────────────────────┘
  354.   ■ The first public release
  355.  
  356.  ┌───────┬────────────────────────────┐
  357.  │ 1.02  │ Minor release              │
  358.  └───────┴────────────────────────────┘
  359.   ■ Added ExcludeDay and ExcludeDate options;
  360.  
  361.   ■ Changed password support;
  362.  
  363.  ┌───────┬────────────────────────────┐
  364.  │ 2.01  │ Minor release              │
  365.  └───────┴────────────────────────────┘
  366.   ■ Fixed some cosmetic bugs;
  367.  
  368.   ■ Fixed desqview <tm> awareness, WTT was taking to many ticks from
  369.     the DesqView complex;
  370.  
  371.  
  372.  
  373.  5.4 Copyright, Trademarks
  374.  ────────────────────────────────────────────────────────────────────────
  375.  DesqView      is a trademark of QuarterDeck Office Systems.
  376.  
  377.  WTT is written in Turbo Pascal 6.0, with help of the Turbo Debugger 2.0
  378.  and makes extensive use of Object Professional 1.12.
  379.  Both STRG and SYS (6.1 and 6.0a) are included because I recently
  380.  registered for (and got) a commercial license for both products. Give
  381.  them a try ! Very nice !
  382.  
  383.  Turbo Pascal        is a trademark  of Borland International
  384.  Turbo Debugger      is a trademark  of Borland International
  385.  Object Professional is a trademark  of TurboPower Inc.
  386.  Asynch Professional is a trademark  of TurboPower Inc.
  387.  PowerTools Plus     is a trademark  of Blaise Computing Inc.
  388.  STRG and SYS        are  trademarks of Eagle Performance Software
  389.  
  390.  ==================== END OF DOCUMENT ==================================
  391.