When trying to use VI on a remote machine in my case Solaris from Mac,I got the following error
xterm-color:
1 2 |
Unknown terminal type
I don't know what kind of terminal you are on - all I have is 'xterm-color'.
[Using open mode] |
Fix
[custom_list type=”checkmark”]
- Simple change the ”declare terminal as” to vt100
- Set the TERM environment variable on the remote machine to “vt100″ by using the following command
[/custom_list]
1 |
export TERM='vt100' |
Worked for me, thank you.
Glad it worked for you. Thanks for browsing. I need to update my blog!