f77 question about opening files

Chris Roussi roussi at OSL380A.ERIM.ORG
Sat Mar 9 05:56:59 AEST 1991


I am in the process of porting an optical-design program (in FORTRAN)
from an Apollo to an IRIS. In the code, various logical units
are opened to the predefined files -STDIN and -STDOUT, which on the Apollo, 
strangely enough, correspond to stdin and stdout. My question is,
can this be done on the IRIS? Is there a way in FORTRAN to open several logical
units to write to the terminal? I have searched the manuals, and
tried various things, and I can't figure out how to do this. Of
course, C is my native language, and I am barely literate in FORTRAN,
so maybe there's a real obvious way to do this. I apologize in advance
is this is a stupid question. Note: An incredible amount of code will
need to be rewritten if this can not be done...even a kludge would be
welcome. Thanks.
___________________________________________________________________

Chris Roussi
Research Engineer
Signal & Image Processing Department
Optical & Infrared Science Laboratory

Environmental Research Institute of Michigan
P.O.Box 8618
Ann Arbor, MI 48107-8618

voice: (313)994-1200 x2404
fax:   (313)994-0944
email: roussi at osl380a.erim.org
__________________________________________________________________



More information about the Comp.sys.sgi mailing list