home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / 20952 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.4 KB

  1. Path: sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!horga!danubix.ul.open.de!herby
  2. From: herby@danubix.ul.open.de (Herbert Dampel)
  3. Newsgroups: comp.sys.atari.st
  4. Message-ID: <H.ea.Tvf8UWM2ahU@danubix.ul.open.de>
  5. Organization: Node Ulm/Donau/IN
  6. Subject: Re: UNITERM script file help needed.
  7. References: Re: UNITERM script file help needed.
  8. Reply-To: herby@danubix.ul.open.de
  9. X-Software: HERMES GUS 1.04 Rev. Sep  5 1992
  10. Date: Sun, 24 Jan 1993 11:57:24 MET
  11. Lines: 25
  12.  
  13. In <H.ea.rmtX0DdMErQ@yonder.equinox.gen.nz>, Craig Shore writes:
  14.   >I need a script file to watch the modem, waiting for a RING , then send an
  15.   > ata to the modem, wait for the CONNECT, then send a text message, or textfile
  16.   > if possible,  drop carrier, and run itself again.
  17.  
  18. Try this (not tested):
  19.  
  20. :1
  21. hangup()
  22. echo('\r\nWaiting for Ring\r\n')
  23. if(!get('RING',10)) echo('\r\nNo Ring\r\n') jump(1)
  24. send('ATA\r')
  25. if(!get('CONNECT',20) jump(1) 
  26. send('Text whatever you like\r\n')
  27. hangup()
  28. jump(1)
  29.  
  30. Modem must be configured to send the needed strings !
  31.  
  32. cu l8ter mfG herby@danubix.ul.open.de
  33. -- 
  34. *      E-Mail: herby@danubix.ulm.sub.org     ccc_damp@rzmain.rz.uni-ulm.de *
  35. *      herby@danubix.ul.open.de              Fido: 2:241/7902.1            *
  36. *      Forchenweg 14    W-7900 Ulm/Donau     Voice: 0731-6021657           *
  37. *      ULM: Letzte Stadt vor Bayern          Don't marry, beer happy       *
  38.