Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A20FCE1.8B3A52FD@mail.bnv-bamberg.de> Date: Sun, 26 Nov 2000 13:06:57 +0100 From: Michael Lemke X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: g77 -mno-cygwin I/O problems in bash Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've recently upgraded my b20 installation to the latest net release. I am really impressed. Great job! Here's a problem though that wasn't there in the b20 release. Consider this simple prog: Work> cat test.f character string*20 read( 5 , '(a)' ) string print *, string end If I compile this with g77 -mno-cygwin test.f and run it in a bash window the program never reads the input from the keyboard. Run in a simple MS-DOS window the prog works correctly. The same also happens with READ(*,'(A)') ... However, echo otto | ./a does work in bash. Oh, to make Fortran work at all with mingw I copied libg2c.a from Mumit Khan's site as that was the only mingw version I could find. However, the stuff there does not seem to be the same that comes with the net release in the /usr/lib/mingw directory. Any ideas? Thanks, Michael -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com