I was, just for fun, writing a vt52 terminal emulator, and one of the
programs I tested was vim. I discovered that vim has a built-in terminal
description of the vt52 which has several bugs:

>    {(int)KS_AL,    IF_EB("\033T", ESC_STR "T")},
>    {(int)KS_DL,    IF_EB("\033U", ESC_STR "U")},
>...
>    {(int)KS_ME,    IF_EB("\033SO", ESC_STR "SO")},
>    {(int)KS_MR,    IF_EB("\033S2", ESC_STR "S2")},

These don't appear to be valid codes, as far as I can tell from looking
at other vt52 terminal descriptions and the manual available from
classiccmp.org. They're not in the Atari extensions either (which use a
different set of codes under an ifdef anyway).

>    {(int)KS_CM,    IF_EB("\033Y%+ %+ ", ESC_STR "Y%+ %+ ")},

This is a termcap-only string, with no terminfo equivalent (which should
be "\033Y%p1%' '%+%c%p2%' '%+%c") provided.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui