home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / kermit / ker_scp3.arc / ROS.SCP < prev    next >
Text File  |  1988-09-10  |  3KB  |  91 lines

  1. Comment    ROS.SCP to log on to a ROS BBS
  2. ;v1.0, early 1988
  3. ;
  4. ;Fire up PC-Kermit, setting your baud rate, port, terminal emulation,
  5. ;etc. either thru the MSKERMIT.INI file or manually.
  6. ;Then, at the Kermit prompt, give Kermit the following command:
  7. ;    Kermit-MS> take ros.scp
  8. ;Kermit will run the following script file.
  9. ;
  10. ;Tested with ROS BBS, Fayetteville NC, and should work with all other
  11. ;ROS BBS's.  If not, read TOADSCRP.DOC for suggestions on how to build
  12. ;your own Kermit script file.
  13. ;
  14. ;This works fine with PC-Kermit v2.29 and up.  It does NOT use the more
  15. ;powerful script language available with the latest (v2.31).
  16. ;(Haven't figured it all out yet!)
  17. ;David Kirschbaum
  18. ;Toad Hall
  19. ;kirsch@braggvax.ARPA
  20. ;
  21. ;Substitute the baud rate you want here:
  22. SET BAUD 2400;            set baud to 2400 for ROS
  23. CLEAR;                flush any junk at the port
  24. SET TAKE OFF;            don't display Take file commands as we go
  25. SET INPUT TIMEOUT-ACTION QUIT;    quit script if proper answers do not appear
  26. OUTPUT \10;            Send a CR to the modem to get a new line
  27. OUTPUT AT\13;            see if modem is alive
  28. INPUT OK;            look for its normal response
  29. ;Substitute the number of your ROS BBS here:
  30. OUTPUT ATDP 864-0118\13;    Tell the modem to dial the number
  31. INPUT 25 CONNECT;        wait for phone to be answered
  32. PAUSE 1;            wait 1 sec for modem to get ready
  33. SET INPUT TIMEOUT PROCEED;    ignore timeouts from here on
  34. INPUT 30 FIRST NAME> ;        Wait for ROS's first name prompt
  35. pause 1
  36. ;The following line would work fine if keyed in manually:
  37. ;my first name, a semicolon, and my last name.
  38. ;
  39. ;OUTPUT DAVID\59KIRSCHBAUM\13;    Send our first name, semicolon,last name
  40. ;
  41. ;Turns out ROS can't handle Kermit's text sending at full speed,
  42. ;so just outputting the above line won't work (ROS loses characters).
  43. ;To send our name slower, we'll send it one char at a time.
  44. ;Works fine now at 2400 baud.
  45. ;
  46. ;Enter your name here (with additional "output %" lines as required).
  47. output D
  48. output A
  49. output V
  50. output I
  51. output D
  52. output \13;            CR to terminate first name input
  53. INPUT 30 LAST NAME> ;        Wait for ROS's last name prompt
  54. ;OUTPUT KIRSCHBAUM\13;        Send our last name
  55. pause 1
  56. output K
  57. output I
  58. output R
  59. output S
  60. output C
  61. output H
  62. output B
  63. output A
  64. output U
  65. output M
  66. output \13;            CR to terminate last name input
  67. INPUT 30 Password> ;        Wait for ROS's password prompt
  68. pause 1
  69. ;Substitute your password here:
  70. ;OUTPUT password\13;        Send our password
  71. ;Same problem with ROS losing characters if we use the above line,
  72. ;so we'll send our password one character at a time.
  73. output p
  74. output a
  75. output s
  76. output s
  77. output w
  78. output o
  79. output r
  80. output d
  81. output \13;            CR to terminate password
  82. ;ROS has various stuff that is displayed as part of the introduction.
  83. ;We'll let Kermit wait until all that junk is over and ROS sends the
  84. ;"Press any key to continue..." (or whatever).
  85. INPUT 30 continue...;        Wait for end of intro display
  86. ;
  87. ;Kermit will drop you back at its command line.
  88. ;Enter "c" to go into "connect" or terminal mode,
  89. ;and you can continue with your ROS session.
  90. ;(Expect some bulletins or whatever in a second or two.)
  91.