Originally Posted by jdkaye
That's the value of the environment variable TERM which I guess defaults to xterm on your system (mine too). It has nothing to do with the terminal program you're actually running.
Actually, the terminal program you use should be setting it correctly. Otherwise what would be the reason to set that variable at all?? That variable is used in lots of scripts precisely to identify the type of terminal you are running. In a pure txt VT it will be "linux", inside GNU screen it will be "screen" no matter what terminal do you use. I use urxvt and I can see:
$ echo $TERM
So I'd rather say that konsole is not setting it right for whatever reason. I would start checking the konsole configuration dialogs and see if it has some kind of profiles or settings to emulate other terminals or something like that. Most terminals can set a different terminal name via an option, in urxvt it's "-tn <termname>". So konsole might also have such option.