Skip to content

Have you ever occurred a terminal whose termcap's codes were non-standard for 1st 16 colors and for following 248 colors ?

Maybe even iTerm can work in such mode, i.e. non-standard escape or even non-escape codes for setting color's text? Is there any custom termcap definition for iTerm?

I'm working on Zsh upcoming TrueColor support (the main patch isn't mine) and I thought I ask you because you might have the knowledge about completely non-standard terminal out-there.

  • iTerm2 version: Build 3.2.6beta4
  • OS version: 10.13.4 (17E202)

Detailed steps to reproduce the problem:

  1. Enter into terminal a custom, non-standard 1-16 or 17-256 color code and some text.
  2. Have a custom termcap definition holding the non-standard codes.

What should have happened:

Observe it's working, i.e. for (1) color is being set for the text output, and for (2) one can use tput to emit the non-standard codes.