home *** CD-ROM | disk | FTP | other *** search
- ; MS-DOS Kermit script for logging in to CUNIXC
- ; through the IBM/Rolm CBX using a 120D, 240D, or
- ; 400D phone, or a 244PC which has been given the
- ; AT%D command.
- ;
- ; Christine M. Gianone, CUCCA, October 1988
- ;
- set input timeout proceed
- output \13 ; Send a carriage return
- input 10 MODIFY? ; Look for CBX prompt
- if success goto host
- echo No CBX prompt!\13
- echo Please check your connection and try again.\13
- stop
- :HOST ; Come here to call host.
- output call cunixc\13 ; Ask for CUNIXC
- input 30 COMPLETE ; Look for "CALL COMPLETE"
- if success goto setup
- echo Can't connect to cunixc - try again later.\13
- stop
- :SETUP ; Call completed OK.
- output \13 ; Send a carriage return.
- set count 5 ; Try the following 5 times.
- :LOOP ; Top of try-again loop.
- input 10 login: ; Look for "login:" prompt.
- if success goto OK ; If found, done.
- output \b ; Else, send BREAK to change
- if count goto loop ; speed, and try again.
- echo Failed to get login prompt - try again later.\13
- stop
- :OK ; Login prompt seen.
- connect ; Begin terminal emulation.
- ;
- ; End of Script
-