This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console
On 13 August 2010 14:22, JOHNER Jean 066030 wrote:
> Hello,
>
> Please do the following:
> 1/ Start a standard cmd console
> Â Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with
> Â vim -u NONE file1
>
> ÂResult: file1 opens with a block cursor. If insert mode is activated,
> the cursor changes to underscore (nice)
>
> 2/ Launch cygwin.bat
> Â Launch cygwin Vim with
> Â vim -u NONE file1
>
> ÂResult: 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