DIAL.PRG
version 2
(c)1996 JFA Software
Freeware!

This little program can be used in the AUTO-folder. It gives a dialler 
for STiK with some more (and some less :-\ ) options.
Things supported:
in file DEFAULT.CFG:
* CLIENT_IP = (Will set the IP-number)
* AUTODIALFILE = (to get the dial-file)

Do NOT use quotes in the DEFAULT.CFG!
Use DIALFILE = for Stik to find the dialfile!
Do NOT use the same AUTODIALFILE and DIALFILE!

in dial-file:
This should look like:

BAUD_RATE = 19200
HANGUP = "DTR"
PREFIX = "ATDT"
INIT = "ATZ"
CONNECT_WAIT = 60
REDIAL_DELAY = 5
PHONE_NUMBER = "0123456789"
SUCCESS = "CONNECT"
FAILURE = "BUSY"
FAILURE = "NO CARRIER"
FAILURE = "NO DIALTONE"
WAIT
FIND = "ogin:"
RESP = "slip:name@provider$0D"
#
WAIT
FIND = "sword:"
RESP = "$PW$0D"
#
WAIT
FIND = "to"
RESP = "$GET_IP"
#

* HANGUP and FAILURE are ignored right now. 
* SUCCES can't handle "CDWAIT" (yet?) I don't know how to find that out :-(
* It is necessary to put "$0D" in places were returns should come 
  within FIND. $XX where XX is a hexadecimal value. Use $24 for the 
  $-sign. $PW for where the password should be.
* Strings should be between quotes! "" The first and the last quote will be 
  removed. Anything between (including other quotes!) won't be changed.
* This is a quick-made version, no warranty at all! You responsability 
  when it damages something! (make backup-up copies of DEFAULT.CFG and 
  DIAL.SCR!!!!
* Use MAKE_PW.PRG to create the password-file. You might need to copy 
  PASSWORD.DAT in the same dir as DEFAULT.CFG!!
* DIAL.PRG should be in the AUTO-folder. Best as last one (phonebill!).
* e-mail me for more info at fvdakker@sterbbs.nl
* If there are other request for the program, send me a mail. I'll try to 
  put it in a next version.
* HANGUP = "DTR" should also be between quotes (was omitted in last 
  version). Is ignored though, because I can't find out how to lower 
  the DTR. (can someone send me some info about that???)
* Bugfix: all lines in DEFAULT.CFG are now left as they were, without changing 
  all characters to uppercase.
    
Good luck!

Frits.

P.S. It's my birthday the 30th of april. I really like  birthday-cards 
from all over the world! My address is:

Frits van den Akker
Woudenbergseweg 22
NL-3701 BB  Zeist
The Netherlands

Frits van den Akker, JFA Software, E-mail:  fvdakker@sterbbs.nl
MajorNet: Program@STR      Fido: Frits van den Akker@2:2802/221