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: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)


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


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