-
Notifications
You must be signed in to change notification settings - Fork 303
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
mintty doesn't set terminal io properly #187
Comments
msys2 does not enabled ConPTY feature by default. Whereas cygwin does. To enable ConPTY by-default in msys2, close all the msys2 terminal windows, set |
What do you mean enable the variable in the Control Panel? What is the reason for not enabling ConPTY by default? |
Yes, systempropertiesadvanced.exe
Some programs like autotools, git etc. have issues with it. But things are being fixed quickly. |
Which python are you running? What does |
I found that there is a mingw64.ini and an msys2.ini that have I also added |
BTW, I am only looking at msys2 for a solution because I use git-bash from Git for Windows which is based on msys2. That is where I first found the problem. Is there a list somewhere of all the config variables that can be used in msys2.ini? |
I've wanted to document the options that are allowed in MSYS environment variable, but haven't found time to do so. The closest thing that exists is the documentation for the corresponding CYGWIN variable for cygwin: https://cygwin.com/cygwin-ug-net/using-cygwinenv.html. But there are some differences/additions in msys2. |
it's |
I just found out that the shortcut created in the start menu during installation is a special terminal shortcut with a terminal tab. It doesn't read config file in C:\msys64\mingw64.ini. If I just run "C:\msys64\mingw64.exe" it does read the config file and |
I mistyped. This is what I have in the ini file
|
In Git for Windows there is an option in the installer. |
My mistake, it does read the ini file, but it overrides the The good news, is that I found the correct variable to set isatty=True and it can be put in the .ini files in |
BTW, the list of all the mintty config variable is at https://mintty.github.io/mintty.1.html#CONFIGURATION |
This appears to be a bug in the msys mintty compile. I can run the same version of mintty (3.5.2) from cygwin and it works correctly.
Reproduce by starting MSYS2 MSYS from the start menu on Windows 10. The terminal window opens and bash starts correctly.
Run the windows version of python
and it returns False. Doing the same thing with cygwin returns True.
Possibly related?
When MSYS bash starts most of the windows path has been removed instead of converted. All that gets converted is
I don't know if this is by design or a problem.
The text was updated successfully, but these errors were encountered: