roussi@OSL380A.ERIM.ORG (Chris Roussi) (03/09/91)
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 __________________________________________________________________
merritt@iris613.gsfc.nasa.gov (John H Merritt) (03/09/91)
>Is there a way in FORTRAN to open several logical >units to write to the terminal? Sure, OPEN(11, file='/dev/tty') OPEN(12, file='/dev/tty') etc. John H. Merritt --> merritt@iris613.gsfc.nasa.gov Applied Research Corporation at NASA/GSFC "Yesterday I knew nothing, today I know that."