Wednesday, March 30, 2016

Re: junk characters printed when I type ESC

Am 2016-03-30 22:51, schrieb Sergei G:
> I attached screenshot of the kind of junk characters printed on the
> 1st line at the beginning of the line.
>
> Step to reproduce: press ESC in Insert mode.
>
> These characters are display only. If I get VIM to refresh (Ctrl-Z to
> background and back to foreground) characters will be gone.
>
>
> My configuration:
>
> Debian 8.2
> VIM 7.4, included patches 1-488, 576.
>
> I narrowed down the issue to the following part of vimrc
> configuration. While the issue is fixed I have a few questions.
>
> I use ssh a lot and I can be using a different terminal application.
> Every terminal app pretends to be xterm, but every terminal is
> slightly different. For example we have putty, Tera Term, Gnome's
> Terminal, cygwin, xterm itself. What's a better way to tweak vim
> configuration to a specific terminal. I created MYHOST variable that
> points to cygwin in cygwin case.
>
> Shall I tell each terminal to report its name (TERM variable) at a
> risk of having a lot of other software totally confused?

It looks like this setting is causing this:
> let &t_EI.="\e[1 q"

Why do you append to the existing t_EI setting? And if you comment out
this
section, does it still happen?

Best,
Christian

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment