X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1299EF3181B10F479D85C328013285240331C4E4@THEZE.intra.cea.fr>
References: <1299EF3181B10F479D85C328013285240331C4E4@THEZE.intra.cea.fr>
Date: Sat, 14 Aug 2010 18:30:50 +0100
Message-ID: <AANLkTim3kBjw01DYFLLa6MjBa=7A5XMp6h2y0w=vmTk9@mail.gmail.com>
Subject: Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 13 August 2010 22:30, JOHNER Jean 066030 wrote:
>> No, but I'm sure a patch implementing the DECSCUSR control sequence
>> using SetConsoleCursorInfo() would be welcome. (Copyright assignment
>> required.)
>
> I guess this patch is not in Vim code (which is able to do the job in a
> normal cmd console window) but rather in cygwin.dll which reconfigures
> the console.

Correct. Theoretically this could be patched into Cygwin vim, but the
whole point of Cygwin is that Unix/Linux programs can be compiled and
run (nearly) unmodified, so that's not going to happen.

> Could you implement such a patch yourself?

No. I don't maintain the console and mintty keeps me busy enough already.

Andy

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

