home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1998 July / apc37.iso / netkit / mac / dcomet / dcomet.hqx / Documents / Serial.edit < prev    next >
Encoding:
Text File  |  1998-01-29  |  1.1 KB  |  29 lines

  1.  
  2.          About the Serial document...
  3.  
  4.    This document offers an example of a serial connection document.  
  5.  
  6.    The following macro can used to auto-dial a number until a connection is achieved.  Naturally, you should replace the number with a valid telephone number.  You can execute this macro manually by selecting it and pressing "Shift-Enter", or automatically on open by copying it and pasting it into the Macro menu "Set Connection Macro..." dialog.
  7.  
  8. ________________________________
  9.  
  10. atdt277-6162
  11. !z\255CONNECT!l\002Connected!!
  12. !z\255BUSY!D\001atdt277-6162
  13. !z\255NO CARRIER!D\001atdt277-6162
  14. !Z\000
  15.  
  16. ________________________________
  17.  
  18.    Note the double "!!" when the string "Connected!" is put out; using a single '!' will confuse the interpretation of the macro.  The '!l\002' macro breaks out of the wait-match macro.
  19.  
  20.    You can extend this macro by adding match entries for your name (and password, for those who wish to live dangerously)....
  21.  
  22. atdt277-6162
  23. !z\255CONNECT!D\001
  24. !z\255BUSY!D\001atdt277-6162
  25. !z\255NO CARRIER!D\001atdt277-6162
  26. !z\255name:!D\001USERNAME!l\002
  27. !z\255gin:!D\001USERNAME!l\002
  28. !Z\000
  29.