-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 issues (characters, Ctrl+C, etc. get eaten or messed up) #2239
Comments
I cannot reproduce. |
Not sure how else to have you reproduce this unfortunately, maybe someone else can repro. But is that a setting you need either way? If it's harmless to change then maybe you could trust me that it's a problem... :-P I don't know if the visual or audible bells even work (I haven't managed to get them). |
For over a decade, Git for Windows did not play an annoying sound when you happened to hit the Delete key in a Git Bash where there was nothing to delete. I do not plan on introducing that annoying sound now. Because you know, between you and me? You would not hear any complaints at all. You're not the maintainer. I would. Many. Many. Many, many, many complaints. |
I don't think |
The way the "visual bell" feature typically works in Unix applications is that if you enable it, the audible bell is suppressed and a visual "bell" (i.e. some sort of flashing inverting foreground/background color) is used instead. If you turn off the visual bell, it is back to the audible bell. So yes, I think that if you say "visual bell: none", that would (or should) turn on the audible bell. |
I think you're confusing
|
I did not read the documentation, indeed, but I seem to remember that that was the reason why we introduced it. Maybe you can investigate under which circumstances |
I'm confused, even without reading the documentation, why would As for Also, is the fact that MSYS2 has it set to |
Yes, in the beginning (i.e. in 2006), we tried to use I am not sure what we would break now if we changed it, which makes me hesitant to change it. |
But msys2 has it set to none? I'm so confused... |
In your ideal world what could I possibly do to convince you to give it a try? Download git for windows 1 and extract xterm from it? Then what do I look for? What is considered "breakage"? Should it beep or not beep? Or should I watch out for a different kind of problem? I'm so confused what you're hoping I would do on my end... |
I am not even sure when/why we introduced it. You could follow the history down to probably https://github.com/msysgit/msysgit/commits/master/etc/inputrc and once you found the reason, argue either that I misremember, that I remember correctly and it is no longer an issue, or that there are other reasons to believe that this won't end up with dozens of bug reports that I have to deal with. |
@dscho: That seems pretty easy. The very first (and only?) time that line is introduced, it is Which makes sense, because when it's unspecified, the default is Hence I see no indication that |
Ah, and it was not about
How about turning this into a nice commit message and then opening a PR? |
I wrote you a commit message below if that helps, but I'm not sure about a PR... it would need me to put my personal info into a global repo which I'm generally hesitant to do unfortunately.
|
Closing this stale ticket. |
I think |
Basically, if you try to fire up Git-Bash and try to scroll through history (holding Up/Down for a while) and then start typing, you'll frequently see it gets messed up pretty fast: keypresses will appear to get eaten and then spit out suddenly, Ctrl+C will start appearing as
^C
instead of interrupting the prompt, etc.This happens on every recent version that I've tried; it's not a recent issue. Took me a while to track down the cause, but it turned out to be
set bell-style visible
in/etc/inputrc
.This may well be a bug in MinTTY itself, but either way, I would consider just avoiding that option regardless. Maybe just set it to
none
instead ofvisible
.The text was updated successfully, but these errors were encountered: