summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2006-10-16 01:08:41 +0000
committerBart Schaefer <barts@users.sourceforge.net>2006-10-16 01:08:41 +0000
commit9f392b5a54c418d56972b5f2f9032942312c73e4 (patch)
tree2a2b30015a388b9a869498f70f55126446a64090
parent004d0886f1024be64b15fe05c503ee1171fccb4d (diff)
downloadzsh-9f392b5a54c418d56972b5f2f9032942312c73e4.tar.gz
zsh-9f392b5a54c418d56972b5f2f9032942312c73e4.tar.xz
zsh-9f392b5a54c418d56972b5f2f9032942312c73e4.zip
Add a number of other notes about terminal attributes.
-rw-r--r--Functions/Misc/colors42
1 files changed, 39 insertions, 3 deletions
diff --git a/Functions/Misc/colors b/Functions/Misc/colors
index 6778cbd49..bef93c8c3 100644
--- a/Functions/Misc/colors
+++ b/Functions/Misc/colors
@@ -4,15 +4,33 @@
 typeset -Ag color colour
 
 color=(
+# Codes listed in this array are from ECMA-48, Section 8.3.117, p. 61.
+# Those that are commented out are not widely supported or aren't closely
+# enough related to color manipulation, but are included for completeness.
+
 # Attribute codes:
-  00 none
-  01 bold
+  00 none                 # 20 gothic
+  01 bold                 # 21 double-underline
   02 faint                  22 normal
   03 standout               23 no-standout
   04 underline              24 no-underline
   05 blink                  25 no-blink
+# 06 fast-blink           # 26 proportional
   07 reverse                27 no-reverse
-  08 conceal
+  08 conceal                28 no-conceal
+# 09 strikethrough        # 29 no-strikethrough
+
+# Font selection:
+# 10 font-default
+# 11 font-first
+# 12 font-second
+# 13 font-third
+# 14 font-fourth
+# 15 font-fifth
+# 16 font-sixth
+# 17 font-seventh
+# 18 font-eighth
+# 19 font-ninth
 
 # Text color codes:
   30 black                  40 bg-black
@@ -23,7 +41,25 @@ color=(
   35 magenta                45 bg-magenta
   36 cyan                   46 bg-cyan
   37 white                  47 bg-white
+# 38 iso-8316-6           # 48 bg-iso-8316-6
   39 default                49 bg-default
+
+# Other codes:
+# 50 no-proportional
+# 51 border-rectangle
+# 52 border-circle
+# 53 overline
+# 54 no-border
+# 55 no-overline
+# 56 through 59 reserved
+
+# Ideogram markings:
+# 60 underline-or-right
+# 61 double-underline-or-right
+# 62 overline-or-left
+# 63 double-overline-or-left
+# 64 stress
+# 65 no-ideogram-marking
 )
 
 # A word about black and white:  The "normal" shade of white is really a