I just installed Vim 7.3e BETA from the Cream site and I think I've
found a bug in netrw.

I start gvim by double-clicking the Vim icon on my desktop.  Then I
execute

    :e sftp://[email protected]/.vimrc

A command window pops up containing

    C:\WINDOWS\system32\cmd.exe /c sftp "[email protected]:.vimrc" 
C:\DOCUME~1\USERNA~1\LOCALS~1\Temp\VIA12.vimrc
    Connecting to server.com...
    [email protected]'s password:

When I enter my password, the following appears in that same command
window.

    Fetching /xc/u/g/username/.vimrc to
    C:DOCUME~1USERNA~1LOCALS~1TempVIA12.vimrc
    Couldn't open local file "C:DOCUME~1USERNA~1LOCALS~1TempVIA12.vimrc"
    for writing
    : No such file or directory
    shell returned 1
    Hit any key to close this window...

Vim's buffer is empty.

In addition to that, I see two potential problems.  One is that
there are no backslashes between directories in the error message.
Another is that netrw is apparently trying to put the temporary file
in a path containing the remote user's name rather than the local
user's name.

I am running this on a Windows XP machine.  The "username" on the
remote system is different from my Windows user name.  I also have
7.3f BETA which I compiled for Cygwin on the same machine and the
same :e command works fine on the Cygwin version.  I am using the
versions of netrw that came with the Vim 7.3 installations.

Regards,
Gary

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui