Simple Program

From: Steve (
Date: 03/25/05

Date: Fri, 25 Mar 2005 11:54:40 -0500

I want to perform a very simple test.

I want to automate telnet. I can write Expect to login w/usr/pwd. But I
want Expect to give me the ability to interact. The version @ wiki.
Doesn't support interactive.

So once I login, I want to be able to pass commands to telnet. I want to
read the stdIO from expect send to telnet then get the results from telnet
and show it.

That's it.

When I login Expect just ends and I cannot interact.

Can someone please help me? Where can I find a simple example?