version with vi at startup and -n option