Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 08:28:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205697] vi gets confused and corrupts file being edited
Message-ID:  <bug-205697-8-jDnRQ4QZFf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205697-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205697-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205697

--- Comment #5 from Alexander Klein <alexander.klein@physiologie.med.uni-gi=
essen.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 aft=
er
having written a corrupted file to disk:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196447#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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205697-8-jDnRQ4QZFf>