Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!fitz From: fitz@rpi.edu (Brian Fitzgerald) Newsgroups: comp.unix.questions Subject: expect: redirect output to a pipe Message-ID: Date: 9 Feb 91 21:14:25 GMT Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 12 Nntp-Posting-Host: mml0.meche.rpi.edu In an "expect" script, can I ... interact with a spawned process until I type an escape character ... then redirect the process' output to a PIPE until the process sends a prompt string ... then interact with the process again? (pty answers are welcome, but can this be done with just "expect"?) Brian Fitzgerald