home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
kermit
/
easyk110.arc
/
FIRN.INI
< prev
next >
Wrap
Text File
|
1988-07-29
|
8KB
|
98 lines
;FIRN.INI designed for EasyK by R.A. Elnicki, DIS, CBA, University of Florida 1
; Copyright 1987 by R.A. Elnicki 2
; (97 lines, 96 numbered) 3
; 4
;SET BAUD 1200 ; Activate one baud rate and comment out 5
SET BAUD 2400 ; the other baud rate (2400 active here). 6
CLEAR ; Clear the chosen port buffers. 7
SET INPUT TIMEOUT-ACTION PROCEED ; Continue in the script if timed out. 8
PAUSE 1 ; Modem work time buffer. 9
RUN CLS ; Clear the display screen. 10
ECHO \13 EasyK will enter all commands necessary to sign on. Do NOT enter ;11
ECHO \13 anything until you are asked to do so. EasyK's next action is ;12
ECHO \13 described at each step in the programmed sign-on process. The ;13
ECHO \13 number will be tried three times (40 seconds each) and then you ;14
ECHO \13 will be returned to the EasyK prompt. If the selected service ;15
ECHO \13 cannot be signed onto, the reason for the failure is given and ;16
ECHO \13 you will be returned to the EasyK prompt. ;17
ECHO \13\10 *************************************************************** ;18
ECHO \13 * To display the EasyK-3270 keyboard, enter "Alt" with "x" * ;19
ECHO \13 * and then "do listkb" any time during a VTAM session. * ;20
ECHO \13 *************************************************************** ;21
PAUSE 3 ; Wait for 3 seconds to read the above. 22
ECHO \13\10Resetting your modem next (should respond "OK" twice)... ;23
OUTPUT AT &F &C1 &D2 &W\13 ; Hayes 2400 SmartModem factory set, data 24
; carrier suitable for 2400 SM, goes on 25
PAUSE 3 ; hook no auto-answer, store, wait 3 sec. 26
OUTPUT +++ ; Return modem to command state. 27
PAUSE 3 ; Wait for 3 seconds for modem work. 28
CLEAR ; Clear prior OK from buffer for next IF... 29
OUTPUT ATZ\13 ; Load modem config, do modem self test. 30
INPUT 10 OK ; Wait 10 seconds for modem to send "OK". 31
IF SUCCESS GOTO DIAL ; Can dial if modem returns "OK". 32
ECHO \13\10Modem did not respond correctly, returning to EasyK prompt... ;33
PAUSE 2 ;34
GOTO OUT ;Go to script exit sequence. 35
:DIAL ; Branch point for successful "OK". 36
SET COUNT 3 ; Dial up to 3 times. 37
:RETRY ; Branch back loop point for redialing 38
ECHO \13\10Dialing 392-5369 with touch-tone at 2400 baud next... ;39
OUTPUT ATL1DT2-5369\13 ;40
ECHO \13\10Waiting for "CONNECT" to 7171 next (times out at 40 seconds)... ;41
INPUT 40 CONNECT ;42
IF SUCCESS GOTO MADEIT ;Go to MADEIT if CONNECT is returned. 43
OUTPUT +++ ;Reset modem again to redial... 44
PAUSE 3 ;45
OUTPUT ATZ\13 ;46
PAUSE 3 ;47
ECHO \13\10 No "CONNECT" given in 40 seconds, dialing again ... (Ho Humm) ;48
IF COUNT GOTO RETRY ;49
PAUSE 2 ;50
RUN CLS ;51
ECHO \10\13+--------------------------------------------------------------+ ;52
ECHO \13| Dialing not successful in 3 tries at 50 seconds each. Bye...| ;53
ECHO \13+--------------------------------------------------------------+ ;54
ECHO \10\13 ;55
PAUSE 2 ;56
GOTO OUT ;Go to script exit sequence. 57
:MADEIT ;58
PAUSE 3 ;Wait 3 seconds for FIRN to respond. 59
ECHO \13\10Sending "a" next to FIRN. ;60
PAUSE 2 ;61
OUTPUT a ;62
ECHO \13\10Wait for FIRN to send "please log in:" next... ;63
INPUT 10 please log in: ;64
IF SUCCESS GOTO NFSC ;65
ECHO \13\10Did not get "please log in " from FIRN; returning to EasyK prompt;66
PAUSE 2 ;67
GOTO OUT ;68
:NFSC ;69
ECHO \13\10Entering "nerfsc" next: ;70
OUTPUT nerfsc\13 ;71
;PAUSE 1 ;72
ECHO \13\10Waiting for 7171 to send "ENTER TERMINAL TYPE" next... ;73
INPUT 10 ENTER TERMINAL TYPE: ;74
IF SUCCESS GOTO NVTAM ;75
OUTPUT \13\10Did not find "ENTER TERMINAL TYPE"; back to EasyK... ;76
PAUSE 2 ;77
GOTO OUT ;Go to script exit sequence. 78
:NVTAM ;79
SET INPUT ECHO OFF ;80
ECHO \13\10Entering the "VT100" terminal type next... ;81
OUTPUT VT100\13 ;82
INPUT 20 NERDC VTAM IS ACTIVE ;83
IF SUCCESS GOTO SIGNON ;84
OUTPUT \13\10Did not find "VTAM IS ACTIVE"; back to EasyK... ;85
PAUSE 2 ;86
:OUT ;87
OUTPUT +++ ;Reset modem & return to Easyk prompt. 88
PAUSE 3 ;89
OUTPUT ATZ\13 ;90
PAUSE 3 ;91
STOP ;92
:SIGNON ;93
PAUSE 1 ;94
SET INPUT ECHO ON ;95
OUTPUT \07 ;96
CONNECT