Re: [EXPECT] Reading a response into a variable

From: Chris (creynolds_at_mfncuso.org)
Date: 08/05/04

  • Next message: Benjamin Riefenstahl: "Re: Newbie question about curly braces"
    Date: 5 Aug 2004 06:31:37 -0700
    
    

    "Earl Grieda" <egrieda@WAHOOyahoo.com> wrote in message news:<DzkQc.9708$9Y6.4107@newsread1.news.pas.earthlink.net>...
    > "Chris" <creynolds@mfncuso.org> wrote in message
    > news:51e2b290.0408041045.7736ec4f@posting.google.com...
    > > I'm currently using EXPECT to automate a telnet session that is a
    > > daily occurence for our office. Is there a way for me to capture the
    > > entire string that responds after I issue a send command? In other
    > > words, how can I capture the entire string that expect uses to find my
    > > expect qualifier?
    > >
    > > Thanks
    >
    > Chris, if you are using Expect then I would think that you have some sort of
    > documentation. If so the answers to your questions are in that
    > documentation. This is because your 2 questions are the most trivial and
    > basic of Expect operations.
    >
    > If you do not yet have it then buy Exploring Expect by Don Libes
    > http://www.amazon.com/exec/obidos/tg/detail/-/1565920902/qid=1091687640/sr=1-1/ref=sr_1_1/102-0952703-3960966?v=glance&s=books
    >
    > Believe me, if you use Expect to any degree you will need this book.
    >
    > Earl G

    Thank you for your responses! I was having a difficult time
    understanding the MAN page for this. I got the script to work, and I
    think I might go ahead and buy the O'reilly book. Looks like Expect
    and TCL can be very useful in our offices. Thanks again!


  • Next message: Benjamin Riefenstahl: "Re: Newbie question about curly braces"

    Relevant Pages

    • Re: [EXPECT] Reading a response into a variable
      ... > daily occurence for our office. ... Is there a way for me to capture the ... how can I capture the entire string that expect uses to find my ... documentation. ...
      (comp.lang.tcl)
    • Re: [EXPECT] Reading a response into a variable
      ... > I'm currently using EXPECT to automate a telnet session that is a ... > daily occurence for our office. ... Is there a way for me to capture the ... how can I capture the entire string that expect uses to find my ...
      (comp.lang.tcl)
    • [EXPECT] Reading a response into a variable
      ... I'm currently using EXPECT to automate a telnet session that is a ... daily occurence for our office. ... Is there a way for me to capture the ... how can I capture the entire string that expect uses to find my ...
      (comp.lang.tcl)
    • Re: John Resig has a new idea
      ... empty styleSheets collection, ... documentation, the behavior is unexpected. ... the property name is an "integer index", ... This index would be provided as a string for property access. ...
      (comp.lang.javascript)
    • Re: Regex Capture problem
      ... "learned" my regex using a freeware utility that had slightly different ... was trying to capture instead of. ... I have used Regex utilities before, so I understand the concepts of text ... Function RESub(str As String, SrchFor As String, ReplWith As String) As String ...
      (microsoft.public.excel.programming)