Bug#741400: Reproduction informations

Celelibi celelibi at gmail.com
Thu Mar 13 20:03:14 UTC 2014


Here are a few step to reproduce.

1) Install xterm and screen if they're not installed. And customize
screen's terminfo.
I join the source of my modified terminfo file. And just run:
$ tic screeninfo.src

2) Make sure xterm and screen terminfo both have the same entry for
the key kPRV. For this, run the following command inside screen and
directly in xterm.
$ infocmp -x1 | grep kPRV
        kPRV=\E[5;2~,

The result should be the same in both case.

3) Make sure Shift + PageUp generate the right escape sequence. For
this, run vim and press Ctrl+V in Insert mode and then press Shift +
PageUp. (The PageUp on the numpad.)
This should show ^[[5;2~ both when vim is run in xterm and in screen.

4) Make sure the bug is there: In vim, press Ctrl+K in Insert mode and
then Shift+PageUp.
This should show <S-PageUp> when vim run in xterm. And show [5;2~ in screen.

5) Bonus: try different combination of values of TERM environment
variable and contents of terminfo file. The correct behavior only
happen when $TERM=xterm.


Celelibi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screeninfo.src
Type: application/x-wais-source
Size: 1360 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20140313/445cdd46/attachment.src>


More information about the pkg-vim-maintainers mailing list