home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / ATPLUS10.ZIP / ATPLUS.DOC < prev    next >
Encoding:
Text File  |  1993-09-18  |  20.1 KB  |  464 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.               ┌───────────────────────────────────┐
  25.               │  ╒═════════════════════════════╕  │▒▒
  26.               │  │         ATPlus.Exe          │  │▒▒
  27.               │  │        Version  1.0         │  │▒▒
  28.               │  │  ─────────────────────────  │  │▒▒
  29.               │  │   (c) 1993 Alien Archives!  │  │▒▒
  30.               │  │     All Rights Reserved     │  │▒▒
  31.               │  ╘═════════════════════════════╛  │▒▒
  32.               └───────────────────────────────────┘▒▒
  33.             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  34.  
  35.                 September 18, 1993
  36.  
  37.  
  38.  
  39.     ╒════════════════════════════════════════════════════════════════════════╕
  40.     │▒▒▒ Introduction ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  41.     ╘════════════════════════════════════════════════════════════════════════╛
  42.  
  43.       The purpose of ATPlus is to send commands directly to a modem from the
  44.       DOS command line. The program will send AT "Plus whatever you tell it"
  45.       to your modem.
  46.  
  47.       The program will read the necessary information from its configuration
  48.       file, or directly via command line switches.  (You can always override
  49.       the configuration file via the command line if you wish.)
  50.  
  51.       This can be handy if you've got a single command to send to your modem
  52.       often and do not want to be bothered loading up your favorite terminal
  53.       program to do it. Works great in batch files too!
  54.  
  55.  
  56.  
  57.     ╒════════════════════════════════════════════════════════════════════════╕
  58.     │▒▒▒ What it does ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  59.     ╘════════════════════════════════════════════════════════════════════════╛
  60.  
  61.       ATPlus will send any command you like to a Hayes compatible modem. You
  62.       can use a configuration file to store default values, (which is useful
  63.       if you are sending the same command most of the time),  or you can use
  64.       the command line to enter values. You can always override the defaults
  65.       you set in the configuration file via the command line.
  66.  
  67.       The program will execute simple commands (such as taking the line "off
  68.       hook") and simply return the "OK" returned from the modem, or in cases
  69.       where you want to enter a more specialized command (such as having the
  70.       modem display NVRAM settings) you can instruct the program to give you
  71.       a verbose listing of the modem results that are returned.
  72.  
  73.       The program can be operated with, or without a FOSSIL driver loaded.
  74.  
  75.       ATPlus returns ERRORLEVELS as follows:
  76.  
  77.       255 = unspecified error (error code will be displayed)
  78.       255 = invalid screen mode (will be specified)
  79.       255 = no timer available (will be specified)
  80.       198-192 = internal error (error will be specified)
  81.       121 = FOSSIL initialization failure - FOSSIL not loaded
  82.       120 = FOSSIL initialization failure - wrong baud rate specified
  83.       119-110 = invalid value specified (error will be specified)
  84.       109 = configuration file not found (and no command was specified)
  85.       102 = program terminated - modem returned "ERROR"
  86.       101 = program terminated - key pressed to abort
  87.      80-1 = operating error (error will be specified)
  88.         0 = normal program termination
  89.  
  90.       If an error occurs ATPlus will display the specific error to you so it
  91.       can be easily identified and corrected.  (Note: For errors 198-192 the
  92.       error should be reported to the author for investigation.)
  93.  
  94.  
  95.  
  96.     ╒════════════════════════════════════════════════════════════════════════╕
  97.     │▒▒▒ What it needs ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  98.     ╘════════════════════════════════════════════════════════════════════════╛
  99.  
  100.       The program will operate on an IBM (or compatible) PC with an 80286 or
  101.       higher CPU; DOS 3.0 (or above); and approximately 64,000 bytes of free
  102.       RAM. This is a text mode application, so graphics capabilities are not
  103.       required.  Note: If you run this on less than an AT (ie 80286) it WILL
  104.       hang your system.
  105.  
  106.  
  107.  
  108.     ╒════════════════════════════════════════════════════════════════════════╕
  109.     │▒▒▒ Command line options ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  110.     ╘════════════════════════════════════════════════════════════════════════╛
  111.  
  112.       There are a number of command line options. The program will first try
  113.       to open its configuration file (which must be named ATPLUS.CFG) in the
  114.       current directory, and if it is not found there, your DOS PATH will be
  115.       searched for the file.  If the configuration file is found, the values
  116.       in the file will be loaded (replacing the internal default values). If
  117.       a conflicting command is entered on the command line, it will be taken
  118.       over the configuration file. Hint: By placing both the program and its
  119.       configuration file in a directory that is in your PATH statement,  you
  120.       will be able to execute the program from any directory on your system.
  121.  
  122.       The command line options available are as follows:
  123.  
  124.  
  125.     (a) -P[Port]  --  default value = 1
  126.  
  127.         This is the base address of the port your modem is connected to.
  128.         If you are operating in FOSSIL mode, and you have *NOT* remapped
  129.         the ports, then ATPlus will compensate for the port address. (ie
  130.         if the modem is on COM1 and you are using a FOSSIL then you have
  131.         probably told the FOSSIL to use Port 0.  In this case, you would
  132.         tell ATPlus to use Port 1, and the necessary adjustments will be
  133.         made for you.
  134.  
  135.         Valid values for -P are 1-4.
  136.  
  137.  
  138.     (b) -I[IRQ]  --  default value = 0 (standard IRQ for Ports 1-4)
  139.  
  140.         This specifies which interrupt to use for the port selected. For
  141.         COM1 & COM3 the default interrupt that will be used is IRQ4, and
  142.         for COM2 & COM4 the default that will be used is IRQ3. If you're
  143.         using a port with a non-standard IRQ, use this option to specify
  144.         which IRQ is to be used. Note: You should be very careful before
  145.         you override the default values here,  as you may cause problems
  146.         with other devices in your system.
  147.  
  148.             The following lists the default interrupts used:
  149.  
  150.               COM        Base Address        IRQ (Default)
  151.  
  152.                1           3F8  hex              4
  153.                2           2F8  hex              3
  154.                3           3E8  hex              4
  155.                4           2E8  hex              3
  156.  
  157.         Valid values for -I are 0 (use IRQ default for Port) to 15.
  158.  
  159.  
  160.     (c) -L[Word Length]  --  default value = 8
  161.  
  162.         This specifies the word length of the serial data.
  163.  
  164.         Valid values for -L are 7 or 8.
  165.  
  166.  
  167.     (d) -T[Parity]  --  default value = 0
  168.  
  169.         This specifies the parity to use. It can be  NONE (0),  ODD (1),
  170.         or  EVEN (2).
  171.  
  172.         Valid values for -T are 0-2.
  173.  
  174.  
  175.     (e) -B[Baud Rate]  --  default value = 1200
  176.  
  177.         This specifies the baud rate to be used for the port.  If a rate
  178.         of 0 is specified the port will be used "AS-IS". This will leave
  179.         the baud rate, parity, and word length unchanged. That might NOT
  180.         be the case if you were operating the program in FOSSIL mode (as
  181.         this is an undefined condition in the FOSSIL specification),  so
  182.         it is always best to provide a speed.
  183.  
  184.         Valid values for  -B  are 0, 300, 1200, 2400, 4800, 9600, 19200,
  185.         38400, 57600, and 115200. (Note: 57600 & 115200 not supported if
  186.         you are using the program in FOSSIL mode.)
  187.  
  188.  
  189.     (f) -H[Handshake]  --  default value = 0
  190.  
  191.         This specifies the type of handshake you want to use between the
  192.         CPU and the port (modem). You can select NONE (0), XON/XOFF (1),
  193.         CTS/RTS (2), or XON/XOFF and CTS/RTS (3).
  194.  
  195.         Valid values for -H are 0-3.
  196.  
  197.  
  198.     (g) -F[FOSSIL Mode]  --  default value = 0
  199.  
  200.         This specifies whether or not you will be using a FOSSIL driver.
  201.  
  202.         Valid values for -F are 0 (no FOSSIL), or 1 (with FOSSIL).
  203.  
  204.  
  205.     (h) -C[Modem Command]  --  no default value
  206.  
  207.         This is the command you would like ATPlus to send to your modem,
  208.         and it can be any valid command. The "AT" prefix is added to the
  209.         command automatically, so you only need to enter the actual com-
  210.         mand. If you are going to enter a command (such as one to return
  211.         the modem's NVRAM settings) that will generate a response great-
  212.         er than "OK" from the modem, you must make sure that you set the
  213.         -V(erbose) switch to 1 in order to get the proper display. There
  214.         cannot be any spaces in the command you enter (ie H 1 will *NOT*
  215.         work, but H1 will).
  216.  
  217.         Valid values for -C are any valid modem commands.
  218.  
  219.  
  220.     (i) -V[Verbose]  --  default value = 0
  221.  
  222.         This tells ATPlus how it should display the modem response. If a
  223.         command will only result in an "OK" message from the modem, then
  224.         the default mode (verbose OFF) is appropriate. In this mode your
  225.         command is sent to the modem,  and ATPlus waits for the modem to
  226.         respond with "OK". If there is no response from the modem within
  227.         8 seconds, or if a key is pressed to abort the process, then the
  228.         port will be closed and ATPlus will terminate.
  229.  
  230.         If you are going to give the modem a command that will result in
  231.         more than an "OK" message (or no "OK" message as would result if
  232.         you were using ATPlus to dial a number),  then you would set the
  233.         verbose mode ON. In this mode your command is sent to the modem,
  234.         and ATPlus will display the entire results from the modem rather
  235.         than waiting for an "OK" to be returned. Just like the OFF mode,
  236.         if a key is pressed the port will be closed and the program will
  237.         terminate.  ATPlus will also monitor the time in this mode,  but
  238.         instead of waiting 8 seconds, it will wait 10 seconds. (This may
  239.         be needed to give the modem time to finish sending the requested
  240.         data.) This mode can be used with commands that will only result
  241.         in an "OK" message, however, the display will not be as "clean",
  242.         and the additional timeout delay is wasteful. (Hint: Output from
  243.         the program can be redirected using DOS redirection. This can be
  244.         a handy way to save results to a file for later reference.)
  245.  
  246.             If you are going to use the program in a BATch file, you can set
  247.             the verbose mode to BATCH. In this mode ATPlus will suppress the
  248.             display unless an error occurs.
  249.  
  250.         Valid values for -V are 0 (OFF), 1 (ON), and 2 (BATCH).
  251.  
  252.  
  253.       The command line is not case sensitive (ie -p is the same as -P),  and
  254.       options do not have to be given in a specific order.  You must include
  255.       the leading dash ("-") before each switch,  and the value entered must
  256.       follow the switch immediately. (Eg: -p2 is acceptable but -p 2 isn't.)
  257.  
  258.       All of the options here can be entered in a configuration file so that
  259.       none need to be specified on the command line when you run the program
  260.       unless you want to override one or more of the values. The configurat-
  261.       ion file MUST be named ATPLUS.CFG and it must either be in the current
  262.       directory,  or in a directory listed in your DOS PATH statement (refer
  263.       to your DOS manual for details on the PATH statement if needed).
  264.  
  265.       The configuration file is a plain ASCII text file, nine (9) lines long
  266.       with one option per line. All options must start at the beginning of a
  267.       line, with no leading spaces. The order of the file DOES matter (refer
  268.       to the sample configuration file that was included in the archive).
  269.  
  270.  
  271.         The order of the configuration file is as follows:
  272.  
  273.            Line No.     Option                Example
  274.  
  275.           Line 1 -->  Modem Command              H1
  276.           Line 2 -->  Port                       1
  277.           Line 3 -->  IRQ                        0
  278.           Line 4 -->  Word Length                8
  279.           Line 5 -->  Parity                     0
  280.           Line 6 -->  Baud Rate                  1200
  281.           Line 7 -->  Handshake                  0
  282.           Line 8 -->  FOSSIL Mode                0
  283.           Line 9 -->  Verbose Mode               0
  284.  
  285.  
  286.       Below you will see a few sample command lines, (with an explanation as
  287.       to how these would run the program).
  288.  
  289.     Eg: ATPlus
  290.  
  291.     (this runs the program using the defaults set in ATPLUS.CFG)
  292.  
  293.  
  294.     Eg: ATPlus -CZ
  295.  
  296.     (this runs the program using the defaults set in ATPLUS.CFG,  but
  297.      overrides the Modem Command in the file and sends ATZ instead)
  298.  
  299.  
  300.     Eg: ATPlus -p3 -i15 -b38400 -c&V -v1
  301.  
  302.     (this runs the program using COM3 & IRQ15 at 38400 baud, with the
  303.      verbose mode on, for the modem command AT&V -- all other options
  304.      are left at the default value)
  305.  
  306.  
  307.  
  308.     ╒════════════════════════════════════════════════════════════════════════╕
  309.     │▒▒▒ What you should have received ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  310.     ╘════════════════════════════════════════════════════════════════════════╛
  311.  
  312.       The following files should have been included in the "AV" stamped file
  313.       ATPLUS10.ZIP you received:
  314.  
  315.  
  316.       ATPLUS.CFG  --  example configuration file
  317.       ATPLUS.DOC  --  documentation in text format
  318.       ATPLUS.EXE  --  the basic executable
  319.       ATPLUS.HST  --  a brief history of versions
  320.       ATPLUS.PRN  --  this file
  321.      FILE_ID.DIZ  --  sample description
  322.      PACKING.LST  --  file list (with size/time details)
  323.       README.1ST  --  any last minute updates
  324.     REGISTER.FRM  --  registration form
  325.       VENDOR.DOC  --  information on distribution
  326.  
  327.  
  328.  
  329.     ╒════════════════════════════════════════════════════════════════════════╕
  330.     │▒▒▒ License ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  331.     ╘════════════════════════════════════════════════════════════════════════╛
  332.  
  333.       ATPlus is being distributed as Shareware. Both the program and its re-
  334.       lated files are copyrighted, and NOT in the public domain, NOR is this
  335.       free software. Ownership is retained by the author.
  336.  
  337.       Under the Shareware concept you are permitted to evaluate software for
  338.       a period of time to determine its usefulness to you.  This also offers
  339.       you a chance to test the software and ensure it will operate as stated
  340.       on your computer. If you continue to use the software after this eval-
  341.       uation period, then you MUST pay for it or remove it from your system.
  342.  
  343.       You are granted a license to use this software for evaluation purposes
  344.       for a period of 30 (thirty) days. After 30 days you must either remove
  345.       the software from your system, or send in the registration fee for the
  346.       program.  The registration fee for ATPlus is $15.00 for non commercial
  347.       users, and $25.00 for commercial users.
  348.  
  349.       For the purpose of this license, commercial includes any use in a "for
  350.       profit" organization (whether or not a profit is being made), and also
  351.       includes any governmental agency or educational institution. (The fees
  352.       stated are in Canadian dollars for Canadian users and U.S. dollars for
  353.       all others.)
  354.  
  355.       Registration is a one time thing.  By registering the program now, you
  356.       are entitled to use any further versions of the program without having
  357.       to pay any additional registration fees. (This remains true even if in
  358.       the future "unlimited updates" are not included in the initial regist-
  359.       ration fee.)
  360.  
  361.       This license applies only to version 1.0 of ATPlus, and will remain in
  362.       effect for one (1) year from the date the program is released or until
  363.       another version is released.  Future versions (if any) may not contain
  364.       the same license as stated here.
  365.  
  366.       ATPlus is NOT crippled in any way. You have received a fully function-
  367.       al version of the program.  Registration merely gives you the right to
  368.       continue using the program legally after the 30 day evaluation period.
  369.  
  370.       You are encouraged to share this program with your friends, and anyone
  371.       else you think might find the program beneficial. Please make sure you
  372.       only pass along the complete set of files. (It would be unfair to give
  373.       anyone an incomplete package, including all the documentation and sup-
  374.       port files.)
  375.  
  376.       Refer to the REGISTER.FRM file for details on how to register, and the
  377.       bonus programs you could receive with your registration.
  378.  
  379.       Please, help support the Shareware concept by registering your copy of
  380.       this program. Remember that even the software used to create this pro-
  381.       gram cost the author hundreds of dollars, not to mention the time that
  382.       was spent developing and testing this software. Your support is needed
  383.       to continue the development of this, and other software programs.
  384.  
  385.  
  386.  
  387.     ╒════════════════════════════════════════════════════════════════════════╕
  388.     │▒▒▒ Warranty ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  389.     ╘════════════════════════════════════════════════════════════════════════╛
  390.  
  391.       THERE IS NONE WHATSOEVER. Every effort has been made to ensure no harm
  392.       will be caused by this program, however, by using it the risk is yours
  393.       entirely. ATPlus is used on a regular basis by the author and found to
  394.       operate as stated, however,  this is NO GUARANTEE that it will work on
  395.       your system. In no event will the author assume ANY responsibility for
  396.       any damages of any kind as a result of your use of this program.
  397.  
  398.       THIS SOFTWARE IS SUPPLIED "AS IS". THERE ARE NO WARRANTIES OF ANY KIND
  399.       EXPRESS OR IMPLIED, INCLUDING THOSE OF MERCHANTABILITY, PERFORMANCE OR
  400.       FITNESS FOR A PARTICULAR PURPOSE.  IN *NO* EVENT WILL ALIEN ARCHIVES!,
  401.       ITS OWNERS, THE AUTHOR, OR ANY AFFILIATES BE LIABLE FOR DIRECT, INCID-
  402.       ENTAL, INDIRECT, SPECIAL,  OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES
  403.       FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, LOSS OF DATA AND THE LIKE)
  404.       RESULTING FROM ANY DEFECT IN THIS  SOFTWARE  OR ITS  DOCUMENTATION  OR
  405.       ARISING OUT OF THE USE OF  OR  INABILITY TO USE THIS  SOFTWARE  OR ITS
  406.       DOCUMENTATION EVEN IF THE AFOREMENTIONED HAS BEEN ADVISED OF THE POSS-
  407.       IBILITY OF SUCH DAMAGE.
  408.  
  409.  
  410.  
  411.     ╒════════════════════════════════════════════════════════════════════════╕
  412.     │▒▒▒ Miscellaneous ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  413.     ╘════════════════════════════════════════════════════════════════════════╛
  414.  
  415.       The program was written in Visual Basic for MS-DOS v1.00 (Professional
  416.       Edition), and was written on a 486/33C IBM compatible computer operat-
  417.       ing under MS-DOS 5.0.
  418.  
  419.       Serial I/O routines were provided from QBserial v3.10 by Jeff Sumberg.
  420.  
  421.       Trade names mentioned in this document are the property of their resp-
  422.       ective owners.
  423.  
  424.  
  425.  
  426.     ╒════════════════════════════════════════════════════════════════════════╕
  427.     │▒▒▒ Contacting the author ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  428.     ╘════════════════════════════════════════════════════════════════════════╛
  429.  
  430.       The author can be contacted via one of the following:
  431.  
  432.     --  BBS    : Alien Archives! (905)949-9437 -- HST/v32bis/v42/v42bis
  433.  
  434.     --  FidoNet: 1:259/501
  435.  
  436.     --  IMExNet: 89:480/310
  437.  
  438.     --  Mail   : Mark Allan
  439.              3-2325 Hurontario Street, Suite 173
  440.              Mississauga, Ontario L5A 2E8
  441.              Canada
  442.  
  443.  
  444.  
  445.     ╒════════════════════════════════════════════════════════════════════════╕
  446.     │▒▒▒ Distribution ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  447.     ╘════════════════════════════════════════════════════════════════════════╛
  448.  
  449.       The program may be freely distributed *PROVIDED* it is distributed the
  450.       way it was released, and with all files intact.  You are NOT permitted
  451.       to convert the archive to another format. Only if ATPLUS10.ZIP has the
  452.       "-AV" code from  Alien Archives!  on each file in the ZIP may you dis-
  453.       tribute the file - ANYTHING ELSE IS A COPYRIGHT INFRINGEMENT!  Version
  454.       2.04g of PKZIP was used in creating the original archive.
  455.  
  456.       You may archive the original  ZIP  file "inside" an archive of another
  457.       format if you prefer, but the original file must remain intact.
  458.  
  459.       See the included VENDOR.DOC file for complete details on the terms and
  460.       conditions for distributing this software.
  461.  
  462.     ╒════════════════════════════════════════════════════════════════════════╕
  463.     │▒▒▒ End of Document ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  464.     ╘════════════════════════════════════════════════════════════════════════╛