-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CYGWIN] win32 demos don't work "redirection not supported" #15
Comments
set begx/begy to zero in newpad()
Do the recent changes for Cygwin do anything to resolve this, now using |
In win32 variant we currently need both and I now at least understood why:
... and I've retested |
... and running the testcurs.exe + dlls of win32 variant built with my local cygwin installation + cygwin-1.dll directly (=not in the cygwin console) results in "could not start the application (0xc000007b)". |
Just tested this with a debug run:
... but I also get But the strange thing: win32a works like a charm in this environment, just win32 doesn't work,,, |
The problem is that the Cygwin environment uses its own console window thingie, "mintty", that supports classical Unix-y escape sequences, but not the Windows Console API used by the "win32" port of PDCurses. There are at least a couple of workarounds:
win32a works because apps built with it are not console apps. |
@wmcbrine Thank you for these notes, using I think this can be closed now. |
I don't have a Cygwin environment, and hence no |
Of course we have the exe-part, it just isn't set automatically. we could add the part from wingui/Makefile.mng to vt/Makefile: ifneq (,$(findstring CYGWIN,$(uname_S)))
# Insert Cygwin-specific changes here
ON_WINDOWS = 1
endif
ifneq (,$(findstring MINGW32_NT,$(uname_S)))
# Insert MINGW32-specific changes here
ON_WINDOWS = 1
endif
ifneq (,$(findstring MINGW64_NT,$(uname_S)))
# Insert MINGW64-specific changes here
ON_WINDOWS = 1
endif In the meantime manually adding |
@GitMensch - very interesting... |
No matter what makefile options (for gccwin32.mak) were used to compile PDCurses.
The text was updated successfully, but these errors were encountered: