Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Expect and xterm

Thread Tools

Expect and xterm

Posts: n/a
I would like to automate the following sequence:

1) Open xterm via Expect script.
2) Run a program in the new terminal.
3) 'Let go' of the new terminal, leaving it running (!).
4) Exit Expect script.

I can get as far as 1) with Perl's implementation of Expect, and as
far as 2) with TCL Expect (using the hocus pocus described in Don
Libes' book). Any ideas? (P.S. Using xterm's '-e' option won't work
in this case).
Thanks for your help!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to expect eof with expect+pty Simon Strandgaard Ruby 4 12-20-2006 04:00 PM
Bug in $obj->expect() ... ? (Expect 1.15) Phil Perl Misc 0 07-07-2006 07:25 AM
Can I do it using python?? about xterm and telnet valpa Python 20 07-03-2006 05:10 PM
Xterm embedded in Eclipse Java 0 04-08-2006 05:42 PM
Controlling an Xterm from a C++ Program Dennis C++ 4 09-29-2003 08:56 PM