Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!OSL380A.ERIM.ORG!roussi From: roussi@OSL380A.ERIM.ORG (Chris Roussi) Newsgroups: comp.sys.sgi Subject: f77 question about opening files Message-ID: <9103081956.AA17483@osl380a.erim.org> Date: 8 Mar 91 19:56:59 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 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@osl380a.erim.org __________________________________________________________________