<
saint....@gmail.com> wrote:
> On Tuesday, 17 March 2015 21:45:52 UTC, anatoly techtonik wrote:
>>
>> On Tue, Mar 17, 2015 at 9:44 PM, Benjamin Measures <
saint....@gmail.com>
>> wrote:
>> > The issue stems from DOS/Windows never producing EOF for console input
>> > (it's
>> > not a "real" terminal).
>>
>> What is the issue exacly?
>
> In *nix, it is the terminal that signals EOF on ctl-d.
>
> In Windows, there is no console driver. Windows passes the ctl-z to the
> application, and it is up to the application to interpret however it may.
> It's an ugly legacy left over from CP/M compat.
Interesting. How does Windows do this? Is there separate event