Hello
Could someone tell me what I did wrong or miss something please?
I log in as root and modify the .profile :
set EDITOR=vi
export EDITOR
set TERM=vt220
export TERM
Then after that I log in as another user to use vi, but I still can not use the Term as vt220, but instead it substitutes with the server name (TERM=ServerName). I have to manual reset up the env for this user again every time I log in.
How to fix it? and is it the .profile that I should change? or what other file?
Thanks
Could someone tell me what I did wrong or miss something please?
I log in as root and modify the .profile :
set EDITOR=vi
export EDITOR
set TERM=vt220
export TERM
Then after that I log in as another user to use vi, but I still can not use the Term as vt220, but instead it substitutes with the server name (TERM=ServerName). I have to manual reset up the env for this user again every time I log in.
How to fix it? and is it the .profile that I should change? or what other file?
Thanks