Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to fix "WARNING: terminal is not fully functional" error in command console? [duplicate]

I was using hg, now I am converting to Git.

But after installing it, every time I do "git diff" or "git log", I get this error: WARNING: terminal is not fully functional.

How do I get rid of this?

like image 302
iCodeLikeImDrunk Avatar asked Jun 27 '12 04:06

iCodeLikeImDrunk


1 Answers

Q: How are you connecting to Git?

For example, if you're using Cygwin on Windows, try this:

TERM=msys 

If you're on Linux (or connecting to a Linux server via putty), then try this:

export TERM=msys 

If you're running from a Windows command prompt:

<Rclick>Computer, Properties,    [Advanced System Settings], [Advanced], [Environment Variables]   Create a new System variable "TERM", value "msys" 
like image 196
paulsm4 Avatar answered Sep 19 '22 18:09

paulsm4