On Wed, May 05, 2010 at 10:40:39PM +0200, Bram Moolenaar wrote: > It's possible to make a difference between the two when there is a > mapping for CTRL-SHIFT-T. I actually thought that was working, but it > doesn't. Perhaps this only works in combination with Alt, don't have > time right now to check the details. ... > > http://www.leonerd.org.uk/code/libtermkey/ > > Now that sounds like a long awaited improvement. The termcap/terminfo > system is completely inadequate. Vim must have xterm special key > support built-in, since there is no way to define these keys with the > old libraries. > > It would be great if someone can make a patch for Vim that uses this > library and is fully backwards compatible for the special xterm keys > codes. That would be a good test for the library as well.
Hi Bram, Thanks for the response on this. It looks like then there's three separate issues here: 1. Making sure that the input queue really can distinguish Ctrl-T from Ctrl-Shift-T, and also between e.g. Tab and Ctrl-I 2. Getting GUI-based frontends to correctly insert input queue keypresses 3. Using libtermkey or similar, to recognise keypresses on terminals I'm actually away until Tuesday now, but when I get back I'll take a further look into things, mostly in this order. Though, I forsee there's probably scope for some parallelising between other developers, if someone else manages to make some headway into one of the bits in the meantime. -- Paul "LeoNerd" Evans leon...@leonerd.org.uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/
signature.asc
Description: Digital signature