home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Copyright (c) 1995
- ; by CompuServe Incorporated, Columbus, Ohio
- ;
- ; The information in this software is subject to change without
- ; notice and should not be construed as a commitment by CompuServe.
- ;
- ; TYMNET:
- ; Connect to Tymnet
- ; Success: returns %Success
- ; Failure: saves error msg in %FailureMsg and returns %Failure
- ;
- ; Which_Tymnet: Tymnet = 1, AlaskaNet = 2, PacNet = 3
- ;
- ;+V
- ; "3.8.1"
- ;-V
-
- proc main
- set port databits 7
- set port parity odd
- transmit "^M"
- waitfor "Please "
- transmit "A"
- waitfor "log in:"
- transmit "CPS"
- transmit "^M"
- waitfor "User ID:"
- transmit "/HOST^M"
- set port databits 7
- set port parity even
- transmit "^M"
- waitfor "Host Name:"
- transmit $USERID
- transmit "^M"
- waitfor "Password: "
- transmit $PASSWORD
- transmit "^M"
- set port databits 8
- set port parity none
- endproc