From: sbennett AT hf DOT intel DOT com (Steve Bennett) Subject: Re: programs wont read/write stdin/stdout under bash 29 Sep 1998 15:27:54 -0700 Message-ID: <360FA220.AE09FE8C.cygnus.gnu-win32@hf.intel.com> References: <71aJk5CKpfB AT mike DOT franken DOT de> Reply-To: sbennett AT hf DOT intel DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com I also had this problem and found that upgrading to the 19.1 release seemed to fix it. --Steve Michael Hirmke wrote: > > Hi Stuart, > > > > > > >HI all, I'm having trouble getting compiled C (cygwin19beta gcc) or > >java (sun jdk) programs to communicate with stdin and stdout when > >exec'ed from bash (cygwin19beta) under NT4. reading from stdin always > >produces an eof and writing produces no input. It seems as though the > >child process hasnt got open file descriptors 0,1 or 2. > > set CYGWIN32=tty %CYGWIN32% > > *before* starting the first instance of any cygwin32 program. > > > > >I suspect I am being incredibly dumb here. Any help gratefully > >appreciated. > > > >stu > > BYe. > Michael. > -- > Michael Hirmke | Telefon +49 (911) 557999 > Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 > 90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de > | WWW http://aquarius.franken.de/ > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request AT cygnus DOT com" with one line of text: "help". -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Steve Bennett Intel, Hillsboro OR sbennett AT ichips DOT intel DOT com Phone: 503.696.1063 MRL IA32 CPU research FAX: 503.696.1442 I do not speak for Intel in any way. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".