home *** CD-ROM | disk | FTP | other *** search
/ U.S. Robotics Connections 5 / CONNECTIONS.iso / content / software / internet / sprynet / scripts.z / SPRYNET.SCP < prev    next >
Encoding:
Text File  |  1996-05-06  |  548 b   |  19 lines

  1. ;; SPRYNET UIC dial login script - Version 1
  2. ;;Assumes that $USERID evaluates to <hostname>,<UIC>
  3. ; This form is accepted by the Host Name: prompt and lets us finesse
  4. ; the problem of needing three values (hostname, UIC, password)
  5. ; and having only two variables ($USERID, $PASSWORD).
  6. ;
  7. proc main    
  8.     set port databits 7    
  9.     set port parity even    
  10.     transmit "^M"    
  11.     waitfor "Host Name:"    
  12.     transmit $USERID
  13.     transmit "^M"
  14.     waitfor "Password: "
  15.        transmit $PASSWORD
  16.        transmit "^M"    
  17.     set port databits 8    
  18.     set port parity none
  19. endproc