When starting tmux I need to pass a valid terminal type. Since I am scripting the initial startup of tmux I would like to cover all bases by figuring out the valid values of TERM on the current system.
How do I find valid values to use for tmux and which order, including a possible 16 color fallback, should I prefer?
This is mainly for Linux systems, but I presume the approach would be similar on most other unixoids.
tmux. In order to force it to use 256 colors, I need to explicitly set it on the server I am connecting to. – 0xC0000022L Jan 25 at 18:57