Re: [SLE] Re: Weird vi problem

Responding to my own post:
On Tuesday 14 March 2006 12:33, Jim Cunning wrote:
My suggestions:
4. Look at the VIM archives for clues,
Found my earlier correspondence with Bram Moolenaar in the VIM archives:
From: Bram Moolenaar <Bram@...>
Date: Sun Aug 29, 2004  4:31 pm
Subject: Re: Swap file problem on Network Appliance NFS mounts
Jim Cunning wrote:

I recently installed SuSE 9.1, upgrading from 8.0, which included VIM
version 6.2.263.  I have discovered a problem when attempting to edit
files on NFS exported from a Network Appliance file server. Whenever I try
to edit a new file or an existing one, VIM complains that a swap file
already exists. In fact, there _is_ a swap file there, but it is
apparently created at the moment VIM was started.  I don't see this
problem on NFS mounts to SuSE 8.0 systems, or from my old 8.0 system to
the Network Appliance, or on local files.

Has anyone experienced this?

This points in the direction of a bad NFS implementation.  Vim is very
careful about what swap file it creates (checking for an 8.3 filesystem,
ingored case, etc.).  I very much doubt this is a problem in Vim.  But
you can only be certain by running Vim in a debugger and stepping
through the code...

hundred-and-one symptoms of being an internet addict:
213. Your kids start referring to you as "that guy in front of the monitor."

  /// Bram Moolenaar -- Bram@... --   \\\
///        Sponsor Vim, vote for features -- \\\
\\\              Project leader for A-A-P --        ///
  \\\  Buy at Amazon and help AIDS victims -- ///

Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at
Please read the FAQs: suse-linux-e-faq@xxxxxxxx

Relevant Pages

  • Re: Syntax Highlighting
    ... Not to be a whiner or anything, but who thought that this was a good ... I was perfectly content with my old VIM 5.7, ... which I got a lot of complaints like "E305: No swap file found for ... non-VAX system to get the command-line case preserved with SET PROCESSS ...
  • Re: Simple Vim Scripting Help Required (forcing vim to use Linux system clipboard)
    ... Repeatedly I find myself opening gedit in preference to vim when I'm ... Of course I can't do any real programming in gedit so I have to switch ... rather than just whinging about an existing swap file). ...
  • Re: Vi limit on solaris
    ... vim does not handle large files in an intelligent way. ... > into account that a lot of this memory has been taken by the GUI and that vim ... > where a typical Linux system did nothing else but swapping. ... The "swap file" it's refering to is the VIM swap file, ...
  • Re: vim reporting a swap file
    ... > the swap file name begins with a dot. ... the swap file has to be deleted manually. ... vim will always report about the presence of swap file. ... Using plain vim, the message even tells me if the file opened has been ...