You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Windows 10/AMD64. I compiled pForth using Visual Studio 2019.
I'm able to run pForth from PowerShell or from the old cmd terminal and interactive usage works fine, but if I try to run it from the MiniGW Bash terminal (the one that ships with Git for Windows), pForth doesn't behave as expected. It seems not to ever receive commands typed into the prompt. Pressing enter does not have the effect of submitting a line to pForth for processing.
For comparison, Gforth runs fine in all three terminals.
and I found if you press ctrl-c when the program is blocked, all the input before the ctrl-c will be sent to the shell. It seems that the program is waiting for the input from a source which is different from the standard input.
I also tried to build pforth with cygwin and run it from the mintty. It works, not perfectly though. The terminal attribute control still breaks in the mintty, so you will see all input showed twice and encounter the getchar issue. At last I tried the mintty that ships with cygwin, everything goes well.
I'm running Windows 10/AMD64. I compiled pForth using Visual Studio 2019.
I'm able to run pForth from PowerShell or from the old
cmd
terminal and interactive usage works fine, but if I try to run it from the MiniGW Bash terminal (the one that ships with Git for Windows), pForth doesn't behave as expected. It seems not to ever receive commands typed into the prompt. Pressing enter does not have the effect of submitting a line to pForth for processing.For comparison, Gforth runs fine in all three terminals.
Perhaps related to the use of getchar?
The text was updated successfully, but these errors were encountered: