Marius Gedminas wrote:

> On Tue, Aug 29, 2017 at 08:18:59PM +0200, Bram Moolenaar wrote:
> > Hirohito Higashi wrote:
> > 
> > > Hi Bram and list,
> > > 
> > > How to reproduce:
> > > - Run vanilla Vim with specify the 'colorscheme' on terminal
> > >   $ vim -Nu NONE --cmd 'colorscheme desert'
> > > 
> > > Then garbage('?12$p') at the first line. (See the attached file
> > > "garbage_on_vim.png")
> > > 
> > > NOTE:
> > > It doesn't occur if you don't specify 'colorscheme' at .vimrc or --cmd.
> > > I think patch 8.0.1009 is wrong.
> > > 
> > > MY env.
> > > OS: fedora 25
> > > Terminal: GNOME terminal 3.22.1
> > >           (TERM=xterm-256color)
> > > Vim:
> > >   configure option: --enable-gui=gnome2 --enable-terminal 
> > > --enable-fail-if-missing
> > >   version: 8.0.1010
> > 
> > Gnome terminal can't handle a standard xterm escape sequence?
> > The escape sequence is correct, it works fine on any xterm.
> > I verified it correctly gets us the right cursor blink mode.
> > 
> > I don't see this problem in a gnome-terminal on my system:
> > GNOME Terminal 3.20.2
> 
> libvte version is more relevant.  On my system (GNOME Terminal 3.20.2,
> VTE 0.44.2) printf '\033[?12$p' produces garbage on screen instead of
> responding with the expected reply.
> 
> But then again I can't find any trace of DECRQM handling in vte's git
> master, so I'm surprised you don't see this problem.

It is supposed to swallow any escape sequence starting with CSI and
ending with a letter.  Perhaps the "$" causes the problem.
 
> I've filed a vte bug: https://bugzilla.gnome.org/show_bug.cgi?id=787007
> 
> I've little hope of the fix (even if it's made) making its way into
> Linux distros that are used today (e.g. latest upstream VTE is version
> 0.49.1, while latest Ubuntu release is still on 0.44.2).

I'm getting tired of those terminals that say they are xterm while they
are not...

My gnome-terminal reports this version:  <esc>[>1;4402;0c
What does yours say?
Since a real xterm only has a version in the 300 range now, we could
take a version >4000 as Gnome perhaps?

-- 
hundred-and-one symptoms of being an internet addict:
30. Even though you died last week, you've managed to retain OPS on your
    favorite IRC channel.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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