Re: Support for termcap %e and %c

2014-03-19 Fir de Conversatie cptstubing
You can still make use of the termcap values by calling system('tput kPRV') rather than hard coding the escapes. This would be a little better if vim exposed tgetstr and friends to avoid the overhead of invoking tput. -- -- You received this message from the vim_dev maillist. Do not

Re: Support for termcap %e and %c

2014-03-19 Fir de Conversatie celelibi
Le mercredi 19 mars 2014 13:30:13 UTC+1, cptstubing a écrit : You can still make use of the termcap values by calling system('tput kPRV') rather than hard coding the escapes. This would be a little better if vim exposed tgetstr and friends to avoid the overhead of invoking tput. Oh, yes,

Re: Support for termcap %e and %c

2014-03-19 Fir de Conversatie Gary Johnson
On 2014-03-19, celelibi wrote: Le mercredi 19 mars 2014 13:30:13 UTC+1, cptstubing a écrit : You can still make use of the termcap values by calling system('tput kPRV') rather than hard coding the escapes. This would be a little better if vim exposed tgetstr and friends to avoid the

Re: Support for termcap %e and %c

2014-03-18 Fir de Conversatie Bram Moolenaar
Celelibi wrote: Since the terminal emulaters do more than what termcap/terminfo support, Vim has some extensions. See :help xterm-modifier-keys. Yes but vim doesn't even fully support what IS in the terminfo. I added kPRV=^[[5;2~ in the terminfo file for screen. And vim just ignore it.

Re: Support for termcap %e and %c

2014-03-16 Fir de Conversatie Bram Moolenaar
Celelibi wrote: What makes you think that %e and %c are the shifted next/previous page keys? The termcap manpage says: kN Key for next page kP Key for previous page %c shifted next key %e shifted previous key next key and next page are

Re: Support for termcap %e and %c

2014-03-16 Fir de Conversatie celelibi
Le dimanche 16 mars 2014 15:09:38 UTC+1, Bram Moolenaar a écrit : Celelibi wrote: What makes you think that %e and %c are the shifted next/previous page keys? The termcap manpage says: kN Key for next page kP Key for previous page

Re: Support for termcap %e and %c

2014-03-15 Fir de Conversatie LCD 47
On 14 March 2014, celel...@gmail.com wrote: Le vendredi 14 mars 2014 21:13:09 UTC+1, LCD 47 a écrit : [...] Your shell is probably linked against readline. Readline interfering with curses is not unheard of. :) Ok. I just re-did my tests by running: xterm -e vim xterm -e screen vim

Re: Support for termcap %e and %c

2014-03-15 Fir de Conversatie Bram Moolenaar
Celelibi wrote: I reported a bug in the debian BTS, but found that it also apply to upstream vim. Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400 In summary, it looks like vim do not support termcaps %e nor %c (corresponding to terminfos kPRV and kNXT). They're

Re: Support for termcap %e and %c

2014-03-15 Fir de Conversatie celelibi
Le samedi 15 mars 2014 08:15:34 UTC+1, LCD 47 a écrit : On 14 March 2014, celel...@gmail.com wrote: Le vendredi 14 mars 2014 21:13:09 UTC+1, LCD 47 a écrit : [...] Your shell is probably linked against readline. Readline interfering with curses is not unheard of. :)

Re: Support for termcap %e and %c

2014-03-15 Fir de Conversatie celelibi
Le samedi 15 mars 2014 13:55:22 UTC+1, Bram Moolenaar a écrit : Celelibi wrote: I reported a bug in the debian BTS, but found that it also apply to upstream vim. Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400 In summary, it looks like vim do not

Re: Support for termcap %e and %c

2014-03-14 Fir de Conversatie LCD 47
On 13 March 2014, celel...@gmail.com wrote: Hello, I reported a bug in the debian BTS, but found that it also apply to upstream vim. Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400 In summary, it looks like vim do not support termcaps %e nor %c (corresponding to

Re: Support for termcap %e and %c

2014-03-14 Fir de Conversatie Celelibi
2014-03-14 17:58 UTC+01:00, LCD 47 lcd...@gmail.com: On 14 March 2014, celel...@gmail.com wrote: Le vendredi 14 mars 2014 07:49:31 UTC+1, LCD 47 a écrit : [...] Do you still have any questions after reading the first two sections in term.txt: :help startup-terminal :help

Re: Support for termcap %e and %c

2014-03-14 Fir de Conversatie celelibi
Le vendredi 14 mars 2014 21:13:09 UTC+1, LCD 47 a écrit : On 14 March 2014, Celelibi celel...@gmail.com wrote: 2014-03-14 17:58 UTC+01:00, LCD 47 lcd...@gmail.com: On 14 March 2014, celel...@gmail.com wrote: Le vendredi 14 mars 2014 07:49:31 UTC+1, LCD 47 a écrit : [...]

Support for termcap %e and %c

2014-03-13 Fir de Conversatie celelibi
Hello, I reported a bug in the debian BTS, but found that it also apply to upstream vim. Here it is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741400 In summary, it looks like vim do not support termcaps %e nor %c (corresponding to terminfos kPRV and kNXT). They're supposed to produce