Using VI Over SSH From Mac OS  to  Remote Solaris Machine Terminal Error

When trying to use VI on a remote machine in my case Solaris from Mac,I got the following error

xterm-color:

Unknown terminal type
I don't know what kind of terminal you
are on  - all I have is 'xterm-color'.
[Using open mode]

Fix

  • Simple change the ”declare terminal as” to vt100
  • Set the TERM environment variable on the remote machine to “vt100″ by using the following command

export TERM='vt100'

3 Responses to “Using VI Over SSH From Mac OS to Remote Solaris Machine Terminal Error”

  1. Worked for me, thank you.

Leave a Reply