"Bash on Ubuntu on windows" responds to CTRL+D just fine. I don't really know how it works, but it looks like it is based on the Windows terminal emulator.

Elazar


בתאריך יום ה׳, 29 בספט' 2016, 06:36, מאת Chris Angelico ‏<rosuav@gmail.com>:
On Thu, Sep 29, 2016 at 12:04 PM, Steven D'Aprano <steve@pearwood.info> wrote:
> (Also, it seems a shame that Ctrl-D is EOF in Linux and Mac, but Windows
> is Ctrl-Z + Return. Can that be standardized to Ctrl-D everywhere?)

Sadly, I suspect not. If you're running in the default Windows
terminal emulator (the one a normal user will get by invoking
cmd.exe), you're running under a lot of restrictions, and I believe
one of them is that you can't get Ctrl-D without an enter.

But it would be very nice to support both.

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/