On a clean install of Ubuntu 12.10, the default gnome-terminal is reporting $TERM to be xterm where it should really be reporting xterm-256color. What is the best way of changing this? I'm avoiding putting this in my .bashrc as that's just asking for trouble.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
While it's true that terminfo has xterm+256color ( Anyhow, What you have to do is to place the following piece of code in your
|
|||
|
|
xtermis wrong because most applications won't work in 256-color mode unless it'sxterm-256colororscreen-256color(vim and tmux being the main ones I care about). Like @Freddy I would prefer not to set these in my shell profile, because I may be connecting from a different terminal type over SSH, and because it's really the terminal emulator's job to set this. I'm amazed that gnome-terminal doesn't provide multiple emulations. – Jim Stewart Mar 31 at 2:48