home *** CD-ROM | disk | FTP | other *** search
/ The Best Internet Programs / BESTINTERNET.bin / internet / winwais / wais.slp < prev    next >
Encoding:
Text File  |  1994-03-15  |  1.4 KB  |  34 lines

  1. # Sample script file
  2.  
  3. send       "^M"
  4. send       "at^M"
  5. wait     5 "OK"
  6. send       "atdt 123-4567^M"      # put your SLIP server's number here
  7. wait    45 "CONNECT"              # wait for modem to connect
  8. wait     2                        # wait 2 seconds for things to stabilize
  9. send       "^M"                   # send CR 
  10. wait    15 "login:"               # wait for userid prompt
  11. send       "userid^M"             # substitute our userid here
  12. wait    15 "password:"            # wait for passowrd prompt
  13. prompt     "Password:"            # display prompt window and get response
  14. wait    15 "to "                  # the word 'to' precedes our ip number
  15. capture 15 " beginning...."       # capture until this literal is found
  16.  
  17. file c:\windows\trumpwsk          # post updates to Trumpet's INI file 
  18. section Trumpet Winsock           # in section [Trumpet Winsock]
  19.  
  20. set ip=capture                    # set ip= to captured ip number
  21. set slip-port=port                # set slip-port= to 1, 2, 3, or 4 
  22. set slip-baudrate=speed           # set slip-baudrate= to 300, 9600, etc. 
  23.  
  24. set netmask=255.255.255.0         # set other values as literals in the 
  25. set gateway=164.109.201.3         # .INI file
  26. set dns=164.109.1.3
  27. set domain=digex.com
  28. set slip-enabled=1
  29. set slip-handshake=0
  30. set slip-compressed=0
  31.  
  32. # we could repeat the file and/or section commands to post changes to a
  33. # number of different .INI files.
  34.