Computer Old Farts Forum
 help / color / mirror / Atom feed
From: Paul Winalski <paul.winalski@gmail.com>
To: KenUnix <ken.unix.guy@gmail.com>
Cc: COFF <coff@tuhs.org>
Subject: [COFF] Re: Fortran Question for Unix System-V r3
Date: Sun, 26 Mar 2023 11:04:49 -0400	[thread overview]
Message-ID: <CABH=_VQqgayOFjaqBwDhgwPdGW7_pONiUob+X+2qbtF_-0JzPQ@mail.gmail.com> (raw)
In-Reply-To: <CAJXSPs980917_3EWeexoZU--p8u3MeP-DDHRqF0yHL79ng2usA@mail.gmail.com>

On 3/26/23, KenUnix <ken.unix.guy@gmail.com> 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to='CABH=_VQqgayOFjaqBwDhgwPdGW7_pONiUob+X+2qbtF_-0JzPQ@mail.gmail.com' \
    --to=paul.winalski@gmail.com \
    --cc=coff@tuhs.org \
    --cc=ken.unix.guy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).