[ale] Scripted Telnet Sessions
James Rowell
jrowell at balrog.ops.tridom.com
Mon Mar 4 11:45:40 EST 1996
----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 29
> From ale-owner at cc.gatech.edu Mon Mar 4 11:04:08 1996
> From: David Hamm <dhamm at itserve.com>
> To: "'ALE Mailing List'" <ale at cc.gatech.edu>
> Subject: [ale] Scripted Telnet Sessions
> Date: Mon, 4 Mar 1996 10:31:30 -0500
> Mime-Version: 1.0
> Content-Type> : > text/plain> ; > charset="us-ascii">
> I need to have a telnet session scripted. The idea is to get input from =
> the user via a web page do some error correcting and then put the data =
> into a canned accounting system. My only choices are either using a =
> scripted telnet session to simulate the keystroks of a human hand or to =
> use a program like procom plus and open up a serial connection between =
> the two machines. I was told that TCL would do this but after looking =
> arround I've found nothing to support this claim. Any one got any =
> ideas.
>
David,
Try using the 'expect' program. It provides an adequate programable
terminal interface to telnet, ftp, tip, etc. with all the usual
script language features (user-defined variables, conditional statements).
James
--
james rowell work email: james.rowell at tridom.com work: 770-514-3640
at&t tridom private email: rowell at crl.com home: 770-643-8695
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: .plan
X-Sun-Content-Lines: 4
james rowell work email: james.rowell at tridom.com work: 770-514-3640
at&t tridom private email: rowell at crl.com home: 770-643-8695
840 franklin ct internet http://www.crl.com/~rowell fax: 770-514-3491
marietta ga 30067 intranet http://www.ops.tridom.com/~rowell pgr: 770-915-6845
More information about the Ale
mailing list