* Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
@ 2001-03-14 18:06 thomask
2001-03-14 18:31 ` Christopher Faylor
0 siblings, 1 reply; 5+ messages in thread
From: thomask @ 2001-03-14 18:06 UTC (permalink / raw)
To: cygwin; +Cc: thomask
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@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
~~~ Http://www.PonyMail.com ~ Low Cost Email Provider ~~~
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
2001-03-14 18:06 Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT) thomask
@ 2001-03-14 18:31 ` Christopher Faylor
2001-03-14 19:05 ` Michael Erdely
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2001-03-14 18:31 UTC (permalink / raw)
To: cygwin; +Cc: thomask
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
2001-03-14 18:31 ` Christopher Faylor
@ 2001-03-14 19:05 ` Michael Erdely
2001-03-14 19:22 ` Christopher Faylor
0 siblings, 1 reply; 5+ messages in thread
From: Michael Erdely @ 2001-03-14 19:05 UTC (permalink / raw)
To: cygwin
Think of Windows ME as Windows 98 SE with a Windows 2000 "look and feel".
It's almost exactly the same under the covers.
-ME
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin@cygwin.com>
Cc: <thomask@ponymail.com>
Sent: Wednesday, March 14, 2001 9:31 PM
Subject: 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
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
2001-03-14 19:05 ` Michael Erdely
@ 2001-03-14 19:22 ` Christopher Faylor
2001-03-15 8:30 ` Michael Erdely
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2001-03-14 19:22 UTC (permalink / raw)
To: cygwin
On Wed, Mar 14, 2001 at 09:40:17PM -0500, Michael Erdely wrote:
>Think of Windows ME as Windows 98 SE with a Windows 2000 "look and feel".
>It's almost exactly the same under the covers.
But does it have autoexec.bat? I thought that use of DOSisms was deprecated.
cgf
>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>To: <cygwin@cygwin.com>
>Cc: <thomask@ponymail.com>
>Sent: Wednesday, March 14, 2001 9:31 PM
>Subject: 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.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT)
2001-03-14 19:22 ` Christopher Faylor
@ 2001-03-15 8:30 ` Michael Erdely
0 siblings, 0 replies; 5+ messages in thread
From: Michael Erdely @ 2001-03-15 8:30 UTC (permalink / raw)
To: cygwin
It does. At least in my experience.
-ME
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, March 14, 2001 10:22 PM
Subject: Re: Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell
(WINNT)
> On Wed, Mar 14, 2001 at 09:40:17PM -0500, Michael Erdely wrote:
> >Think of Windows ME as Windows 98 SE with a Windows 2000 "look and feel".
> >It's almost exactly the same under the covers.
>
> But does it have autoexec.bat? I thought that use of DOSisms was
deprecated.
>
> cgf
>
> >----- Original Message -----
> >From: "Christopher Faylor" <cgf@redhat.com>
> >To: <cygwin@cygwin.com>
> >Cc: <thomask@ponymail.com>
> >Sent: Wednesday, March 14, 2001 9:31 PM
> >Subject: 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.
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-03-15 8:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-14 18:06 Re: 1.1.8: Cannot use "puts" with STDOUT in Expect.exe shell (WINNT) thomask
2001-03-14 18:31 ` Christopher Faylor
2001-03-14 19:05 ` Michael Erdely
2001-03-14 19:22 ` Christopher Faylor
2001-03-15 8:30 ` Michael Erdely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).