On 02/22/2005 01:15:42 PM, H. Crissman wrote:
Don Russell wrote:
I thought maybe it was /etc/vimrc, but it must not be. I renamed it and started vi via sudo and as myself and I still got the same results?
I recall reading about a config file that tells vi what colors to use etc... maybe you get a different one of those when you use sudo.
Unfortunately I don't recall the name of that file :-(
It's ~/.vimrc most likely.
Copy that file from your user home directory to /root/ and see if that fixes it.
-- Michael A. Peters http://mpeters.us/