Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Type: text/plain; charset="iso-8859-1" From: Tim Prince Reply-To: tprince AT computer DOT org To: "Xinan Zhou" , Subject: Re: [Fwd: fortran read problem] Date: Thu, 13 Jun 2002 23:11:39 -0700 References: <3D074C2D DOT 9C5880B6 AT yahoo DOT com> <20020613130409 DOT BD59B2CD9B AT inet1 DOT ywave DOT com> <019c01c212f8$ab4461d0$050202ca AT apple> In-Reply-To: <019c01c212f8$ab4461d0$050202ca@apple> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020614061139.B2EA52CBAD@inet1.ywave.com> On Thursday 13 June 2002 09:37, Xinan Zhou wrote: > Hi, > > Can I safely say that it is a bug that fortran read(1, '(a132)') on cygwin > cannot read an entire line properly from a data file edited by Notepad or > vi? > Or it is my mistake that I miss setting up something? > > Thank you and have a nice day! > > Xinan If you're editing the file with Notepad, it must be on a text mounted file system, and g77 is likely to have trouble with the \r characters, unless your code watches for them. vi/vim will work fine for you, provided that your files are on a unix type file system, which is what I use. -- Tim Prince -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/