0

I found gnu head ANSI art (that show up in alsmot grayscale on Cygwin terminal)

enter image description here

and it have undocumented ANSI CSI SGR numbers like:

[38;5;243m

Wikipedia say that the numbers are up to 109. What those 234 do? Are those codes documetation somewere?

2

These codes are used for setting 8-bits colors codes in xterm.

The prefix is [38;5; and 243m the color code. That's what is written in Wikipedia :

38 : Set xterm-256 text color

You can find more details in this answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.