-
Notifications
You must be signed in to change notification settings - Fork 186
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
Improve support for native console programs #56
Comments
Git for Windows recently switched to using MinTTY as the default emulator. There is a long running issue with running external programs in MinTTY[1] and one solution is to run programs through winpty. This commit creates aliases that run the program on it's own when possible and fall back to using winpty when necessary. [1] mintty/mintty#56
Git for Windows recently switched to using MinTTY as the default emulator. There is a long running issue with running external programs in MinTTY[1] and one solution is to run programs through winpty. This commit creates aliases that run the program on its own when possible and fall back to using winpty when necessary. [1] mintty/mintty#56
Is there any hope for solving this issue? |
Yes, you can expect it to be solved with the next cygwin release which supports the new Windows ConPTY API. |
@eximius313 You can also download and use the cygwin test builds now by selecting test radio button in cygwin setup. But as they are test builds random crashes may occur. |
I'm using it via GitBash, so it's not that easy ;) |
Cygwin 3.1.0 has been released with ConPTY support. |
Hey @mintty , i read the whole conversation but still cant figure how to effectively do |
That question is out of scope here. Mintty and bash provide POSIX style programming environments. ConPTY support is available (by cygwin) to support interworking, but if you wish to program Windows console style, you need to get advice elsewhere. |
If you have a program that runs in native Windows console (the cmd thing) and does not work in cygwin, you may ask on the cygwin mailing list. |
Thanks @mintty will reach cygwin then |
One further note, as you mentioned git bash: I don't know whether git bash enables ConPTY support by default meanwhile (as MSYS2 does). If not, you could set environment variable CYGWIN=enable_pcon and then start another terminal from the command line to enforce it. |
OK, at least my instance of Git Bash does not support ConPTY (workaround see above), so maybe you should give them an issue. |
As a persistent workaround, configure it in your home .minttyrc file: |
@mintty this is actually working, |
Console support (mentioned above, ConPTY) is provided by cygwin. It's enabled by default in cygwin and meanwhile MSYS2 but apparently not in Git bash. With the given option, mintty configures it to be enabled by cygwin/MSYS2. |
You can also configure ConPTY support by adding |
Original issue reported on code.google.com by
sami.kyo...@gmail.com
on 17 Feb 2009 at 3:07The text was updated successfully, but these errors were encountered: