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:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=pPlaulaDMFg01w8T5aXRmrJ6+YagU vSl392terwbZKPSYHwjnmf0KYEWpW9BWC7ehFeKeQofb0+oQUb8t3tu7TrAN1emN o1HRQ5/Hhr26rVNE3ymoca4wAZGHIdBMjcRReNiT7rdN920GD7T0b5dn7xneEkx/ um6VlucABiGikA= 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:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=wwn8dDgc2vvmTGO4WGWBgl1ZO/U=; b=tH+ 5wq4MXRuxM/9+38fnbzPxYQ6eGsZd992+qrNa5Wp36h3JuQQpCDW1Y5AD79qXprJ qKKcV+vyE2fKUXYFWmcewg7zaPgzKcpk++F/XMrjBBRyO8IFA4mjA5a3fpCiu+US dj5D8ViznAHm0o4Hi7JG1VqJc/OStqG7YddBppUg= 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=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f46.google.com X-Received: by 10.55.40.132 with SMTP id o4mr5070936qko.61.1432210431250; Thu, 21 May 2015 05:13:51 -0700 (PDT) MIME-Version: 1.0 From: Armen Michaeli Date: Thu, 21 May 2015 14:13:30 +0200 Message-ID: Subject: stock vim (7.4.729-1) is not eager to initially draw the file buffer To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Hi all, I have discovered recently (i cannot tell exactly when I noticed) that my Cygwin vim 7.4.729-1, as used with mintty 1.2-beta1-1, does not immediately draw opened file buffer with syntax highlighting on. I have minimized the error by completely emptying my ~/.vimrc and making sure there nothing else but that script that is sourced by vim on start. The only contents of that file are: syntax on Removing this command makes vim redraw a "plain text" buffer of an opened file, but works because it redraws immediately, just as one is used to. "syntax on" in ~/.vimrc however, makes vim just clear the screen with the name of the file at the bottom and no redrawing even if I type something, like ':' and a command - everything appears up to a minute later. It is not a loop of anything, because I found out that by resizing/maximizing/restoring the mintty window where vim is, brings about a redraw once in a while eventually settling it on the screen. I start to feel there is something wrong with the underlying termcap logic, but the shell works fine for example, and oddly enough vim exhibits the same bad behavior when used in an xterm instead of mintty. I am at loss of what to try. The same setup (~/.vimrc) works fine on Linuxes, especially of course if it just contains "syntax on". What can I try to debug this? Thank you. -- 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