Re: Improve vim's keyboard input subsystem

2008-06-09 Fir de Conversatie Paul LeoNerd Evans
On Mon, 09 Jun 2008 17:41:00 +0200 Bram Moolenaar [EMAIL PROTECTED] wrote: In that case, I'd like to hear your suggestion on how I may use combinations of Shift/Ctrl/Alt with keypresses in a normal vim. Nothing special, most of them can be recognized already. Especially if you are using

Re: Improve vim's keyboard input subsystem

2008-06-09 Fir de Conversatie Paul LeoNerd Evans
On Mon, 09 Jun 2008 21:04:51 +0200 Bram Moolenaar [EMAIL PROTECTED] wrote: No, because only a few terminals send these codes. Instead, add the entries in the termcap/terminfo. That might break other programs though. You can also use a Vim script to set them. Or a shell wrapper around Vim.

Re: Improve vim's keyboard input subsystem

2008-05-02 Fir de Conversatie Paul LeoNerd Evans
On Fri, Apr 18, 2008 at 02:02:37AM +0200, Bram Moolenaar wrote: The idea of termcap/terminfo is that you don't force terminals to send a specific escape sequence and don't force applications to accept a certain sequence. You make a table that specifies it, so that you can use any terminal

Re: Improve vim's keyboard input subsystem

2008-05-02 Fir de Conversatie Paul LeoNerd Evans
On Fri, Apr 18, 2008 at 10:48:48AM -0700, Gary Johnson wrote: I believe the idea of terminfo is to have symbols for keys' functions, not how you pressed them, i.e., to separate function from mechanism. Type the ; key, getch() returns ';'. Hold the Shift key and type the ; key, getch()

Re: Improve vim's keyboard input subsystem

2008-05-02 Fir de Conversatie Bram Moolenaar
Paul LeoNerd Evans wrote: On Fri, Apr 18, 2008 at 02:02:37AM +0200, Bram Moolenaar wrote: The idea of termcap/terminfo is that you don't force terminals to send a specific escape sequence and don't force applications to accept a certain sequence. You make a table that specifies it, so

Re: Improve vim's keyboard input subsystem

2008-04-18 Fir de Conversatie Paul LeoNerd Evans
On Fri, Apr 18, 2008 at 11:39:22AM -0400, Charles E Campbell Jr wrote: You should bring up anything about xterm's termcap/terminfo descriptors to Thomas Dickey. Since he wrote his own vi emulator, I don't think he hangs out in vims' groups; try using email to NOdickeySPAM AT

Re: Improve vim's keyboard input subsystem

2008-04-18 Fir de Conversatie Gary Johnson
On 2008-04-18, Paul LeoNerd Evans [EMAIL PROTECTED] wrote: On Thu, Apr 17, 2008 at 06:20:02PM -0700, Gary Johnson wrote: On 2008-04-17, Paul LeoNerd Evans [EMAIL PROTECTED] wrote: Besides which, it was my understanding that terminfo/termcap really don't have very much to say about

Re: Improve vim's keyboard input subsystem

2008-04-17 Fir de Conversatie Bram Moolenaar
Paul Evans wrote: Vim copes poorly with a variety of different keyboard inputs. [...] Where does termcap/terminfo fit into your ideas? -- Apologies for taking up the bandwidth with the apology. Anything else I can apologise for .. er no can't think of anything, sorry about that.

Re: Improve vim's keyboard input subsystem

2008-04-17 Fir de Conversatie Paul LeoNerd Evans
On Thu, Apr 17, 2008 at 09:16:46PM +0200, Bram Moolenaar wrote: Vim copes poorly with a variety of different keyboard inputs. [...] Where does termcap/terminfo fit into your ideas? If libtermkey fails to recognise what comes in as valid CSIs, SS3s or anything else it might recognise, it

Re: Improve vim's keyboard input subsystem

2008-04-17 Fir de Conversatie Paul LeoNerd Evans
On Thu, Apr 17, 2008 at 08:25:56PM +0100, Paul LeoNerd Evans wrote: On Thu, Apr 17, 2008 at 09:16:46PM +0200, Bram Moolenaar wrote: Vim copes poorly with a variety of different keyboard inputs. [...] Where does termcap/terminfo fit into your ideas? If libtermkey fails to recognise

Re: Improve vim's keyboard input subsystem

2008-04-17 Fir de Conversatie Nikolai Weibull
On Thu, Apr 17, 2008 at 12:25 AM, Paul LeoNerd Evans [EMAIL PROTECTED] wrote: It's also future-proof. If, in 10 years time when we all have pressure-sensitive keys, I type enter or ENTER by hitting the keys harder, and xterm sends By which time we'll all have flying cars.

Re: Improve vim's keyboard input subsystem

2008-04-17 Fir de Conversatie Tony Mechelynck
On 17/04/08 22:15, Nikolai Weibull wrote: On Thu, Apr 17, 2008 at 12:25 AM, Paul LeoNerd Evans [EMAIL PROTECTED] wrote: It's also future-proof. If, in 10 years time when we all have pressure-sensitive keys, I type enter or ENTER by hitting the keys harder, and xterm sends By which

Re: Improve vim's keyboard input subsystem

2008-04-17 Fir de Conversatie Bram Moolenaar
Paul Evans wrote: On Thu, Apr 17, 2008 at 08:25:56PM +0100, Paul LeoNerd Evans wrote: On Thu, Apr 17, 2008 at 09:16:46PM +0200, Bram Moolenaar wrote: Vim copes poorly with a variety of different keyboard inputs. [...] Where does termcap/terminfo fit into your ideas? If