I tried something like this last summer in Fortran and finally gave
up. Fortran really wants to see CR/LF record terminators on its
input. I ended up writing a piece of C code to do it (this type
of i/o is one place C excells). The closest I got to making it
work in Fortran was to declare a long character variable and read
into that. However, you are limited by the length of this variable,
if it works at all.
Good luck!
John K. Prentice
Amparo Corporation
Albuquerque, NM
USA