On 2/21/09, Bram Moolenaar <[email protected]> wrote:
>
> Paul B. Mahol wrote:
>
>> Tony Mechelynck wrote:
>> > On 21/02/09 06:30, Bram Moolenaar wrote:
>> > >
>> > > Ben Fritz wrote:
>> > >
>> > >> Saw this interesting post to a tip on the wiki:
>> > >>
>> > >> http://vim.wikia.com/index.php?title=Fix_broken_arrow_key_navigation_in_insert_mode&diff=22116&oldid=prev
>> > >>
>> > >> Apparently this xterm bug report:
>> > >>
>> > >> http://bugs.gentoo.org/212546
>> > >>
>> > >> has been blamed on Vim, but for whatever reason the poster does not
>> > >> expect useful help from this list.
>> > >>
>> > >> Just making sure people were aware of it here.
>> > >
>> > > I'm missing the part where it says what exactly it is that Vim would
>> > > be
>> > > doing wrong. I don't see the problem anyway.
>> > >
>> >
>> > A comment to that bug report says the problem disappears when invoking
>> > "xterm -kt vt220". From what I can tell, the problem seems to be related
>> > with some gentoo-specific "bugfixes" (sic) to the xterm code and/or
>> > configuration.
>>
>> Wrong. Same heppens here on FreeBSD, xterm version X.Org 6.8.99.903
>> (238)
>> Disabling tcap-query makes vim happy.
>>
>> I think it is vim bug because when starting vim intro message appears
>> and quickly dissapears.
>
> That's normal. It happens when the assumption Vim makes about the
> number of colors supported is corrected when the termcap-query results
> comes in. Vim needs to redraw the screen then. It also means you might
> get wrong colors when you disable termcap-query.
Maybe it really is normal, but I like intro messages very much :)
>
> In the situation that it doesn't work properly, what is the output of
> ":set termcap"?
Here it is:
--- Terminal codes ---
t_AB=^[[4%p1%dm t_cd=^[[J t_CV=
t_dl=^[[M t_ks=^[[?1h^[= t_mr=^[[7m t_RV=^[[>c
t_sr=^[M t_us=^[[4m t_SI=
t_AF=^[[3%p1%dm t_ce=^[[K t_ut=y t_fs=^G
t_le=^H t_ms=y t_Sb=
t_ts=^[]2; t_vb= t_EI=
t_AL=^[[%p1%dL t_cl=^[[H^[[2J t_da= t_IE=^G
t_mb= t_nd=^[[C t_Sf=
t_te= t_ve=^[[?25h t_xs=
t_al=^[[L t_Co=256 t_db=
t_IS=^[]1; t_md=^[[1m t_op=^[[39;49m
t_se=^[[27m t_ti= t_vi=^[[?25l t_ZH=^[[7m
t_bc= t_CS= t_DL=^[[%p1%dM
t_ke=^[[?1l^[> t_me=^[[m t_RI=^[[%p1%dC t_so=^[[7m
t_ue=^[[m t_vs= t_ZR=^[[m
t_cm=^[[%i%p1%d;%p2%dH
t_cs=^[[%i%p1%d;%p2%dr
t_WP=^[[3;%p1%d;%p2%dt
t_WS=^[[8;%p1%d;%p2%dt
--- Terminal keys ---
t_#4 <S-Left> ^[OD t_K4 <kEnd> ^[OF t_k1 <F1>
^[OP t_k6 <F6> ^[[17;*~ t_kP <PageUp> ^[[5;*~
<xF2> ^[O*Q <xLeft> ^[[1;*D
t_%1 <Help> ^[[28;*~ t_K4 <kEnd> ^[[4;*~ t_k1 <F1>
^[[11;*~ t_k7 <F7> ^[[18;*~ t_kb <BS> ^H
<xF3> ^[O*R <xRight> ^[[1;*C
t_%i <S-Right> ^[OC t_K5 <kPageDown> ^[[6~ t_k2 <F2>
^[OQ t_k8 <F8> ^[[19;*~ t_kd <Down> ^[O*B
<xF4> ^[O*S <kDel> ^[[3;*~
t...@7 <End> ^[[1;*F t_K6 <kPlus> ^[O*k t_k2 <F2>
^[[12;*~ t_k9 <F9> ^[[20;*~ t_kh <Home> ^[[1;*H
<xEnd> ^[O*F
t_F1 <F11> ^[[23;*~ t_K7 <kMinus> ^[O*m t_k3 <F3>
^[OR t_k; <F10> ^[[21;*~ p> ^[O*A <zHome>
^[[7;*~
t_K1 <kHome> ^[[1;*~ t_KA <kEnter> ^[O*M t_k4 <F4>
^[[14;*~ t_kI <Insert> ^[[2;*~ <Mouse> ^[[M
<xUp> ^[[1;*A
t_K3 <kPageUp> ^[[5~ t_KB <kPoint> ^[O*n t_k5 <F5>
^[[15;*~ t_kN <PageDown> ^[[6;*~ <xF1> ^[O*P
<xDown> ^[[1;*B
--
Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---