Ctrl key doesn't produce a different escape code
Michael Vincent <[email protected]> Thu, 14 Jul 2011 12:50:30 -0500
| Newsgroups | gmane.comp.gnu.mingw.msys |
|---|---|
| Message-ID | <CAC9=hxRJeto1vdp5_q9frsMpwtRrneNhCq7aXdeD3vjRMpAULg@mail.gmail.com> |
I'm trying to bind Ctrl-Left and Ctrl-Right to backward-word and forward-word respectively. Ctrl-Left produces exactly the same escape code as Left arrow by itself though (same problem with the other arrows, pgup, pgdn, home, end, etc). If I press Ctrl-V followed by Left, it prints out ^[[D. If I press Ctrl-V followed by Ctrl-Left, it still prints out ^[[D. It's like the Ctrl key is being blocked or not detected for some reason. Alt-F and Alt-B are bound to forward-word and backward-word and they work fine. I have a standard MSYS install that I installed with the latest mingw-get-inst installer. $TERM is set to cygwin. Any idea why the Ctrl key isn't detected? ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev