|
Posted by Keith on March 6, 2007, 2:07 pm
Please log in for more thread options
> I would like to automate the following sequence:
>
> 1) Openxtermvia 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. Usingxterm's'-e' option won't work
> in this case).
> Thanks for your help!
Have you tried using android rather then Perl's Expect.pm?
http://www.ddj.com/dept/debug/184404691
I read the article above a number of years back, and was able to use
android & xscope for a similar task,
as well as for other things. (In a past life...). 'Just a thought.
|