Bug#459399: [vim] does not see large files and overwrites them as new

Frederik Schwarzer schwarzerf at gmail.com
Sat May 24 11:04:42 UTC 2008


Package: vim
Version: 1:7.1.293-3

--- Please enter the report below this line. ---

Here a 4.7GB file filled with zeros doesn't load.
For me it still feels weird that vim claims the file being a
[New File] while loading, that one can work at the file as
if it was a new file and then overwrites it when saving.

I think there is some notification missing. Or editing could
be disabled while loading.

Anyway, here's exactly what I am doing.

$ dd if=/dev/zero of=test.txt bs=1000000 count=5000
...
$ vim test.txt
~
~
~
"test.txt" [New File]

Here I waited up to 45 minutes without having any noticable
hdd or cpu activity.

:wp

File is overwritten.

In which point is this different from what you see on your machine?

regards

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.25-fs

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp2.de.debian.org 
    1 experimental    ftp2.de.debian.org 

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-====================
vim-common          (= 1:7.1.293-3) | 1:7.1.293-3
vim-runtime         (= 1:7.1.293-3) | 1:7.1.293-3
libacl1               (>= 2.2.11-1) | 2.2.47-2
libc6                    (>= 2.7-1) | 2.7-11
libgpmg1                (>= 1.20.0) | 1.20.3~pre3-3
libncurses5     (>= 5.6+20071006-3) | 5.6+20080503-1
libselinux1             (>= 2.0.59) | 2.0.59-1






More information about the pkg-vim-maintainers mailing list