vi says it does not know what kind of terminal…

Ok so I got this error when I ran vi on a Solaris box while booted off a CD ROM

I don’t know what kind of terminal you are on – all I have is ‘unknown’.

Solution:

run these two commands:

TERM=vt100
export TERM

Note: Running this command did NOT work: export TERM=vt100

Be Sociable, Share!

Leave a Reply

Your email address will not be published. Required fields are marked *