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: Math.random
... user to get the same sequence repeatedly. ... Browser JavaScript cannot generate unique GUIDs without input by the ... Doing those with ECMA 262-3 script ... (comp.lang.javascript) - 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: Obtain name of self .m file?
... It is one of the few debugging commands that do not need debug mode: ... I have not tested it with nested functions (STACK could be an array then), but I am sure you can figure that out. ... of the script is naive, and mainly contains a number of prin ... The sequence numbers are not arbitrary, ... (comp.soft-sys.matlab) - 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: 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) |
|