In #openbsd what is called #vi is actually #nvi, and when you install #nvi from ports, it is #nvi2.To danes with our national characters æøå we need the latter because #vi prints two byte hex seque
from arosano@mastodon.bsd.cafe to (none) on 02 Apr 2026 05:39
https://mastodon.bsd.cafe/users/arosano/statuses/116335152661077070
from arosano@mastodon.bsd.cafe to (none) on 02 Apr 2026 05:39
https://mastodon.bsd.cafe/users/arosano/statuses/116335152661077070
In #openbsd what is called #vi is actually #nvi, and when you install #nvi from ports, it is #nvi2.
To danes with our national characters æøå we need the latter because #vi prints two byte hex sequences for æ, ø, or å. #vi handles them correctly except for the printing of them.
#vi and #nvi use the same #man page.
Update:
On #netbsd #vi is also #nvi. Here you must install #nvi2 to get #nvi if you need æ, ø, and å support.
Best wishes from T. R. Dane (The Real Dane ;)
threaded - newest
Good point for BSDs.
On Slackware (and Debian), nvi 1.81.6 is patched (encoding/wide-char fixes), so UTF-8 works fine (æ ø å).