Re: Supporting more key modifiers (was: Re: Dear Bram)

2012-03-30 Fir de Conversatie Tom Sorensen
Ok, I am resurrecting a very old thread here because it keeps coming up time and time again on #vim in Freenode, and Paul still wants this to happen, as do many of us. On Fri, Feb 25, 2011 at 8:43 AM, Bram Moolenaar b...@moolenaar.net wrote: So the problem is that many users expect CTRL-M to

Re: Supporting more key modifiers

2011-04-04 Fir de Conversatie Paul LeoNerd Evans
On Fri, Mar 18, 2011 at 09:15:18PM +1100, Ben Schmidt wrote: A thought occurred to me a couple of days ago: would it be appropriate to actually use CSI as the byte-stream representation? Or something like it. It is a byte-stream representation, right? And it's extensible, right, so it is less

Re: Supporting more key modifiers (was: Re: Dear Bram)

2011-03-18 Fir de Conversatie Philippe Vaucher
As long as the two triplets of keypresses I suggested originally can all be represented uniquely, and without reference to timing information in the Escape vs Alt+ case, then I'm happy with whatever internal implementation makes it happen. The two triplets in question being   Tab  

Re: Supporting more key modifiers

2011-03-18 Fir de Conversatie Ben Schmidt
On 18/03/11 8:38 PM, Philippe Vaucher wrote: As long as the two triplets of keypresses I suggested originally can all be represented uniquely, and without reference to timing information in the Escape vs Alt+ case, then I'm happy with whatever internal implementation makes it happen. The two

Re: Supporting more key modifiers (was: Re: Dear Bram)

2011-03-07 Fir de Conversatie Benjamin R. Haskell
On Mon, 7 Mar 2011, Paul LeoNerd Evans wrote: On Fri, Feb 25, 2011 at 02:43:23PM +0100, Bram Moolenaar wrote: First problem is to actually detect what key was pressed, in most terminal emulators this is not possible. In the GUI we can. Changing terminal emulators to support this and making

Re: Supporting more key modifiers (was: Re: Dear Bram)

2011-03-07 Fir de Conversatie Paul LeoNerd Evans
On Mon, Mar 07, 2011 at 11:24:23AM -0500, Benjamin R. Haskell wrote: Changing terminal emulators is a done task; xterm has supported this since 2008. In fact I asked Thomas Dickey to clarify this for me, and he informs me it's all present and working. Despite its popularity, xterm is not

Re: Supporting more key modifiers

2011-02-26 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: Bram Moolenaar wrote: [snip] Then we need a way to make the extra information available to be used in mappings, without breaking it for users relying on the current way. Some things that are no acceptable: - Have a setting to enable the new way. This will

Re: Supporting more key modifiers

2011-02-25 Fir de Conversatie Ben Schmidt
Another way to extend this might be to switch from a byte queue to a short integer queue. The lower 8-bits would be as it is now; the upper eight bits would encode modifier keys (shift, ctrl, alt, meta, whatever). I think sticking to the byte queue is best. So much in Vim relies on text being