On 2020-11-02, Charles Campbell wrote:
> Hello!
> 
> Recently, as in the last year or so, I've been getting unwanted escape
> sequences; I've tracked down the issue to a simple operation:
> 
> vim -u NONE -U NONE
> :q
> 
> and I get left with <esc>>4;m<esc>>4;2m.  My system uses linux (Scientific
> Linux 7.9), xterm-256color, and terminfo. In using infotmp xterm-256color I do
> not find any escape sequences using that format. There are three that are
> close:
> 
>     is2=\E[!p\E[?3;4l\E[4l\E>
>     rmkx=\E[?1l\E>
>     rs2=\E[!p\E[?3;4l\E[4l\E>
> 
> (ie. these are the only places in the infocmp output that show \E> anywhere).
> 
> These unwanted escape sequences are normally just annoying, but they have
> bothered some scripts I've written (bothered = as in caused to fail).

Those would be the modifyOtherKeys escape sequences supported by
some terminals including xterm.  You can read about them here:

    :help modifyOtherKeys

or with

    :helpgrep \cmodifyotherkeys
    :helpgrep t_TI

If your terminal doesn't support them, you should be able to
suppress Vim's use of them with these:

    :set t_TI=
    :set t_TE=

Not all of the terminals I use support them, but xterm version 344
does.

Regards,
Gary

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20201103010234.GA18294%40phoenix.

Raspunde prin e-mail lui