[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with Expect & Xterm



I can't seem to get expect to talk to my xterm.

Here's my current script:

--------
spawn xterm
puts "sleeping"
sleep 3
send "telnet"
puts "sent"
puts "sleepting"
sleep 2
exit 0
---------

It all looks okay, xterm starts, I see all the puts output, but the command 
"telnet" never makes it to the xterm, in fact, the xterm looks completely 
untouched.

What's the trick?

FYI - I'm using Debian 2.2 (potato), kernel v2.1.19, KDE 2.1.2, expect 
v5.31.2, Xfree86 4.1.0,  and xterm (Xfree86 v4.1.0 as well).

Any help would be appreciated.
-Jay



Reply to: