Commit 629f0224 authored by simonmar's avatar simonmar
Browse files

[project @ 2003-10-21 11:25:40 by simonmar]

Add a FAQ entry for Ctrl-D and EOF.
parent 166d8daf
......@@ -323,6 +323,23 @@ details.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>If I explicitely set the buffering on a Handle to
"NoBuffering" I'm not able to > enter EOF by typing
"Ctrl-D".</term>
<listitem>
<para>This is a consequence of Unixy terminal semantics. Unix
does line buffering on terminals in the kernel as part of the
terminal processing, unless you turn it off. However, the
Ctrl-D processing is also part of the terminal processing
which gets turned off when the kernel line buffering is
disabled. So GHC tries its best to get NoBuffering semantics
by turning off the kernel line buffering, but as a result you
lose Ctrl-D. C'est la vie.</para>
</listitem>
</varlistentry>
</variablelist>
</chapter>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment