Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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