Category : Communication (modem) tools and utilities
Archive   : KERMUTIL.ZIP
Filename : SAMPLE.CLL
; SAMPLE.CLL by Timo Salmi 12-Aug-88
;
; This script file demonstrates how to build an autodialing system to be used
; with the take command. This particular script calls a VAX/VMS system.
;
CLEAR ;Clear the input buffer
SET COUNT 3 ;Set the counter (substitute 3 with your choice)
OUTPUT AT\13 ;Wake up the modem
:TRYAGAIN ;Label for returning (use
PAUSE 4 ;Let it get ready
OUTPUT ATDT9999999\13 ;Call the VAX (substitute the relevant number)
INPUT 35 CONNECT 1200 ;Wait for a connection (you can try to decrease 35)
IF FAILURE GOTO NOCNECT ;Just what it says
OUTPUT \13 ;Start the login sequence
INPUT 20 Username ;Wait for Username prompt
IF FAILURE GOTO ERR1
OUTPUT USERNAME\13 ;Substitute your username here
INPUT 20 Password ;Wait for the password prompt
IF FAILURE GOTO ERR2
OUTPUT SECRET\13 ;Substitute your password here
GOTO CNECT ;To making the connection
:NOCNECT ;Subroutine for no connection
IF COUNT GOTO TRYAGAIN ;Try again until count is exhausted
ECHO Failed to get a carrier in three attempts\13
HANGUP ;Just to make sure
STOP ;Enough!
:ERR1
ECHO Failed to encounter the username prompt\13
STOP ;Return to the manual method
:ERR2
ECHO Failed to encounter the password prompt\13
STOP ;Return to the manual method
:CNECT ;We've made it!
CONNECT
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/