how did you start the nexec session ?
nexec -i -l server bash ?
running as custom cmd from console,
nsh -c "nexec %H bash"
Try adding the –i and -l
tried it like this,
nsh -c "nexec -i -l %H bash"
looks much better, vi works now
-i Remote command is interactive (no stderr returned)
-l Behave like a login session