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
getting emacs to use 24bit color requires two things: 1) terminfo entries for setab/setaf (gist.github.com/dylanwh/9029e6) 2) a version of ncurses that is new enough to understand those (so not the one that comes with macOS) For me this meant using macports to install emacs...
2
Replying to and
You probably do have both 256 and 24-bit color support, the issue is that you don't like it since it's allowing your Emacs theme to use more colors. I do think the best option is either switching to a 16 palette theme or using a matching theme for terminal + Emacs.
1