summaryrefslogtreecommitdiffstats
path: root/colors
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-11-03 10:43:37 +0100
committerStefan Ritter <xeno@thehappy.de>2009-11-03 10:43:37 +0100
commitfaf4c1c8a72fd100c225baddb12f0a8c2c803e06 (patch)
tree64033653105f399f9bd53ea6ce9b27753e686eac /colors
parent624565d9a4e93e36e22516b3748203981453df5c (diff)
Weekly commit
Diffstat (limited to 'colors')
-rwxr-xr-xcolors34
1 files changed, 0 insertions, 34 deletions
diff --git a/colors b/colors
deleted file mode 100755
index ec6c9b4..0000000
--- a/colors
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-# Original: http://frexx.de/xterm-256-notes/
-# http://frexx.de/xterm-256-notes/data/colortable16.sh
-# Modified by Aaron Griffin
-# and further by Kazuo Teramoto
-
-
-FGNAMES=(' black ' ' red ' ' green ' ' yellow' ' blue ' 'magenta' ' cyan ' ' white ')
-BGNAMES=('DFT' 'BLK' 'RED' 'GRN' 'YEL' 'BLU' 'MAG' 'CYN' 'WHT')
-echo " ----------------------------------------------------------------------------"
-for b in $(seq 0 8); do
- if [ "$b" -gt 0 ]; then
- bg=$(($b+39))
- fi
-
- echo -en "\033[0m ${BGNAMES[$b]} : "
- for f in $(seq 0 7); do
- echo -en "\033[${bg}m\033[$(($f+30))m ${FGNAMES[$f]} "
- done
- echo -en "\033[0m :"
-
- echo -en "\033[0m\n\033[0m : "
- for f in $(seq 0 7); do
- echo -en "\033[${bg}m\033[1;$(($f+30))m ${FGNAMES[$f]} "
- done
- echo -en "\033[0m :"
- echo -e "\033[0m"
-
- if [ "$b" -lt 8 ]; then
- echo " ----------------------------------------------------------------------------"
- fi
-done
-echo " ----------------------------------------------------------------------------"
-