#!/bin/csh -fb
#
# Display ANSI colours.
#
#set esc="\033["
set esc=""
echo "syntax for LS_COLORS: bgcolor;fgcolor;1 for bold"
echo "                      bgcolor;fgcolor for normal"
echo "bgcolor=0 means transpartent, that is use default terminal background"
echo ""; echo "[m"
foreach fore (30 31 32 33 34 35 36 37)
  set line1="$fore  " line2="    " 
  foreach back (0 40 41 42 43 44 45 46 47)
    set line1="${line1}${esc}[${back};${fore}m ${back}    ${esc}[m"
    set line2="${line2}${esc}[${back};${fore};1m ${back}Bld ${esc}[m"
  end
  echo "$line1"
  echo "$line2"
end

