Expect and xterm



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!

.



Relevant Pages

  • Re: Havent been able to make world in about a year
    ... There are some places in your sequence, that I think are going to give ... DO NOT run this as a script, ... use the spacebar to halt the boot process. ... # make installworld hey, look at it go ...
    (freebsd-questions)
  • Re: Havent been able to make world in about a year
    ... No script can be prepared for all the things ... Whether I write the sequence in the command line or into ... It will go through the stages of building world, building kernel, ... Because your clock is WAY off, 'make installworld' will complain (well ...
    (freebsd-questions)
  • Re: Signaling another machine
    ... > machines in a sequence. ... > machine to start next script. ... Try typing "man ssh" and "man rsh" in a command line window. ... the wrong operating system and I can't help you. ...
    (comp.lang.perl.misc)
  • Re: Deadlock in single session
    ... I'm running a script that applies the delta DDL that is required to get ... Sequence dropped. ... what's confusing me is that the trace file generated at the time ...
    (comp.databases.oracle.misc)
  • Re: Perl script to mimic uniq
    ... mdfoster44@netscape.net spits TOFU in my face: ... > # Perl script to find most common CS ... > So I'm back to my original script which looks like this. ... > identify a sequence as unique. ...
    (comp.lang.perl)