home *** CD-ROM | disk | FTP | other *** search
- /*
- AT&T Mail 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
- */
-
-
- -- Wake up system:
- i = 1
- while i <= 10
- reply
- wait 1 second for 'ORIG'
- if not timeout then goto LOGIN
- i = i + 1
- wend
-
- -- nothing happened, quit:
- print
- print 'System not responding - Login cancelled.'
- print
- bye : end
-
-
- -- send UserID & Password:
- LABEL LOGIN
- while Online
- watch for
- 'User Name:' : wait 5 ticks : ...
- reply UserID
- 'Password:' : wait 5 ticks : ...
- reply Password : ...
- end
- endwatch
- wend
-
- end
-