delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/14/21:07:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 14 Mar 2001 21:08:40 -0500 (EST)
Message-Id: <200103150208.VAA26404@short.adgrafix.com>
To: cygwin AT cygwin DOT com
From: thomask AT ponymail DOT com
CC: thomask AT ponymail DOT com
Subject: Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)

I put 

CYGWIN=tty

into my .bashrc file, and the "channel stdout" error still happens.  Am I still doing something wrong?

Thanks,
Tom Klopfstein

----- In Response To -----

On Wed, Mar 14, 2001 at 08:01:38PM -0500, thomask AT ponymail DOT 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





~~~ Http://www.PonyMail.com ~ Low Cost Email Provider ~~~

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019