On 12 Jul 2012, at 17:06, Andrew Long wrote:
>
>
> Begin forwarded message:
>
>> From: "Long, Andrew" <Andrew.Long@VirginMoney.com>
>> Subject: Vim under cygwin
>> Date: 12 July 2012 10:18:32 GMT+01:00
>> To: andrew.long@mac.com
>>
>>
>> 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working
>> $ vim -gS Session.vim
>> cygwin warning:
>> MS-DOS style path detected: C:\winnt\profiles\0126792\vimfiles\plugin
>> Preferred POSIX equivalent is: /home/0126792/vimfiles/plugin
>> CYGWIN environment variable option "nodosfilewarning" turns off this
>> warning.
>> Consult the user's guide for more details about POSIX paths:
>> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>>
>> 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working
>>
>> --
>> Andrew Long IT Specialist
>> Mainframe Management Virgin Money
>> +44 (191) 279 4537 Andrew dot Long at Virgin Money dot com
>>
>> <snip/>
>
> The message above (sometimes) comes out of a fresh XTerm session when I start vim using a saved Session.vim file. I've tried to locate the offending file using egrep on all the .vim files in my vimfiles folder (which has a soft link of '.vim' pointing at it!)also in the Session.vim file, but no matches.
>
> It doesn't seem to cause any real problems, but it's a message I'd like to get rid of. Any suggestions as to how I can find the problem and put it right, please?
Think I might have a clue... As the box is fundamentally a Windows one (running with CYGWIN) I thought I'd configure my home directory so that I could use either the Cygwin version or the native version by using the native window naming conventions (vimfiles, _vimrc, _gvimrc) and then soft-linking them to the UNIX-style names (.vim, .vimrc, .gvimrc). The theory being that WIndows would work using the real names and Cygwin would understand the '.' notation and use that.
However, I never use native Vim on windows so I decided to move back to real Unix-style naming... and since then the warning hasn't appeared.
Regards, Andy
--
Andrew Long
andrew dot long at mac dot com
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Wednesday, October 17, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment