Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
629f0224
Commit
629f0224
authored
Oct 21, 2003
by
simonmar
Browse files
[project @ 2003-10-21 11:25:40 by simonmar]
Add a FAQ entry for Ctrl-D and EOF.
parent
166d8daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/docs/users_guide/faq.sgml
View file @
629f0224
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment