tmux: open terminal failed: missing or unsuitable terminal: xterm-256color

terminal, terminfo, tmux

Solution

Your system doesn't have `xterm-256color`. You could:

Set `TERM` to something other than `xterm-256color` outside `tmux` (try just plain `export TERM=xterm`).

See if there is a package containing `xterm-256color`, perhaps a later version of ncurses or terminfo.

Install it manually from another system with something like:

infocmp -x xterm-256color > out

Then transfer the "out" file to your Mac and try:

tic out

Problem

I used home-brew to setup tmux on a mac. When trying to run tmux I keep on getting this error open terminal failed: missing or unsuitable terminal: xterm-256color any suggestions?

Original source