Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!UKANVAX.BITNET!sloane
From: sloane@UKANVAX.BITNET (Bob Sloane)
Newsgroups: comp.os.vms
Subject: RE: Re: VMS C reading fortran files
Message-ID: <8806061357.AA02287@ucbvax.Berkeley.EDU>
Date: 6 Jun 88 13:58:01 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 16
X-Unparsable-Date: Fri,  3 Jun 1988 14:34:26.17 CDT

I agree that C under VMS has problems with fortran carriage control
files.  First, if the first line of the file starts with a blank, C
will return a newline immediatly. This is not how this sequence is
supposed to be interpreted. Also, every line in a file will have a
Carriage return appended to the end of it. I beleive this is contrary
to the way C handles files and records in general.  I think that
reading a fortran carriage control file should return EXACTLY the
same steam of characters as reading a file that was CONVERTed to
a variable length, carriage return carriage control file.  This is
not the way C does it.

                      Bob Sloane
                      University of Kansas
                      Computer Center
                      (913) 864-0444
                      SLOANE@UKANVAX.BITNET
                      SLOANE@KUHUB.CC.UKANS.EDU