Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 14 Mar 2001 20:05:28 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Cc: thomask@ponymail.com
Subject: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
Message-ID: <20010314200528.F29093@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, thomask@ponymail.com
References: <200103150101.UAA23924@short.adgrafix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <200103150101.UAA23924@short.adgrafix.com>; from thomask@ponymail.com on Wed, Mar 14, 2001 at 08:01:38PM -0500

On Wed, Mar 14, 2001 at 08:01:38PM -0500, thomask@ponymail.com wrote:
>1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
>
>I cannot get the "puts" command to work with STDOUT 
>with cygwin 1.1.8 under "Expect.exe" shell.  The sample code 
>below does not work in the shell or when executing a script
>file.  However, "puts" does work with STDOUT in the "cygtclsh80.exe" shell.
>
>Sample,
>
>expect1.1> puts "sample string"
>can not find channel named "stdout"
>    while executing
>"puts "sample string""
>
>expect1.2>expect_version
>5.26
>
>expect1.3>

Try setting CYGWIN=tty before running expect.  Apparently expect needs
this for some reason.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

