You are not logged in.

#1 2011-01-09 11:54:21

voidux
Member
Registered: 2010-02-03
Posts: 31

remote editing with vim, netrw

Hello!

if I connect, for example, to ftp://ftp.kernel.org:

vim ftp://ftp.kernel.org/

and I get:

"NetrwMessage"  --No lines in buffer--
Error detected while processing function netrw#Nread..netrw#NetRead..<SNR>19_Net
rwBrowse..<SNR>19_PerformListing:
line  118:
E121: Undefined variable: w:netrw_bannercnt
E15: Invalid expression: !g:netrw_banner || line("$") >= w:netrw_bannercnt
Press ENTER or type command to continue

and after I press the Enter key again:

***netrw*** this system doesn't support remote directory listing via ftp

I noticed that sometimes vim writes an error like '/bin/bash  ftp: command not found'. So I was searching for package that has 'ftp' command and installed 'inetutils'.

And now, finally, I can connect to ftp servers, but I get some garbage at the bottom of direcotory listing window:

"   ftp://anonymous@ftp.kernel.org/
"   Sorted by      name
"   Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
"   Quick Help: <F1>:help  -:go up dir  D:delete  R:rename  s:sort-by  x:exec
" ============================================================================
../
./
bin/
dev/
etc/
for_mirrors_only/
lib/
lost+found/
pub/
usr/
welcome.msg/
[?1034hopen ftp.kernel.org
ls -lF
user "anonymous" ""

What should I do to fix this? This garbage I get on all ftp servers.

Offline

#2 2012-01-31 06:33:17

sollidsnake
Member
Registered: 2012-01-30
Posts: 107

Re: remote editing with vim, netrw

I'm having the same problem. Have anyone found a solution for this?


Non serviam

Offline

#3 2012-04-23 12:09:46

fimble
Member
Registered: 2012-04-23
Posts: 3

Re: remote editing with vim, netrw

Same too! I don't know how to fix this! sad

Offline

#4 2012-04-23 21:34:32

Smarthound
Member
Registered: 2012-03-29
Posts: 23

Re: remote editing with vim, netrw

voidux wrote:

What should I do to fix this?

Don't know what this has to do with Arch. Have you tried the Vim mailing list?

Offline

Board footer

Powered by FluxBB