On Jun 30, 12:56 am, Charles Campbell <[email protected]>
wrote:
> Aman Jain wrote:
> > shq is already blank in my gvim, and I am getting the same error.
> > So can you suggest some other alternative?
>
> Read
>
> :help netrw-debug
>
> and send me a copy of the debugging output. If you use ftp, please
> elide any passwords first. Please do a minimal number of steps to
> elicit the problem -- that'll help keep clutter down.
>
> Regards,
> Chip Campbell
Here's the debug output:
---------
Decho Tab C:\Program Files\Vim\vim72\autoload\netrw.vim
---------
doing autoload/netrw.vim version v132
ssh is not executable
netrw#NetrwSavePosn() {
|netrw#NetrwRestorePosn() a:0=0 winnr=1 line=1 col=1 hline=1 {
||restore window: exe silent! 1wincmd w
||restore topofscreen: exe norm! 1G0z
||restore posn: exe norm! 1G01|
||return netrw#NetrwRestorePosn }
|return netrw#NetrwSavePosn : winnr=1 line=1 col=1 hline=1 }
netrw#NetRead(mode=1,...) a:0=1 v132 {
|s:NetrwOptionSave(vt<w:>) win#1 buf#1<> {
||w:netrw_optionsave doesn't exist
||fo=tcq acd=0
||return s:NetrwOptionSave : win#1 buf#1 }
|s:NetrwSafeOptions() win#1 buf#1<> {
||window's ft=
||fo=nroql2 acd=0
||return s:NetrwSafeOptions }
|readcmd<r> ichoice=1
|s:GetTempfile(fname<>) {
||tmpfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.tmp> : from tempname()
||tmpfile<C:/DOCUME~1/aman/LOCALS~1/Temp/VIA1C.tmp> : chgd any \ -> /
||tmpfile<C:/DOCUME~1/aman/LOCALS~1/Temp/VIA1C.tmp> s:netrw_tmpfile<C:/
DOCUME~1/aman/LOCALS~1/Temp/VIA1C.tmp>
||o/s dependent fixed tempname<C:\DOCUME~1\aman\LOCALS~1\Temp
\VIA1C.tmp>
||ro=0 ma=1 mod=0 wrap=1
||return s:GetTempfile <C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.tmp> }
|no lastfile: choice<scp://a...@lnx-server//ws/aman/test.c>
|choice<scp://a...@lnx-server//ws/aman/test.c>
|NetrwMethod(a:choice<scp://a...@lnx-server//ws/aman/test.c>) {
||determine method:
||scp://...
||a:choice <scp://a...@lnx-server//ws/aman/test.c>
||b:netrw_method <4>
||g:netrw_machine<a...@lnx-server>
||g:netrw_port <>
||b:netrw_fname </ws/aman/test.c>
||return NetrwMethod : b:netrw_method=4 }
|s:GetTempfile(fname</ws/aman/test.c>) {
||tmpfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.tmp> re-using
||using fname</ws/aman/test.c>'s suffix
||suffix<.c>
||chgd tmpfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C> (removed any .tmp
suffix)
||chgd tmpfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c> (added .c
suffix) netrw_fname</ws/aman/test.c>
||ro=0 ma=1 mod=0 wrap=1
||return s:GetTempfile <C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c> }
|checking if NetrwBrowse() should handle choice<scp://a...@lnx-server//
ws/aman/test.c> with netrw_list_cmd<>
|read via scp (method #4)
|exe s:netrw_silentxfer.!"c:\\aman\\sw\\pscp.exe" -q -batch "a...@lnx-
server:/ws/aman/test.c" "C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c"
|NetrwGetFile(readcmd<r>,tfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c>
method<4>) {
||rfile<>
||s:FileReadable(fname<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c>) {
|||return s:FileReadable 0 }
||ro=0 ma=1 mod=0 wrap=1
||tfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c> not readable
||netrw#ErrorMsg(level=1 msg<file <C:\DOCUME~1\aman\LOCALS~1\Temp
\VIA1C.c> not readable> errnum=9) g:netrw_use_errorwindow=1 {
|||level=**warning** (netrw)
|||s:winBeforeErr=1
|||create a NetrwMessage buffer window
|||setlocal ma noro
|||wrote msg<**warning** (netrw) file <C:\DOCUME~1\aman\LOCALS~1\Temp
\VIA1C.c> not readable> to NetrwMessage win#2
|||return netrw#ErrorMsg }
||return NetrwGetFile : tfile<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c>
not readable }
|s:FileReadable(fname<C:\DOCUME~1\aman\LOCALS~1\Temp\VIA1C.c>) {
||return s:FileReadable 0 }
|s:NetrwOptionRestore(vt<w:>) win#2 buf#3 {
||ro=1 ma=0 mod=0 wrap=1
||return s:NetrwOptionRestore : w:netrw_optionsave doesn't exist }
|return netrw#NetRead :5 getcwd<C:\Documents and Settings\aman> }
netrw#NetrwRestorePosn() a:0=0 winnr=-1 line=-1 col=-1 hline=-1 {
|restore window: exe silent! 1wincmd w
|restore topofscreen: exe norm! 1G0z
|restore posn: exe norm! 1G01|
|return netrw#NetrwRestorePosn }
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---