[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finishing output translating stream

This page is part of the web mail archives of SRFI 68 from before July 7th, 2015. The new archives for SRFI 68 contain all messages, not just those from before July 7th, 2015.

Shiro Kawai <shiro@xxxxxxxx> writes:

> Another practical (although slightly outdated) example:
> A command-line interactive application which prompts the user
> input.  The cliche for the application to print the prompt would
> be something like this:
>   (begin (display *prompt*) (flush-output-port))

That's pretty convincing.  (Again, thanks for bearing with me!  I
don't know anything about these arcane encodings, and I'm grateful
you're explaining the details.)

If we were to provide what you're asking for, would we need to
distinguish between flush and close?  (Close does a flush.)  I'm
assuming no.

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla