X-Recipient: archive-cygwin AT delorie DOT 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: <1299EF3181B10F479D85C328013285240331C4E3@THEZE.intra.cea.fr> References: <1299EF3181B10F479D85C328013285240331C4E3 AT THEZE DOT intra DOT cea DOT fr> Date: Fri, 13 Aug 2010 17:26:13 +0100 Message-ID: Subject: Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 13 August 2010 14:22, JOHNER Jean 066030 wrote: > Hello, > > Please do the following: > 1/ Start a standard cmd console > =C2=A0 Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with > =C2=A0 vim -u NONE file1 > > =C2=A0Result: file1 opens with a block cursor. If insert mode is activate= d, > the cursor changes to underscore (nice) > > 2/ Launch cygwin.bat > =C2=A0 Launch cygwin Vim with > =C2=A0 vim -u NONE file1 > > =C2=A0Result: file1 is opened with an underscore cursor. No change when > insert mode is activated. > > Is there a way to have mode dependent cursor shape in Cygwin Vim in a > Windows console? No, but I'm sure a patch implementing the DECSCUSR control sequence using SetConsoleCursorInfo() would be welcome. (Copyright assignment required.) http://vt100.net/docs/vt510-rm/DECSCUSR http://msdn.microsoft.com/en-us/library/ms686019.aspx 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