-
Notifications
You must be signed in to change notification settings - Fork 167
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
F1 does not work in FAR manager #40
Comments
It should be easy to synthesize the keyboard events on the Windows side. The difficult part will be figuring out what the terminal escape sequences are. The current event handling in winpty is not thorough. I can solve that partly by looking up the codes online. To test, I'll need a terminal that lets me type those key combos, which is tricky because the Alt+Fnn keys are already doing desktop/window management things on my computer. Solvable, probably. |
All right, it's the reason why it doesn't work in my mintty. |
I should be able to add putty's Fnn and Alt+Fnn keys. Here are its escape sequences:
Also see http://aperiodic.net/phil/archives/Geekery/term-function-keys.html. |
Have you tried integrating with ncurses? |
I haven't looked that closely at ncurses/termcap/terminfo. My inclination so far is that the extra dependency isn't worth it. winpty has use cases that don't involve Cygwin, so there may not be a readily available ncurses/termcap/terminfo. |
F1 works in local console, but does not work over putty.
Alt-F1 does not work in both cases
In fact, the example https://msdn.microsoft.com/en-us/library/windows/desktop/ms685035%28v=vs.85%29.aspx shows significant difference for function keys.
The text was updated successfully, but these errors were encountered: