Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 21:39:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196447] vi(1) misbehavior when encountered invalid Unicode character
Message-ID:  <bug-196447-8-mveqfwnQTN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196447-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196447-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=196447

--- Comment #5 from Xin LI <delphij@FreeBSD.org> ---
(In reply to lichray from comment #4)
Well, depends on how we define it.  I think the editor should not "eat" file
contents :)

Yes, I think the editor should ask the user and reject edits if it's not
possible to write the whole file, it's much better than writing partial file.

BTW. I discovered that typing <tab> in command mode does not give me the <tab>
character, while older version of vi do (so one can say :1,$ s/^/<tab>/g to add
a tab character in front of all lines).  Is this related to locale settings?

-- 
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-196447-8-mveqfwnQTN>