[Bug 205697] vi gets confused and corrupts file being edited

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 24 08:28:00 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205697

--- Comment #5 from Alexander Klein <alexander.klein at physiologie.med.uni-giessen.de> ---
(In reply to Bjorn Robertsson from comment #4)

There are even more bugs which are probably related to the same problem:

Bug 196447 - vi(1) misbehavior when encountered invalid Unicode character
Bug 203040 - Nvi truncates files with non-ASCII characters

It seems to be possible to get the data back in a number of cases, even after
having written a corrupted file to disk:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196447#c4

The issue as a whole seems to be quite involved, however:

https://github.com/lichray/nvi2/issues/12
http://lists.suckless.org/dev/1312/18786.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list