Terminal Guide

Attributes

Attributes are set using select graphic rendition.

Generally there is a code to set and to unset specific attributes. 0 is used to unset all attributes.

urxvt xterm vte konsole linuxvc other
122  Bold
1:222  (used by other terminals)
10  Reserved for SGR Push/Pop
11  Reserved for SGR Push/Pop
1110  (used by other terminals)
1110  Set IBM Code Page 437 Translation
12  Reserved for SGR Push/Pop
1210  (used by other terminals)
1210  Set IBM Code Page 437 Translation with Forced 8th bit
13  Reserved for SGR Push/Pop
1310  (used by other terminals)
1410  (used by other terminals)
1510  (used by other terminals)
1610  (used by other terminals)
1710  (used by other terminals)
1810  (used by other terminals)
1910  (used by other terminals)
222  Faint
2023 or 10  (used by other terminals)
2124  Double Unterline
323  Italic
424  Underline
4:0  Alias: Underline Reset
4:124  Alias: Underline
4:224  Alias: Underline Double
4:324  Curly Underline
4:424  (used by other terminals)
4:524  (used by other terminals)
525  Blink
5154  (used by other terminals)
5254  (used by other terminals)
5355  Overline
625  Alias: Blink
727  Inverse
7375  (used by other terminals)
7475  (used by other terminals)
828  Invisible
8:728  (used by other terminals)
929  Strikethrough
48:3:...49  (used by other terminals)
48:4:..49  (used by other terminals)
48:5:...49  256 Color Background
40-4749  8 Color Background
100-10749  Bright 8 Color Background
48:2:...49  Direct Color Background
58:3:..59  (used by other terminals)
58:4:..59  (used by other terminals)
58:5:...59  256 Color Decoration
58:2:...59  Direct Color Decoration
38:3:..39  (used by other terminals)
38:4:..39  (used by other terminals)
38:5:...39  256 Color Foreground
30-3739  8 Colors Foreground
90-9739  Bright 8 Color Foreground 🔧
38:2:...39  Direct Color Foreground