:Nread errors
I am having some trouble with Netrw in Vim 7. I had been using it to ftp to a web server and update files. I recently began receiving the following error(s) when running :Nread ftp://[EMAIL PROTECTED]/public_html/ ftp://[EMAIL PROTECTED]/public_html/ [not edited] --no lines in buffer-- If I try to edit the a file directly rather than attempting to navigate a directory, I get the following errors: ***netrw*** ?Invalid command. ***netrw*** file /tmp/v325706/11.html not readable I have Netrw v98 and have tried upgrading my version. I downloaded netrw.vba.gz script version 104, and after removing all instances of 'anything' netrw*, I sourced the vimball. Unfortunately after installation I still show v98 and am still unable to :Nread ftp://... Any suggestions on what to check or how to proceed would be greatly appreciated as I love this tool and really miss the convenience Netrw provides. Thanks, Kevin
Re: :Nread errors
My OS is Mac OS X 10.4.8, so yes, it is Unix/Linux based. After I sent my original e-mail, I did think to check where $VIMRUNTIME was located. I removed all instances of anything vim* related. I then attempted the :Nread command and got what I expected... E492: Not an editor command: Nread... I then :so % the vimball and checked the runtime location for any netrw files. None were there. Is there a way to make direct the installation where to install? Is there a way to see where the source is installing? or a manual installation? Thanks again, Kevin On Dec 5, 2006, at 10:09 AM, Charles E Campbell Jr wrote: striker wrote: I am having some trouble with Netrw in Vim 7. I had been using it to ftp to a web server and update files. I recently began receiving the following error(s) when running :Nread ftp://[EMAIL PROTECTED]/public_html/ ftp://[EMAIL PROTECTED]/public_html/ [not edited] --no lines in buffer-- If I try to edit the a file directly rather than attempting to navigate a directory, I get the following errors: ***netrw*** ?Invalid command. ***netrw*** file /tmp/v325706/11.html not readable I have Netrw v98 and have tried upgrading my version. I downloaded netrw.vba.gz script version 104, and after removing all instances of 'anything' netrw*, I sourced the vimball. Unfortunately after installation I still show v98 and am still unable to :Nread ftp://... Any suggestions on what to check or how to proceed would be greatly appreciated as I love this tool and really miss the convenience Netrw provides. Well, netrw v98 has to be coming from somewhere! Are you using Windows, Linux, or what? The /tmp/... file looks like a linux location, so I'll use that guess. Try cd /usr/local/share/vim/vim70 ls */netrw* and see if any files show up. If your vim 7.0 installation isn't there... vim :echo $VIMRUNTIME should show where its hiding (this should work under Windows, too). Please remove any and all netrw files from that location. Regards, Chip Campbell
Re: :Nread errors
striker wrote: My OS is Mac OS X 10.4.8, so yes, it is Unix/Linux based. After I sent my original e-mail, I did think to check where $VIMRUNTIME was located. I removed all instances of anything vim* related. I then attempted the :Nread command and got what I expected... E492: Not an editor command: Nread... I then :so % the vimball and checked the runtime location for any netrw files. None were there. Is there a way to make direct the installation where to install? Is there a way to see where the source is installing? or a manual installation? Do you have an up-to-date vimball? There's the same sort of issue with vimball as netrw; you'll need to remove all vestiges of the vim 7.0 vimball before installing the new one. However, vimball comes as a gzipped tarball so as to avoid requiring vimball to install vimball. You can get the latest version from my website (http://mysite.verizon.net/astronaut/index.html#VimBall). You may install vimball in your distribution directories or in your $HOME/.vim/ directories. Then vim netrw.vba.gz :so % :q should install netrw in your $HOME/.vim/ directories. After performing the steps above, you can cd $HOME/.vim ls */netrw*.* and you should see a number of netrw plugin components. vim . should open netrw and show v107l (if you've gotten the latest netrw from my website). Regards, Chip Campbell