summaryrefslogtreecommitdiffstats
path: root/konsole/tests/ct2
blob: 8a654eda638d5dd31468541388441c55a4472308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh --
#
# display ANSI colours and test bold/blink attributes
# orginates from Eterm distribution
#-------------------------------------------------------------------------

echo ""; echo ""
echo "     40  41  42  43  44  45  46  47  49"
for fg in 30 31 32 33 34 35 36 37 39
do
    l1=" $fg ";
    l2=" $fg ";
    for bg in 40 41 42 43 44 45 46 47 49
    do
	l1="${l1}[${fg};${bg}m xx "
	l2="${l2}[${fg};${bg};1m XX "
    done
    echo "$l1"
    echo "$l2"
done