On Wed, 13 Feb 2002, Jay Mallar wrote: >I can't seem to get expect to talk to my xterm.
You can't use expect to interact with X stuff, only terminal stuff. So you can control the shell _inside_ the terminal, but not an xterm. Therefore, you should start your expect script inside a new xterm xterm -e myexpectscript Where your expect script would spawn telnet. Cameron Kerr -- [EMAIL PROTECTED] http://homepages.paradise.net.nz/~cameronk/