ssh - Changing Vim Cursor in MobaXTerm -


i updated mobaxterm 7.7 mobaxterm 8.1 on windows machine ssh , x11 needs.

since doing that, vim cursors have stopped changing when enter different modes (i.e. insert mode) -- cursor block cursor. additionally, noticed if change default terminal cursor setting in mobaxterm, console cursor remains block cursor regardless (a possible bug?).

in past, added following lines .vimrc file address cursor shapes, since updating mobaxterm 8.1, no longer works.

let &t_ti.="\e[1 q" let &t_si.="\e[3 q" let &t_ei.="\e[1 q" let &t_te.="\e[0 q" 

i'm curious causing this.

after doing research, found following line in mobaxterm 8.0 changelog:

improvement: embedded terminal based on plain putty engine 

if recall correctly, have limited ability change cursors within putty environment. mean can no longer change vim cursors while using mobaxterm? alternatively, there .vimrc command don't know about? bug or intended?

thanks!

none of putty's cursor-related control sequences end "q". sounds if mobaxterm's developers not want bother applying patch.

checking current putty source (0.65), has (as expected) "limited" ability change cursor's appearance. handles these escape sequences when sco/ansi feature enabled:

  • \e[=2c (block cursor)
  • \e[=1c (normal cursor)
  • \e[0c (hidden cursor)
  • \e[=x;yc (draws cursor scan lines x y)

also, cursor can changed to/from block cursor (for normal "vt220" mode) using \e[?34h , \e[?34l.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -