delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/14/02:12:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Tim Prince <tprince AT computer DOT org>
Reply-To: tprince AT computer DOT org
To: "Xinan Zhou" <zhoux AT lifepredictiontech DOT com>, <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019