home *** CD-ROM | disk | FTP | other *** search
- /*
- Compuserve Login Script
-
- Copyright (C) 1989,1990 Digital Communications Associates, Inc.
- All Rights Reserved.
-
- Version 1.00 07-15-89 PJL (from AT&T.XTS)
- Version 1.01 01-31-90 PJL
- */
-
-
- if NetID = 'CIS02' then chain 'TYMNET CSERVE(LOGIN)'
- if NetID = '202202' then chain 'TELENET CSERVE(LOGIN)'
-
-
- -- send ^C to wake up compuserve
- wait 3 seconds
- reply chr(3);
-
- -- wait for ^C echo; resend if we don't get it back
- wait 7 seconds for '`^C'
- if timeout then reply chr(3);
-
-
- -- send UserID & Password:
- label LOGIN
- while online
- watch for
- case 'ID:' : wait 2 ticks : reply UserID
- case 'Password' : wait 2 ticks : reply Password
- case 'Copyright' : end
- '? L',
- 'not allowed',
- 'call cleared' : bye : goto NO_ACCESS
- key 27 : halt
- quiet 30 seconds : bye
- endwatch
- wend
- end
-
- label NO_ACCESS
- alert 'You cannot access CompuServe through this network.', OK
- end
-
-