Re:ITerm 2
by patrickod on Sunday January 23, 2011 @06:16AM
(#2132246)
What in particular should one set their TERM variable as to support 256 colors?
[ Parent
| on HN ]
Depends on which terminal emulator you're using and which terminfo descriptions are available. (Ubuntu users: install the "ncurses-term" package.)
Xterm: xterm-256color, Putty: putty-256color, Gnome Terminal: gnome-256color, Konsole: konsole-256color, Screen/Tmux: screen-256color
And for anyone interested, the best TERM for Terminal.app is dtterm.
Re:ITerm 2
by onedognight on Monday January 24, 2011 @08:14AM
(#2135070)
> And for anyone interested, the best TERM for Terminal.app is dtterm.
I'm interested because the home and end key don't work for me, but when I use this, I get
Error opening terminal: dtterm.
when running a curses app after logging into a Fedora 14 box.Maybe you don't have a dtterm terminfo description there. You can get it to your remote system using terminfo and tic.
I use TERM=xterm-256color
Having changed this 256 colors seem to work in Vim with the exception of the background color. I presume this is something to do with the default "white on black" theme that iTerm2 is using?