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 21:31:36 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Cc: thomask@ponymail.com
Subject: Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
Message-ID: <20010314213136.B29969@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, thomask@ponymail.com
References: <200103150208.VAA26404@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: <200103150208.VAA26404@short.adgrafix.com>; from thomask@ponymail.com on Wed, Mar 14, 2001 at 09:08:40PM -0500

On Wed, Mar 14, 2001 at 09:08:40PM -0500, thomask@ponymail.com wrote:
>I put 
>
>CYGWIN=tty
>
>into my .bashrc file, and the "channel stdout" error still happens.  Am
>I still doing something wrong?

Yes.

In general, you should set the CYGWIN environment variable before you
run any Cygwin processes.

This means that you have to either start a console window:

C:\>set CYGWIN=tty
C:\>c:\wherever\bin\bash
bash$

or you have to use some other method for ensuring that the environment
variable is set in "Windows space".  On NT, you do this via
Control Panel->System->Environment Variables

On 9x, you could put this in your autoexec.bat.  Dunno how to do this
on ME.

cgf

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

