...
>  > You will have to handle it yourself.
>
>         Oh, I'm not so sure:
>
> $ csi
> CHICKEN
> Version 2.739 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook ]
> (c)2000-2007 Felix L. Winkelmann        compiled 2008-01-07 on debian (Linux)
>
> #;1> (use utils)
> ; loading library utils ...
> #;2> (for-each-line (lambda (line) (display line) (newline)))
> hello, world
> hello, world
> ; ^D here
> #;3>
>
>         And moreover:
>
> #;3> (read-char)
> ; ^D here
> #!eof
> #;4>
>
>         This is POSIX-compliant behaviour to allow for multiple EOFs to
>         occur on reading from a terminal.

Your example works the same way here when I don't use the readline
extension in my .csirc. But I prefer to use the readline extension.

Cheers,
thu


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to