home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / mdpool.zip / Read.Me < prev   
Text File  |  1995-03-18  |  6KB  |  131 lines

  1. The MDPOOL.ZIP file contains the following files:
  2.  
  3.       READ.ME     - this file
  4.       FIRST24.SCR - script to connect via modem pool (try this one first)
  5.       FIRST96.SCR - script to connect via modem pool (if FIRST24 doesn't work)
  6.  
  7. These files can be used to allow CompuServe Information Manager (CIM) for
  8. OS/2 to connect to the CompuServe Information Service (CIS) using a modem in
  9. a modem pool.
  10.  
  11. Since the prompts from your switch will probably be different than ours, 
  12. the literals in the scripts will most likely need to be modified.  Follow 
  13. this procedure:
  14.  
  15.    1. Use the Terminal Emulation mode of CIM for OS/2 to connect to CIS.  Pay
  16.       attention to everything you do while you make the connection.  For
  17.       example, does the first prompt from the switch appear automatically, or
  18.       do you have to hit Enter or another key to get it to appear?  As you
  19.       connect, write down every prompt you receive from your switch and what
  20.       your response to the prompt should be.  For example:
  21.  
  22.             Prompt from switch         Human Response
  23.             ------------------         --------------
  24.  
  25.             DISCONNECTED               press Enter to get ENTER CLASS prompt
  26.  
  27.             ENTER CLASS                type in "MODEM" and press Enter
  28.  
  29.             GO                         now connected to modem
  30.                                        ready to dial telephone number
  31.  
  32.    2. Start with the script in the FIRST24.SCR file.  Edit the file.
  33.  
  34.    3. Our data switch waits for you to hit the Enter key before it displays
  35.       the first prompt.  The scripts include a couple lines to "wake up" the
  36.       switch by sending a Carriage Return (Ctrl+M).  If your switch displays
  37.       the first prompt automatically, delete these lines from the scripts:
  38.  
  39.          ! wait 2 seconds for DTR to stabilize then wake up the switch
  40.  
  41.                  wait until 20;                                  ! 2 seconds
  42.                  send "^M";
  43.  
  44.    4. Under "wait" in the "Send_Wait" section of the scripts, put one line
  45.       for each of the prompts from the switch (from step 1).  Each line looks
  46.       like this:
  47.  
  48.                "<prompt>"        goto Send_<label>
  49.  
  50.       where <prompt> is the prompt from the switch and <label> is a label
  51.       which describes the response which is going to be sent.
  52.  
  53.       For the prompt which indicates you are connected to a modem, use the 
  54.       following line instead:
  55.  
  56.                 "<prompt>"       goto Exit_Success
  57.  
  58.    5. Create a "Send_<label>" section for each prompt.  Each section looks
  59.       like this:
  60.  
  61.             Send_<label>:
  62.                     wait until 2;                           ! .2 seconds
  63.                     send "<resp>^M";
  64.                     goto Send_Wait;
  65.  
  66.       Change <label> to the label you used in step 4.  Change <resp> to the
  67.       response which you need to send to the switch.  The "^M" sends a 
  68.       Carriage Return which is used where you have to press the Enter key.
  69.  
  70.    6. Save the file.
  71.  
  72.    7. Go to the \CSERVE\SCRPITS directory.  Rename the existing FIRST.SCR to
  73.       FIRST.OLD.  Copy the script you have modified to the directory and
  74.       rename it to FIRST.SCR.
  75.  
  76.    8. Start CIM for OS/2 and select "Session Settings" from the "Special"
  77.       menu.  Make sure "Dial Type" is "Tone".  Enter the CIS access telephone
  78.       number in the "Phone" field.  Make sure you include a "9," at the
  79.       beginning of the telephone number if your PBX needs a "9" to access an
  80.       outside line.  (Note:  Even if you have to dial a "9" for an outside
  81.       line on the telephone on your desk, the modem pool might be set up with
  82.       direct outside lines and may not need the "9,".)
  83.  
  84.    9. Select "Connect..." from the "File" menu.  Press the "Connect" button.
  85.       This will run the CONNNECT.SCR script which calls the FIRST.SCR you 
  86.       have created.  If the script has been set up properly, you should be 
  87.       connected to a modem in the modem pool and CIM will make the connection
  88.       to CIS.  If CIM hangs at or terminates after "Initializing the modem",
  89.       you probably didn't get connected to the modem pool, or the modem is 
  90.       not responding.
  91.  
  92.       If you are having trouble connecting to the modem pool at 9600 bps or 
  93.       more, try it at 2400 bps.  The script in FIRST24.SCR worked for us at 
  94.       2400 bps but not 9600 bps.  We noticed that "Dial Type" of "Manual" 
  95.       also worked at 2400 bps but not 9600 bps.  With the help of a data
  96.       scope, we were able to identify the problem.  It turns out that, for
  97.       some reason, our switch (which is more than 10 years old but still
  98.       runs great and never goes down) can handle a constant stream of data at
  99.       9600 bps for the PC-to-modem connection, but not when talking to the
  100.       switch itself during the connection process.  We had to send a short
  101.       delay between each character transmitted.  FIRST96.SCR shows how to set
  102.       up the response sections to send a response with a delay between
  103.       characters. The revised response sections look like this:
  104.  
  105.             Send_<label>:
  106.                     wait until 2;                        ! .2 seconds
  107.                     send "M";
  108.                     wait until 1;                        ! .1 second
  109.                     send "O";
  110.                     wait until 1;                        ! .1 second
  111.                     send "D";
  112.                     wait until 1;                        ! .1 second
  113.                     send "E";
  114.                     wait until 1;                        ! .1 second
  115.                     send "M";
  116.                     wait until 1;                        ! .1 second
  117.                     send "^M";
  118.                     goto Send_Wait;
  119.  
  120.       This sends the string "MODEM^M" with a one-tenth of a second delay
  121.       between characters.
  122.  
  123. If you have any corrections or questions, please send e-mail to me at
  124. 71520,737 or post a message to me in the OS2USER forum.
  125.  
  126. Best regards.
  127.  
  128. Robert Simpson
  129. Black Box Corp.
  130.  
  131.