[ale] Scripted Telnet Sessions

Arnold D. Robbins arnold at infographix.infographix.com
Mon Mar 4 13:26:33 EST 1996


> 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.

You want "expect", which is written in TCL. There's even an O'Reilly
book available on using expect.

Arnold Robbins		InfoGraphix (Star Imaging LLC, dba)
Phone: +1-404-523-4944	250 Williams Street, Suite 1120, Atlanta, GA 30303
Fax:   +1-404-523-4882	E-mail: arnold.robbins at infographix.com
"Oh! Look at all those zeros!" --- Chana Robbins, Age 3.5






More information about the Ale mailing list