Results 245 comments of nomennescio

> What’s wrong with Ctrl-D for EOF?Works in command line and UI listeners? As noted `CTRL-D` does *not* work on Windows to exit Factor (see above) And I want a...

> How do you type an EOF on windows? `CTRL-Z` if you're on `cmd.com`, but that's never used to close a console. On Cygwin and MSys, it's `CTRL-D`.

> But they likely don't expect it to _exit_ Factor, they likely expect it to exit one of the listener windows, no? As I said, I find that hard to...

With the solution for #3004 , `CTRL-Q` closes the Factor Windows *and* properly handles calls to be handled at window closure (`ungraft*`). Given that `exit` bypasses all Windows handlers, for...

I propose `quit` for that, it's used only in a few other vocabs to quit a special application, so that will hardly lead to troublesome clashes.

Let's define a meaningful way differently; the current issue is that Factor.exe is a Windows application and factor.com a Console application, which are designed to respond differently to streams. This...

Right, found a solution for this: in https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/get-osfhandle it is described that `_fileno ()` returns `-2` for `stdin, stdout, stderr` if these are not associated with streams. However, `stdin, stdout,...

An alternative might be to associate the standard streams with the "NUL" file if they're not associated. That also gives no errors at all: ``` factor.cpp -- #ifdef WINDOWS bool...

> What about AllocConsole? Hi John, AllocConsole is what you *don't* want in `factor.exe`; it will 1. create a popup window with console handles (what is what you *don't* want...