This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]