Metropoli BBS
VIEWER: umd.scp MODE: TEXT (ASCII)
; This is a script file that demonstrates how
; to establish a PPP connection with a The University
; of Maryland's Dial-Up systems
;
; A script file must have a 'main' procedure.
; All script execution starts with this 'main'
; procedure.
;


; Main entry point to script
;
proc main

   ; Delay for 3 seconds first to allow host time
   ; to send initial characters.

   delay 3
   transmit "^M"

   ; Wait for the login prompt before entering
   ; the user ID

   waitfor "sername:"
   transmit $USERID
   transmit "^M"

   ; Enter the password

   waitfor "assword:"
   transmit $PASSWORD
   transmit "^M"

   ; Choose PPP connection
   waitfor "annex:"
   transmit "ppp^M"       

endproc

[ RETURN TO DIRECTORY ]