public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gary Johnson <garyjohn@spocom.com>
To: cygwin@cygwin.com
Subject: Re: 2.2.0: possible bug with Vim 7.4.764 and syntax highlight
Date: Tue, 04 Aug 2015 17:58:00 -0000	[thread overview]
Message-ID: <20150804175812.GB31041@phoenix> (raw)
In-Reply-To: <CAD-f6FqzuHU286zQ2ySE6A2CbJbqX5MGujnycNx5ptqse0wUSA@mail.gmail.com>

On 2015-08-04, Xealot wrote:
> Hello!
> There seems to be a possible bug with cygwin 2.2.0 in xterm terminal
> mode (default) and using vim 7.4.764 with syntax highlighting enabled.
> 
> To verify and reproduce:
> echo "syntax on" >> ~/.vimrc
> vim -E
> 
> The prompt at the bottom should now show an escape sequence:
> Entering Ex mode.  Type "visual" to go to Normal mode.
> :]11;rgb:0000/0000/0000\
> 
> This causes issues when using vim as normal in this configuration
> because the inserted escape sequence seems to replace the first
> character in a given document with a 'g' when opened.
> 
> The problem goes away when changing terminal type to vt100 or vt220 or
> if you downgrade vim to revision 752 available on some mirrors through
> the setup.

There is at least one bug in that version having to do with the
automatic querying of the terminal's background color introduced
with patch 7.4.757.  There have been two subsequent patches that
have fixed all known issues with that feature, 7.4.766 and 7.4.770.

Updating to version 7.4.770 or later should fix the problem.

Regards,
Gary


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2015-08-04 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04  8:01 Xealot
2015-08-04 17:58 ` Gary Johnson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150804175812.GB31041@phoenix \
    --to=garyjohn@spocom.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).