dtgreene: (Use Ctrl-D to type EOF so that the program will know to quit.)
frogthroat: In DOS you would use ^z for that. (Ctrl-Z)
In Linux, ^z is used to suspend the current foreground process, allowing you to do other things before resuming it with the "fg" command, or to use the "bg" command to make it run in the background.
(It actually works by sending SIGSTOP to the process, which suspends it and can't be caught; sending this via killall or pkill is useful when chromium is making my desktop overheat.)
dtgreene: I remember that cygwin would allow me to create files with those names, and when trying to delete them through WIndows Explorer would give strange error messages that didn't make any sense. (Can WSL create such files?)
frogthroat: Yup, that's exactly what some of those badly coded software do as well. Cygwin should not do that, but it does. Anyway, Win10 supports Linux now so Cygwin is pretty much dead. Does it still even exist?
Oh, if you have one of those folders, to remove it open cmd with admin rights and run
rd "\\.\c:\foo\bar\con" /S /Q Note: this command uses /S so you better be sure there's nothing valuable in that folder.
Cygwin's DLL was last updated in July 2020, so it appears to still be active, and there've been package updates as recently as February 2021, so I'd say it's still active.
Also, it makes sense for Cygwin to allow creation of such files because it's meant to imitate POSIX and POSIX allows those filenames; if anything, I think Windows is to blame for making those files special in every directory, not Cygwin.
(Note that these files can be deleted with Cygwin's "rm" command (or "rmdir", if it's a directory) just fine.)