I cut my teeth on this sort of thing using expect/tcl, and it looks like there are Perl modules that can also let you do sent/expect sequences so that everything is properly synchronized.
--
Danny Faught
Tejas Software Consulting
http://tejasconsulting.com/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]