home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / editor-faq / vim / text0001.txt < prev    next >
Encoding:
Text File  |  1998-02-10  |  891 b   |  19 lines

  1.  
  2. 6.8 On a Win32 machine, I'm using Vim to edit a symbolically linked file on
  3. a Unix NFS file server. When I write the file, Vim does not "write through"
  4. the symlink. Instead, it deletes the symbolic link and creates a new file in
  5. its place. Why?
  6.  
  7. On Unix, Vim is prepared for links (symbolic or hard). A backup copy of the
  8. original file is made and then the original file is overwritten. This
  9. assures that all properties of the file remain the same. On non-Unix
  10. systems, the original file is renamed and a new file is written. Only the
  11. protection bits are set like the original file. However, this doesn't work
  12. properly when working on an NFS-mounted file system where links and other
  13. things exist. The only way to fix this in the current version is not making
  14. a backup file, by ``:set nobackup nowritebackup''.
  15.  
  16.  
  17. 6.9 How do I copy text from Windows applications to the DOS version of Vim?
  18.  
  19.