I have been looking for an option or some configuration magic to have vi
return the window/screen from which the vi command was called to be redrawn
when you exit vi. This is the default action on some UNIXes, but not vi.
Is there an option, argument, or configuration parameter that will have the
calling screen/window redrawn upon exit?
I have tried Solaris 2.6 and 8 on SPARC and 2.6, 7, and 8 on Intel.
Some UNIXes may be using curses to redraw the screen to show the screen
filea fileb filec
$ vi filec
after the vi session is exited. Solaris and many/most other UNIX variants
will leave the contents of the file that were displayed in the vi window and
the command and messages used to exit vi.
Is there a way to go back to the original window?