]> arthur.barton.de Git - ConfigScripts.git/commitdiff
List possible terminal attributes and colors
authorAlexander Barton <alex@barton.de>
Wed, 21 Jul 2010 13:18:35 +0000 (15:18 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 21 Jul 2010 13:18:35 +0000 (15:18 +0200)
sys/bashrc

index 1ab83d28977619d47ea1626b67e7bfe2913e8844..96c191808d32198251fc60ff603199931c8810ce 100644 (file)
@@ -34,6 +34,16 @@ case "$TERM" in
        xterm|xterm-color)
                # color terminal
 
+               # terminal attributes
+               #   0: reset / 1: bright / 2: dim / 4: underline / 5: blink /
+               #   7: reverse / 8: hidden.
+               # foreground colors
+               #   30: black / 31: red / 32: green / 33: yellow / 34: blue /
+               #   35: magenta / 36: cyan / 37: white
+               # background colors
+               #   40: black / 41: red / 42: green / 43: yellow / 44: blue /
+               #   45: magenta / 46: cyan / 47: white
+
                # colors for shell prompt etc.
                COLOR_RESET="\[\e[0m\]"
                COLOR_PREPOSTTXT="\[\e[1;37m\]"