Rainer Joswig
8/30/2015 7:56:00 PM
On 2015-08-30 19:35:26 +0000, Blake McBride said:
> On 08/30/2015 02:25 PM, Rainer Joswig wrote:
>> On 2015-08-30 19:17:03 +0000, Blake McBride said:
>>>
>>> Probably not a bad idea, however, I've never seen a system that didn't
>>> auto-flush when close is called (or implicitly called via
>>> with-open-file).
>>
>> I'm not talking about files. All IO can be buffered: screen, terminal,
>> files, network, ...
>>
>> If you print something on the screen like a prompt and then read, you
>> need to force the output after the print and before reading.
>>
>
> Actually, I am aware of that. I've seen the problem when using stdio.
> That is why I used *query-io*. Haven't seen the problem with that.
> Isn't that the whole purpose of *query-io* - not to buffer?
There is no requirement to not buffer *query-io*.
>
> Anyway, my tests seem to indicate that *query-io* doesn't buffer. If
> an instance where I am wrong is encountered, I'll add the flush.
Atleast SBCL and ABCL buffer the query-io stream.