via stdin/stdout (this example tests proper treatment of end of file
and \n at end of string; more precisely, this test finely tests char
lookaheads and char lookahead attempts, since a spurious lookahead
attempt may lead to a deadlock between the reader and the writer (in
the example the slave and the master)).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02