terminal.rst
changeset 985 6a75b1b2976b
parent 929 41752712a800
child 986 858ecbc30566
--- a/terminal.rst	Wed Sep 07 19:34:28 2011 +0300
+++ b/terminal.rst	Thu Sep 08 02:13:07 2011 +0300
@@ -8,6 +8,21 @@
   http://en.wikipedia.org/wiki/ECMA-48
                 ANSI escape sequences
 
+Check terminal capabilities.
+============================
+::
+
+ $ infocmp -1 xterm
+        ...
+    colors#8,
+    bold=\E[1m,
+    blink=\E[5m,
+        ...
+  $ tput -Txterm colors
+  8
+  $ tput -Txterm blink
+  ^[[5m
+
 Old hardware terminal.
 ======================