As long as you can mount /usr you will be able to use /usr/bin/vi but you must export the term before start editing
Code:
mount /usr
export TERM=vt220
Ex is just enhanced version of ed so this should help.
http://www.openbsdsupport.com.ar/books/vi/ch05_01.htm