Easy Telnet scripting?

Back in the olden days of Win95 I used to write FTP scripts several time a day.

You’d FTP with a control file and it would run through that file, sending a command, waiting for a response, processing the next command, and on and on until it finished.

Is there such a thing for doing Telnet sessions? Everything out there seems to want Perl or SSH, but I don’t want anything that sophisticated.

Something tells me I’m just using the wrong search terms. Anyone have any suggestions?

-Joe

Expect is probably what you want to use.