X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=LDYk oAZCrRgd9MByC/ETPjuTfVFLk7YAubS1S+1Gd4HakNHW7itnsFhjoBQBiZQ/sKWG eK5V12nn/paYKMbEDck6FdkL5vAd7/F4rcmuNOXrz1v3AP7zT6SgZv/kiQT1ffIm +vUrkv24LtgbWwRkUDYFvFsyuv/4rTWr1d03hgA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=B5ogAt2Ztk kEzfBQ07sAG4DryzE=; b=m8KUgReLfVbmYFKWWvPcdOX4G++3/w8cMIk6KQgolM XMSsSU3KAFhJ5Lq14sDvCSrSTHXYghuPr4Y++wr+x3I0p7wyYGn4HtxA29RbeNi/ jZHtDvI4zKd6JEg0bpDKKfb6SlOUpBHIKNNpeo2kHOdiIpFizXCKJKGtXEWidp5t 0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail.spocom.com Date: Tue, 4 Aug 2015 10:58:12 -0700 From: Gary Johnson To: cygwin AT cygwin DOT com Subject: Re: 2.2.0: possible bug with Vim 7.4.764 and syntax highlight Message-ID: <20150804175812.GB31041@phoenix> Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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