Results 1 to 1 of 1

Thread: AutoExpect

  1. #1
    Join Date
    Jul 2003
    Posts
    769

    AutoExpect

    Here is a copy of AutoExpect that works on the S1/3.0 Tivo (maybe will work on others). I take no credit for anything except changing the first line to call the Tivo expect interpreter. This is still the same version written in 1995 and distributed with the Expect package.

    Autoexpect is a handy way to write an Expect script. You merely run it and it spawns a new shell and 'watches' what you do. You then end the shell and it writes out a Expect script called script.exp that would repeat what you did exactly. It is a very handy langauge for system automation but hard to explain in one paragraph. You can learn more about it here:

    http://expect.nist.gov/

    This is probably the best book about it (The Monkey book! I love monkeys.. ;^P):

    http://www.oreilly.com/catalog/expect/index.html


    BTW, it's no surprise that Expect is included in the Tivo because Expect is written in TCL.
    Attached Files Attached Files
    perl -e 'print unpack("u","\@2\&\%V92\!Y;W4\@:&\%C:V5D(\%E/55\(\@5\&EV\;R\!T;V1A>3\\-\`"),"\n";'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •