suzdraws / mintty

Automatically exported from code.google.com/p/mintty
0 stars 0 forks source link

Keycode improvements #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some minor keyboard handling improvements:
- Ctrl-Backspace and Alt-Backspace now send ^? and ^[^H when the backspace
keycode is set to the default ^H. This is for compatibility with xterm.
- Control characters on symbol keys now depend on scancode instead of
VK_OEM codes, because the latter move about rather randomly between
different countries' keyboards.
- Shift-Esc sends ^] no matter the plain Esc keycode.
- Ctrl-number combinations with Shift or Alt now send ^[[x instead of ^[OX
  because the keycodes Shift/Alt+Ctrl+0..3 clashed with F1..F4.
- Added keycodes for browser forward and back keys: ^[[F and ^[[G. Someone
might use them for Lynx. :)

Original issue reported on code.google.com by andy.koppe on 12 Mar 2009 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 14 Mar 2009 at 2:10

GoogleCodeExporter commented 9 years ago
In cygwin vim, I see that Shift-ESC sends <9b> instead of acting as <Esc> 
(exiting insert mode).

Is this deliberate? I don't understand from this issue text what did the 
authors meant mintty to do.

Thank you.

Original comment by virik...@gmail.com on 6 Sep 2012 at 8:29

GoogleCodeExporter commented 9 years ago
Yes, it's deliberate, and documented at 
http://code.google.com/p/mintty/wiki/Keycodes#Special_keys.

Original comment by andy.koppe on 6 Sep 2012 at 11:33