You should try OpenVi - which is easy to build and includes the OpenBSD’s db and regex
dependencies in the tree -
https://github.com/johnsonjh/OpenVi
--
Jeffrey H. Johnson
trnsz(a)pobox.com
For years and years i want to go to Thomas
Dickey's vile, but just
cannot get there.
"Problem with" nvi and nvi2 is they do not compile out of the box
of their repository, and nvi2 does not go at all here because it
does not include the Berkeley DBv1, and Linux does not have it,
nvi just includes the few kilobyte.
(Btw OpenBSD has the usr.bin/mg, an emacs-style thing, but pretty
small. I do not know wether someone somewhere has the small make
compatibility shim to make it a portable thing.)
--steffen