<None>
Doug McDonald
mcdonald at aries.scs.uiuc.edu
Mon Aug 6 05:29:22 AEST 1990
I am having a problem with Fortran under Unix, to be specific, the f77
compiler that comes for a Mips 120. I need to have a prompt on one
line with the user's typed input on the same line. In VMS Fortran,
and all the Fortrans I have on my IBM PC, using the following works:
write(*,100)
100 format(/,' >',$)
read(*,101)a
101 format(70a1)
The $ is not a standard F77 feature. Yet it IS documented to do what
I want in the Mips Fortran manual. It doesn't work: I have to type
two carriage returns to get input, which comes in wrong.
How does one do this in Mips Fortran, or in general on common Unix Fortrans.
P.S. This may or may not matter - I am logged in over a Telnet connection.
The world and comp.sources.games is anxiously awaiting an answer :-)
Doug McDonald (mcdonald at aries.scs.uiuc.edu)
More information about the Comp.unix.questions
mailing list