Interestingly, #FreeBSD comes with #nvi2 in base, while #OpenBSD and #NetBSD seem to be running #nvi 1:
FreeBSD 14.3-RELEASE-p12~~~Version 2.2.2 (2025-10-08) The CSRG, University of California, Berkeley.
OpenBSD 7.3(7.9 is still running the same version)~~~Version 1.79 (10/23/96) The CSRG, University of California, Berkeley.
NetBSD 10.1~~~Version (1.81.6-2013-11-20nb4) The CSRG, University of California, Berkeley.
They all seem to have nvi2 available as packages, though, which #Debian, oddly, does not.
rld@Intrepid:~$ uname -srFreeBSD 14.3-RELEASE-p12rld@Intrepid:~$ pkg search nvi |grep '^nvi2'nvi2-2.2.2 Updated implementation of the ex/vi text editorrld@Intrepid:~$
#(searching openbsd online)rld@Intrepid:~$ searchall -o nvi |grep ^nvinvi-2.2.2 (list) with wide and files limited bynvi-2.2.2-iconv (list) with wide and files limited by
rldane@rosa.tilde.pink$ uname -srNetBSD 10.1rldane@rosa.tilde.pink$ pkgin search nvi |grep ^nvi |grep -v nvidianvi-1.81.6nb13 Berkeley nvi with additional featuresnvi-m17n-1.79.20040608nb11 Clone of vi/ex, with multilingual patchnvi2-2.2.0 Multibyte fork of the nvi editor for BSDrldane@rosa.tilde.pink$
~ $ head -1 /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 13 (trixie)"~ $ apt-cache search nvi |grep -E '^nvi2? 'nvi - 4.4BSD re-implementation of vi~ $