summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <kurt.hindenburg@gmail.com>2016-07-16 16:38:22 (GMT)
committerKurt Hindenburg <kurt.hindenburg@gmail.com>2016-07-16 16:38:22 (GMT)
commit19804bc2dffe87e2eb80a40fd837152488479aaa (patch)
treec8618ae5888054eaf0ac8daa4214a6b036353e4a
parent84b43dfb2108eab47fa1dfcafbf1b94a410d6cbf (diff)
Add simple script to test/show sgr 2 8 9 53
-rwxr-xr-xtests/sgr2-8-9-53.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/sgr2-8-9-53.sh b/tests/sgr2-8-9-53.sh
new file mode 100755
index 0000000..3dc3738
--- /dev/null
+++ b/tests/sgr2-8-9-53.sh
@@ -0,0 +1,25 @@
+#!/bin/sh --
+#
+# faint intensity support (SGR 2)
+# conceal support (SGR 8)
+# strikeout support (SGR 9)
+# overline support (SGR 53)
+
+# echo 'D\e[2mD\e[9mD\e[53mD\e[8mD'
+
+echo ""; echo ""
+echo " faint concel strikeout overline"
+#for fg in 30 31 32 33 34 35 36 37 39
+for fg in 30
+do
+ for bg in 40 41 42 43 44 45 46 47 49
+ do
+ for sgr in 2 8 9 53
+ do
+ l1="${l1}[${fg};${bg};1m XX "
+ l1="${l1}[${fg};${bg};${sgr}m XX "
+ done
+ l1="${l1}\n"
+ done
+ echo "$l1"
+done