delorie.com/archives/browse.cgi | search |
Delivered-To: | listarch-cygwin AT sourceware DOT cygnus DOT com |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <19990218003048.4603.rocketmail@send104.yahoomail.com> |
Date: | Wed, 17 Feb 1999 16:30:48 -0800 (PST) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | earnie_boyd AT yahoo DOT com |
Subject: | Re: bash bug |
To: | Aldo Mazzilli <aldo DOT mazzilli AT inria DOT fr> |
Cc: | cygwin users <cygwin AT sourceware DOT cygnus DOT com> |
MIME-Version: | 1.0 |
---Aldo Mazzilli <aldo DOT mazzilli AT inria DOT fr> wrote: > > Earnie Boyd wrote: > > > > Which tclsh are you using? The one supplied with the cygwin package > > or the native built one? > > > > I suspect the problem is with the [no]tty setting of the CYGWIN > > environment variable. It should be notty if you're communicating with > > non-cygwin executables. > > > > Regards, > > Earnie. > > > > ---Aldo Mazzilli <aldo DOT mazzilli AT inria DOT fr> wrote: > > > > > > I've written a TCL script which does the following things : > > > > > > 1 --> gets a Shell command from stdin > > > 2 --> open a Bash shell within a pipe > > > 3 --> puts the command on the pipeline > > > 4 --> gets the result > > > > > > PROBLEM : > > > I can't get any results after the 4th step with Cygnus Solution : :-( > > > I get the right result with MKS KSH or UWIN KSH : :-) > > > Can you give me any reason, please ??? > > > > > > > > Thanks Earnie for your so quick response. > I use the native tclsh 8.1 because Cygwish freeze with my script. > I've tried setting CYGWIN=tty or notty but nothing to do ... > > Any other ideas ?? Nope! :-( Here's a test script. For this bug. ----- #!/usr/bin/cygtclsh80 set p1 [open |bash r+] #NOTE: it doesn't matter if it is bash or sh puts $p1 ls flush $p1 gets $p1 lsline puts $lsline #end of script ----- The bug is that the script will hang at the `gets $p1 lsline'. It should get the first line of the directory listing and print it one the console. == - \\||// -------------------o0O0--Earnie--0O0o------------------- -- earnie_boyd AT yahoo DOT com -- -- http://www.freeyellow.com/members5/gw32/index.html -- ----------------------ooo0O--O0ooo---------------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |