Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Tue, 16 Feb 1999 11:45:38 -0600 (CST) From: Frank McIngvale To: cygwin AT sourceware DOT cygnus DOT com Subject: "expect" weirdness In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I have a simple `expect' script for telnetting which is behaving badly under B20.1: --- #! /bin/expect -f spawn telnet fly.hiwaay.net expect "ogin:" send "USER\n" expect "word:" send "PASSWORD\n" interact ------ This is the exact same script I use all the time on my Linux box with no trouble whatsoever. Under B20.1, it sends USER & PASSWORD fine, but then when it switches to interactive mode, everything halts, and I have to periodically press a key to get any further output from the telnet session. I've tried this with CYGWIN=binmode && nobinmode, with the same result both ways. "telnet -8" ALMOST works, but output still stalls. This is under the stock bash & expect that come with B20.1, plus the telnet from the "Remote Access" package (sorry, don't remember exact site -- it's the package with rxvt, ftp, telnet, the inet daemons, etc.) telnet --version = "telnet (GNU inetutils) 1.3.1" Can anyone tell me what's going wrong here? thanks! frank