delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/13/12:26:29

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: <AANLkTinSHBLKOpudiMat9sCostkS7qTmUT-6XW4XOL+m@mail.gmail.com>
Subject: Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019