From owner-freebsd-ports@FreeBSD.ORG Tue Jun 10 23:15:21 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EE0A37B401 for ; Tue, 10 Jun 2003 23:15:21 -0700 (PDT) Received: from mta01ps.bigpond.com (mta01ps.bigpond.com [144.135.25.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2948D43F93 for ; Tue, 10 Jun 2003 23:15:20 -0700 (PDT) (envelope-from shaun@pcuse.com) Received: from sagan.cai ([144.135.25.81]) by mta01ps.bigpond.com (Netscape Messaging Server 4.15 mta01ps Jul 16 2002 22:47:55) with SMTP id HGB01G00.5JB for ; Wed, 11 Jun 2003 16:15:16 +1000 Received: from wypp-p-144-134-3-224.prem.tmns.net.au ([144.134.3.224]) by psmam05.bigpond.com(MailRouter V3.2g 101/38120223); 11 Jun 2003 16:15:16 Received: by sagan.cai (Postfix, from userid 1100) id 44141F35; Tue, 10 Jun 2003 23:53:25 +0930 Date: Tue, 10 Jun 2003 23:53:25 +0930 From: Shaun Branden To: ports@freebsd.org Message-ID: <20030610142325.GB37636@pcuse.com> Mail-Followup-To: Shaun Branden , ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Fingerprint: 2571 65A6 1F38 0168 63CB BCE5 CA20 7F19 AA92 1949 X-GPG-Key: AA921949 Subject: vim editing over ftp X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 06:15:21 -0000 I recently upgraded to vim 6.2.14 and now have problems editing over ftp. The file displays locally as empty, but I know it exists and has content. If I make any edits, the existing file on the server is clobbered. Here is information from the vim debugger: DBG: NetRead(a:1<0r>) { DBG: NetOptionSave() DBG: NetRead1: choice DBG: NetRead2: choice DBG: NetMethod(a:choice) { DBG: NetMethod: ftp://... DBG: NetUserPass(a:0<0>) { DBG: a:0=0 case <=1: DBG: return NetUserPass } DBG: NetMethod: a:choice DBG: NetMethod: b:netrw_method <3> DBG: NetMethod: g:netrw_machine DBG: NetMethod: g:netrw_port <> DBG: NetMethod: g:netrw_uid DBG: NetMethod: g:netrw_passwd DBG: NetMethod: b:netrw_fname DBG: NetMethod return } DBG: read via fetch for ftp+mipf (method #3) DBG: NetGetFile readcmd<0r> cmdarg<> fname readable=0 DBG NetRead: cleanup DBG: NetOptionRestore() DBG: return NetRead } I ran this as the root user just incase there were permission issues. /tmp/v288512 directory permissions are: drwx------ 2 root wheel 512 Jun 10 11:37 v288512 and the directory is empty: root@sagan:v288512$ pwd /tmp/v288512 root@sagan:v288512$ ls -la total 6 drwx------ 2 root wheel 512 Jun 10 11:37 . drwxrwxrwt 43 root wheel 3072 Jun 10 11:41 .. Vim does not print the file to screen, but will clobber the file if I make edits. The file does exist on the server: ncftp /pcuse.com > pwd ftp://shaun:PASSWORD@ftp.pcuse.com/pcuse.com/ ncftp /pcuse.com > ls -l r* -rw-r--r-- 1 shaun shaun 7542 Jun 8 04:09 resume.html thanks Shaun Branden