Expect and xterm

Discussion in 'Perl Misc' started by Ishmael, Feb 28, 2007.

  1. Ishmael

    Ishmael Guest

    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!
     
    Ishmael, Feb 28, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,016
  2. Dennis
    Replies:
    4
    Views:
    769
    Default User
    Sep 29, 2003
  3. valpa
    Replies:
    20
    Views:
    2,982
    Marc Schoechlin
    Jul 3, 2006
  4. Simon Strandgaard

    how to expect eof with expect+pty

    Simon Strandgaard, Dec 20, 2006, in forum: Ruby
    Replies:
    4
    Views:
    392
    Simon Strandgaard
    Dec 20, 2006
  5. Phil
    Replies:
    0
    Views:
    183
Loading...

Share This Page