home *** CD-ROM | disk | FTP | other *** search
- ;; SPRYNET UIC dial login script - Version 1
- ;;Assumes that $USERID evaluates to <hostname>,<UIC>
- ; This form is accepted by the Host Name: prompt and lets us finesse
- ; the problem of needing three values (hostname, UIC, password)
- ; and having only two variables ($USERID, $PASSWORD).
- ;
- proc main
- set port databits 7
- set port parity even
- transmit "^M"
- waitfor "Host Name:"
- transmit $USERID
- transmit "^M"
- waitfor "Password: "
- transmit $PASSWORD
- transmit "^M"
- set port databits 8
- set port parity none
- endproc