TECHNICAL BULLETIN #180 - Rev 1.00 (7/31/96) ============================================================================== TITLE : Modifying the Host Script for Adaptive Answering PRODUCT : PROCOMM PLUS 3.x for Windows ============================================================================== PROCOMM PLUS 3.0 has a problem with the way it handles Data calls answered in Data/Fax mode (Adaptive Answer). When it answers a call in Data/Fax mode, it does not pay proper attention to hardware flow control. This causes files sent by PROCOMM PLUS 3.0 using high-speed file transfer protocols (Zmodem, Kermit, Ymodem-G) to be sent as fast as possible. This floods the send buffers, resulting in many CRC or Checksum errors, eventually aborting the transfer. There is a simple work-around for this problem. This document explains how to modify the PROCOMM PLUS 3.0 Host script to prevent this problem. Note that while this document aims specifically at modifying the Host script, the lines of ASPECT code shown here can be inserted into any script that answers Data calls using Adaptive Answer. WHAT THE WORK-AROUND DOES The Host script modification is in two parts. The first part toggles Hardware Flow Control off and back on. This causes PROCOMM PLUS 3.0 to properly recognize the presence of flow control, allowing file transfers to work normally. Toggling Hardware Flow Control in this way will sometimes cause trouble with the proper answering of fax calls. So, the second part of our script modification toggles Auto-Answer off and back on, resetting PROCOMM PLUS 3.0's Adaptive Answer settings. MODIFYING THE SCRIPT 1. From PROCOMM PLUS 3.0's Data Terminal mode, click "Scripts" then "Compile/Edit." 2. In the directory list box on the right, double-click on the HOST directory. 3. In the file list box on the left, highlight _HOST.WAS. Click "Edit" at the far right. This will bring up the PROCOMM PLUS ASPECT Editor with the _HOST.WAS file. 4. First, we have to declare an integer variable. Scroll down approximately to line 189. Immediately under the line "proc main" insert the folowing line: integer nHardFlow ;for Hardware Flow Control 5. Now scroll down approximately to line 265. Immediately under the line "distinctive_ring = FALSE" insert these lines: fetch data hardflow nHardFlow ;check HFC if nHardFlow ;if it is on set data hardflow OFF ;turn it off mspause 200 ;pause 200ms set data hardflow ON ;turn it back on endif 6. Click "File" then "Exit." When you are prompted for whether you want to save your changes, click "Yes." 7. You should now be back in PROCOMM PLUS 3.0's Compile/Edit ASPECT File dialog. In the file list box on the left, highlight SUBS.WAS. Click "Edit" at the far right. This will bring up the PROCOMM PLUS ASPECT Editor with the SUBS.WAS file 8. Scroll down approximately line 474. Immediately under the line "if set modem autoanswer DATAFAX" insert these lines: set modem autoanswer OFF ;turn AA off mspause 200 ;pause 200ms set modem autoanswer DATAFAX ;turn AA back on 9. Click "File" then "Exit." When you are prompted for whether you want to save your changes, click "Yes." 10. You should once again be back in PROCOMM PLUS 3.0's Compile/Edit ASPECT File dialog. In the file list box on the left, highlight _HOST.WAS. Click "Compile" at the far right. 11. When the script finishes compiling, you should see a message saying "Script successfully compiled!" If you see any error messages, you may have mistyped one of the new lines. Just repeat the above steps and check the spelling of the lines you have inserted. Continue the process until you get the "Script successfully compiled!" message. ========================================================================== To ensure that you have the latest version of this document, compare its revision number to that of the same document on any of our support sites. This technical bulletin may be copied and distributed freely as long as it is distributed in its entirety and it is not distributed for profit. Copyright (c) 1996 Quarterdeck All rights reserved. ==========================================================================