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
The easiest solution is picking a broadly supported theme and configuring it everywhere. You probably don't want to disable the broader color palette support since it allows syntax highlighting, etc. to have more color classes.
2
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
If I want to force 16 colors (but still have PgUp/Down + bold + the italics I just today saw), would I then have to make my own termcap name/file? Or do some features imply the existence of other features/levels?
1
Replying to
infocmp -1 xterm > xterm infocmp -1 xterm-256color > xterm-256color You can diff those to see the difference between 16 and 256 color support. Some terminals like xterm-256color support 24-bit color escape codes but round it to the 256 color palette.
1
Show replies