Expect and xterm

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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!

Re: Expect and xterm

Quoted text here. Click to load it

Have you tried using android rather then Perl's Expect.pm?


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.

Site Timeline