I want to support 95% of terminals on modern desktop machines (and terminal emulators on phones).

Would supporting:

  • xterm
  • xterm-256color
  • linux

be sufficient?

If not, which am I missing and where are they used?

  • 1
    screen is used by both GNU screen and tmux (having said that, my tmux seems to work better with TERM set to rxvt).
    – Kusalananda
    Commented Apr 12, 2017 at 11:39
  • 1
    Have you looked at the curses library, or other libraries to do this. They will take care of the abstraction for you. Commented Nov 7, 2020 at 22:49


Browse other questions tagged .