Configure vi so it doesn't clear screen on Linux

When using Linux I noticed that it clears the screen after quitting out of the file you were editing. If you do not like this behavior here is how to avoid it.

Apparently on most distros of Linux vi is an alias of vim.

Create or edit a file named .vimrc in your home directory and add the following line:

set t_ti= t_te=


Now vi will behave the same on Linux as it does on other flavors of UNIX.

This has been tested on Red Hat 5.