comp.lang.ada
 help / color / mirror / Atom feed
From: dd@sei.cmu.edu (Dennis Doubleday)
Subject: Re: Help! DEC/Ada TEXT_IO & QIO don't get along
Date: 10 Feb 89 13:52:40 GMT	[thread overview]
Message-ID: <8513@aw.sei.cmu.edu> (raw)
In-Reply-To: tynor@pyr.gatech.EDU's message of 9 Feb 89 22:46:12 GMT

(Steve Tynor) writes:

>Help! I need a way to flush the TEXT_IO.STANDARD_OUTPUT file so that I
>can switch over to using more primative QIO calls (for screen IO,
>cursor motion, etc.) The DEC/Ada Programmer's Runtime Reference Manual
>(sec. 2.6.5.2) says that TEXT_IO output is buffered until a NEW_LINE or
>NEW_PAGE. However, when I try the following:
>
>     TEXT_IO.PUT_LINE ("this string gets eaten");
>     QIO.PUT ("this string gets written where I expect the other");
>     -- NOTE: the QIO package is not defined by DEC - I wrote it myself.

Text_IO and QIO cooperated nicely in a text editor I worked on that
used Text_IO in line editor mode and QIOs in full-screen editor mode.
I didn't experience this problem.  However, I used the QIO interface
calls supplied by DEC in the package STARLET.  Are you using these?
If not, perhaps your problem is in the QIO package you wrote.

Dennis Doubleday  (dd@sei.cmu.edu)                     _   /|
Software Engineering Institute                         \'o.O'
Carnegie Mellon University                ACK! PTHFT!  =(___)=
Pittsburgh, PA 15213  (412)268-5873                       U

      reply	other threads:[~1989-02-10 13:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-02-09 22:46 Help! DEC/Ada TEXT_IO & QIO don't get along Steve Tynor
1989-02-10 13:52 ` Dennis Doubleday [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox