OpenWatcom vi is source available.
https://mastodonapp.uk/@JdeBP/116052015020764901
Ritter's Heirloom #vi is in #FreeBSD ports today, coming from the same place that it has for a long time.
https://freshports.org/editors/2bsd-vi/
It was dropped from #ArchLinux because it did not compile and hadn't changed in 20 years. Ironically, this is because the (GNU) C language had changed, and it has to nowadays be compiled forcing an older GNU C language version.
https://bbs.archlinux.org/viewtopic.php?pid=2285124#p2285124
Several people have independently discovered the Makefile patch that gets it to build on #Debian and the like.
https://forums.debian.net/viewtopic.php?p=629775
https://gist.github.com/cwfoo/01abac5c39f398b7e7b16a2b87aa518b
#elvis, the precursor to #nvi, is packaged for both #NetBSD/ #pkgsrc and #OpenBSD.
https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/editors/elvis/index.html






