Computer Old Farts Forum
 help / color / mirror / Atom feed
From: Paul Winalski <>
To: KenUnix <>
Cc: COFF <>
Subject: [COFF] Re: Fortran Question for Unix System-V r3
Date: Sun, 26 Mar 2023 11:04:49 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 3/26/23, KenUnix <> wrote:
> Fortran question for Unix System-5 r3.
> When executing fortran programs requiring input the screen will
> show a blank screen. After entering input anyway the program completes
> under Unix System V *r3*.
> When the same program is compiled under Unix System V *r1* it
> works as expected.
> Sounds like on Unix System V *r3* the output buffer is not being flushed.
> I tried re-compiling F77. No help.

Re-compiling F77 doesn't help because the bug is in the Fortran
run-time library (RTL), not in the compiler.  The routine that
implements the READ statement should be flushing the write buffer
before doing the actual read.  Clearly it isn't.

Their test system probably didn't have very many (if any) tests for
interactive behavior.  That sort of thing is difficult to automate.

-Paul W.

      reply	other threads:[~2023-03-26 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 14:00 [COFF] " KenUnix
2023-03-26 15:04 ` Paul Winalski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).