I've never used it, but "expect" is supposed to fit the bill nicely for just such occasions. Hugh On Wed, 2005-04-06 at 06:55 -0600, Stephen Queen wrote: > I've been trying to write a script that accesses a wireless > access point/modem. The interface uses telnet. I thought a > simple here document should do the trick.