Provided by: manpages-ja_0. bug



        expect  rlogin ( ) EXPECT_PROMPT EXPECT_PROMPT

           set prompt "(%|#|\\$) $"          ;# default prompt
           catch {set prompt $env(EXPECT_PROMPT)}

           expect -re $prompt

        expect  echo

        ftp'f', 't', 'p', '>'  <blank> blank  blank

       X* * X "" I/O



        timeout expect  - eof  -

       tty   newline    carriage   return,   linefeed   2   printf("foo\nbar")

        expect_user  newline Expect  raw (telnet ) ( newline )  raw

        newline "stty raw" stty raw  cooked

       interact  raw

       Expect ()

       UNIX setgid

       , Expect ()  750 (-rwxr-x---) trusted group /bin/sh
        2751 (-rwxr-s--x)

       () Expect

       Tcl(3), libexpect(3)
       "Exploring Expect:  A  Tcl-Based  Toolkit  for  Automating  Interactive
       Programs"  by  Don  Libes,  pp.  602,  ISBN 1-56592-090-2, O'Reilly and
       Associates, 1995.
       "expect: Curing Those Uncontrollable  Fits  of  Interactivity"  by  Don
       Libes,  Proceedings  of  the  Summer  1990  USENIX Conference, Anaheim,
       California, June 11-15, 1990.
       "Using expect to Automate System Administration Tasks"  by  Don  Libes,
       Proceedings   of   the   1990   USENIX   Large   Installation   Systems
       Administration Conference, Colorado Springs, Colorado,  October  17-19,
       "Tcl:  An  Embeddable Command Language" by John Ousterhout, Proceedings
       of the Winter 1990 USENIX Conference, Washington, D.C., January  22-26,
       "expect:  Scripts  for  Controlling Interactive Programs" by Don Libes,
       Computing Systems, Vol.  4,  No.  2,  University  of  California  Press
       Journals, November 1991.
       "Regression  Testing  and Conformance Testing Interactive Programs", by
       Don Libes, Proceedings  of  the  Summer  1992  USENIX  Conference,  pp.
       135-144, San Antonio, TX, June 12-15, 1992.
       "Kibitz  -  Connecting  Multiple Interactive Programs Together", by Don
       Libes, Software - Practice  &  Experience,  John  Wiley  &  Sons,  West
       Sussex, England, Vol. 23, No. 5, May, 1993.
       "A  Debugger  for  Tcl  Applications", by Don Libes, Proceedings of the
       1993 Tcl/Tk Workshop, Berkeley, CA, June 10-11, 1993.

       Don Libes, National Institute of Standards and Technology

       Tcl John Ousterhout Scott Paisley Expect  Rob Savoye

       HISTORY expect

       Expect  NIST

                               29 December 1994                      EXPECT(1)