home *** CD-ROM | disk | FTP | other *** search
/ The VPRO Digital Guide 1994 / vpro.iso / software / windows / login.cmd < prev    next >
Encoding:
Text File  |  1994-08-20  |  920 b   |  66 lines

  1. #
  2. # initialize modem
  3. #
  4. output atz\13
  5. input 20 OK\n
  6. #
  7. # set modem to indicate DCD
  8. #
  9. #
  10. # send phone number
  11. #
  12. output atdt$VPRO_02\13
  13. #
  14. # now we are connected.
  15. #
  16. input 50 CONNECT
  17. #
  18. #  wait till it's safe to send because some modem's hang up
  19. #  if you transmit during the connection phase
  20. #
  21. wait 50 dcd
  22. #
  23. # now prod the terminal server
  24. #
  25. output \13
  26. #
  27. #  wait for the username prompt
  28. #
  29. input 50 ogin:
  30. #username Enter your username
  31. output gast\13
  32. #
  33. # and the password
  34. #
  35. input 50 assword:
  36. output gast\13
  37. #
  38. # we are now logged in
  39. #
  40. #input 30 >
  41. #
  42. # see who on for informational reasons.
  43. #
  44. #
  45. # jump into slip mode
  46. #
  47. #output slip\13
  48. input 50 (S)
  49. output s\13
  50. #
  51. # wait for the address string
  52. #
  53. input 30 address
  54. #
  55. # parse address
  56. #
  57. address 50
  58. input 50 \n
  59. #
  60. # we are now connected, logged in and in slip mode.
  61. #
  62. display \n
  63. display Connected.  Your IP address is \i.\n
  64. #
  65.  
  66.