🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #23107

Re: UNITERM script file help needed.

#23107
From: Herbert Dampel
Date: Sun, 24 Jan 1993 10:57
25 lines
1443 bytes
In <H.ea.rmtX0DdMErQ@yonder.equinox.gen.nz>, Craig Shore writes:
  >I need a script file to watch the modem, waiting for a RING , then send an
  > ata to the modem, wait for the CONNECT, then send a text message, or textfile
  > if possible,  drop carrier, and run itself again.

Try this (not tested):

:1
hangup()
echo('\r\nWaiting for Ring\r\n')
if(!get('RING',10)) echo('\r\nNo Ring\r\n') jump(1)
send('ATA\r')
if(!get('CONNECT',20) jump(1) 
send('Text whatever you like\r\n')
hangup()
jump(1)

Modem must be configured to send the needed strings !

cu l8ter mfG herby@danubix.ul.open.de
-- 
*      E-Mail: herby@danubix.ulm.sub.org     ccc_damp@rzmain.rz.uni-ulm.de *
*      herby@danubix.ul.open.de              Fido: 2:241/7902.1            *
*      Forchenweg 14    W-7900 Ulm/Donau     Voice: 0731-6021657           *
*      ULM: Letzte Stadt vor Bayern          Don't marry, beer happy       *
Technical Details
Message-ID: <H.ea.Tvf8UWM2ahU@danubix.ul.open.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!horga!danubix.ul.open.de!herby
References: Re: UNITERM script file help needed.

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!horga!danubix.ul.open.de!herby
From: herby@danubix.ul.open.de (Herbert Dampel)
Newsgroups: comp.sys.atari.st
Message-ID: <H.ea.Tvf8UWM2ahU@danubix.ul.open.de>
Organization: Node Ulm/Donau/IN
Subject: Re: UNITERM script file help needed.
References: Re: UNITERM script file help needed.
Reply-To: herby@danubix.ul.open.de
X-Software: HERMES GUS 1.04 Rev. Sep  5 1992
Date: Sun, 24 Jan 1993 11:57:24 MET
Lines: 25