> the script that i have put together telnets in OK but once having done > so the script stalls for approx 10 seconds. i suspect that the 10 > seconds is the default timeout for Expect. the script following the > password section is not run. during the timeout period i do receive > several ESC characters. i suspect that these are a part of the telnet > setup dialog that the two machines conduct when logging in.
try spawn telnet $addy 23 I think telnet turns off all its negotiation stuff if you specify a port. -- John http://www.inodes.org/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug