Re: Setting up netrw
Suresh Govindachar wrote: Close ... From inside gvim, I tried both of the following: :Nread scp://111.11.11.111/home/suresh/examples/mcf/vmul/manager/manager_vmul.c and :sf scp://111.11.11.111/home/suresh/examples/mcf/vmul/manager/manager_vmul.c But the system command they each resulted in was: c:/opt/putty/pscp.exe -l user -pw password -q -batch '111.11.11.111:home/suresh/examples/mcf/vmul/manager/manager_vmul.c' VID62.tmp.c The preceding system command doesn't work. Two changes need to be made to make it work: 1) Remove the single quotes '' [unknown host with ''] 2) Add a / after the : in :home/suresh [file does not exist without /] I downloaded all sources and built gvim yesterday. Try using the latest netrw, which is currently up to v107b. Its been a bit smarter about quoting; and its quoting can be overridden by specifying g:netrw_shq in one's .vimrc. Regards, Chip Campbell
Re: Setting up netrw
Suresh Govindachar wrote: The version of netrw in the vim sources, on vim.org and on your web-site all differ. Since netrw is part of the vim runtime- sources, could you please coordinate your releases with Bram? They are already quite coordinated. Development version appears at my website, an interim release appears at vim.sf.net, and the interim release is also sent on to Bram. Also, there is a note on your web-site about needing to update vimball. Is vimball part of vim runtime-sources? Yes, although it, too, undergoes the same development process. If you would prefer people use netrw under vimfiles/ rather than under the main vim directory, please have Bram remove netrw from the runtime-distribution. I have no such preference. However, the runtime-distribution release will interfere with the development release. This problem will be addressed whenever the next vim 7.1 appears. If you don't wish to use the development version of netrw (or vimball), then feel free not to.
Setting up netrw
Hello, At present, I copy remote directories using the following one-line command: c:\opt\putty\PSCP.EXE -r -v -l the_user -pw the_password 111.11.11.111:/home/suresh/examples/mcf/vmul . How do I set-up netrw to edit a file such as 111.11.11.111:/home/suresh/examples/mcf/vmul/the_file.c ? And what command do I use inside gvim? Note: I am on Windows XP, remote machine is linux. Pscp.exe is not in my path. Thanks, --Suresh
Re: Setting up netrw
On 10/9/06, Suresh Govindachar [EMAIL PROTECTED] wrote: Hello, At present, I copy remote directories using the following one-line command: c:\opt\putty\PSCP.EXE -r -v -l the_user -pw the_password 111.11.11.111:/home/suresh/examples/mcf/vmul . How do I set-up netrw to edit a file such as 111.11.11.111:/home/suresh/examples/mcf/vmul/the_file.c ? And what command do I use inside gvim? Note: I am on Windows XP, remote machine is linux. Pscp.exe is not in my path. I think you do let g:netrw_scp_cmd=c:/path/to/pscp.exe -l user -pw password -q -batch in vimrc, then vim scp://hostname/path/to/file See :help netrw-pscp Yakov
RE: Setting up netrw
Yakov Lerner Sent: Monday, October 09, 2006 12:32 PM On 10/9/06, Suresh Govindachar [EMAIL PROTECTED] wrote: Hello, At present, I copy remote directories using the following one-line command: c:\opt\putty\PSCP.EXE -r -v -l the_user -pw the_password 111.11.11.111:/home/suresh/examples/mcf/vmul . How do I set-up netrw to edit a file such as 111.11.11.111:/home/suresh/examples/mcf/vmul/the_file.c ? And what command do I use inside gvim? Note: I am on Windows XP, remote machine is linux. Pscp.exe is not in my path. I think you do let g:netrw_scp_cmd=c:/path/to/pscp.exe -l user -pw password -q -batch in vimrc, then vim scp://hostname/path/to/file See :help netrw-pscp Close ... From inside gvim, I tried both of the following: :Nread scp://111.11.11.111/home/suresh/examples/mcf/vmul/manager/manager_vmul.c and :sf scp://111.11.11.111/home/suresh/examples/mcf/vmul/manager/manager_vmul.c But the system command they each resulted in was: c:/opt/putty/pscp.exe -l user -pw password -q -batch '111.11.11.111:home/suresh/examples/mcf/vmul/manager/manager_vmul.c' VID62.tmp.c The preceding system command doesn't work. Two changes need to be made to make it work: 1) Remove the single quotes '' [unknown host with ''] 2) Add a / after the : in :home/suresh [file does not exist without /] I downloaded all sources and built gvim yesterday. --Suresh