Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Expect and xterm

 
 
Ishmael
Guest
Posts: n/a
 
      02-28-2007
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
 
 
 
Reply

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 ziptnf@gmail.com Java 0 04-08-2006 05:42 PM
Controlling an Xterm from a C++ Program Dennis C++ 4 09-29-2003 08:56 PM



Advertisments