delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / konsole / tests / colortest.sh
blob36a1336dc4d8279e881cf95063b2cf70a5cdde58
1 #!/bin/bash --
3 # display ANSI colours and test bold/blink attributes
4 # orginates from Eterm distribution
5 #-------------------------------------------------------------------------
7 ESC=$'\x1b'
8 CSI="${ESC}["
9 RST="${CSI}m"
11 echo ""; echo "${RST}"
12 echo " 40 41 42 43 44 45 46 47 49"
13 echo " 40 41 42 43 44 45 46 47 49"
14 for fg in 30 31 32 33 34 35 36 37 39 90 91 92 93 94 95 96 97
16 l1="$fg ";
17 l2=" ";
18 l3=" ";
19 l4=" ";
20 for bg in 40 41 42 43 44 45 46 47 49
22 l1="${l1}${CSI}${fg};${bg}m Normal ${RST}"
23 l2="${l2}${CSI}${fg};${bg};1m Bold ${RST}"
24 l3="${l3}${CSI}${fg};${bg};5m Blink ${RST}"
25 l4="${l4}${CSI}${fg};${bg};1;5m Bold! ${RST}"
26 done
27 echo "$l1"
28 echo "$l2"
29 echo "$l3"
30 echo "$l4"
31 done