🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Ralph Sobek Tue, 03 May 1994 14:21
Program to execute Chat Scripts
#5435
Author: Ralph Sobek
Date: Tue, 03 May 1994 14:21
17 lines
2022 bytes
What is the best chat script program that is out there, either in the
public domain or usable for non-commercial purposes?  By chat script I
mean some C source that can interface between a terminal program and
its I/O port.  Off hand, I was thinking of C Kermit's chat script.
How usable is it?  What else is out there?

P.S.  I suppose that Mosaic is no help in answering such a question.

--
Dr. Ralph P. Sobek		  Disclaimer: The above ruminations are my own.
Ralph.Sobek@cerfacs.fr			   Addresses are ordered by importance.
ralph@cerfacs.fr					If all else fails, try:
Telephone: (+33) 61-19-30-47			      sobek@eclair.Berkeley.EDU
FAX:	   (+33) 61-19-30-00
===============================================================================
The waves came in like arabian stallions gradually lapping into seahorses.
                                                         --  Pattie Smith
Re: Program to execute Chat Scripts
#5436
Author: Tom De Pauw
Date: Tue, 03 May 1994 22:26
13 lines
2016 bytes
Ralph Sobek (ralph@cerfacs.fr) wrote:
: What is the best chat script program that is out there, either in the
: public domain or usable for non-commercial purposes?  By chat script I

The best one I know is xchat. It is distributed as part of Taylor uucp.
It is basically a state machine. Each state has (from memory) a send string,
one or more expect strings and associated states and a timeout.
I programmed a script in an hour. I use it to retrieve mail automagically
from a VMS account on a system where the system administrator is uncooperative.
It is freeware and has no known bugs. Scripts are very easy to debug.
-- 
Tom De Pauw, Finning Ltd, Caterpillar (TM) dealer, Vancouver, BC, Canada
tom@finning.wimsey.com
Re: Program to execute Chat Scripts
#5437
Author: Leslie Mikesell
Date: Wed, 04 May 1994 04:05
18 lines
2013 bytes
In article <RALPH.94May3142146@hal.cerfacs.fr>,
Ralph Sobek <ralph@cerfacs.fr> wrote:
>What is the best chat script program that is out there, either in the
>public domain or usable for non-commercial purposes?  By chat script I
>mean some C source that can interface between a terminal program and
>its I/O port.  Off hand, I was thinking of C Kermit's chat script.
>How usable is it?  What else is out there?

Kermit has a scripting language that includes a uucp-like
string of "expect", "send" sequences as well as explicit
input and output commands with delays and timeouts.  It is
usable for just about anything where you can predict the
points where you can wait for one or more strings.  That is,
you can't just give it some patterns to match and functions
to execute whenever it sees them.

Les Mikesell
  les@mcs.com
Re: Program to execute Chat Scripts
#5438
Author: Wilhelm B. Kloke
Date: Fri, 06 May 1994 09:36
15 lines
2022 bytes
In article <RALPH.94May3142146@hal.cerfacs.fr>,
Ralph Sobek <ralph@cerfacs.fr> wrote:
>What is the best chat script program that is out there, either in the
>public domain or usable for non-commercial purposes?  By chat script I
>mean some C source that can interface between a terminal program and
>its I/O port.  Off hand, I was thinking of C Kermit's chat script.
>How usable is it?  What else is out there?
You may want to look for 'expect', contained in dejagnu, part of
Gnu software. You may get expect as an add-on to tcl from other sources
also. I use expect for tunneling uucp over a VAX used as PAD for
X25/X29, e.g..
-- 
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads