Conversation

I've tried really hard for many years to not learn about termcaps and the diff between TERM=xterm, vt200, vt100, etc. But too often ssh'ing in from Linux & macOS, my color palette is slightly wrong or page up/down don't work and I just try diff until it works. Reference recs?
7
31
It seems some TERM=foo values respect the ~16 colors in my terminal profile preferences, and some TERM=bar values must support larger palettes (or arbitrary colors), and then I have no control over them. Or I don't know where/how to control them.
3
Replying to
There are 256 and even 24-bit color palettes. You generally need to configure the applications using them. Most applications don't make use of it by default without explicitly configuring them to do it.
1
Replying to and
256 color support is very common / standard to include, 24-bit color support on the other hand is much less common. Some themes for Vim and Emacs don't make the assumption that the terminal is configured with the same color scheme so they avoid using the 16 color palette.
1
Replying to and
So you can end up with mismatches even with the same theme if the Emacs / Vim version of the theme is made for the 256 color palette exclusively without assuming the terminal palette is correct. You'd need to fix the theme yourself in that case or use someone else's take on it.
1
Show replies