#!/bin/sh
#F=courR10
#F=6x9
F=5x8
G=90x40
if [ ! -f $HOME/.colors ];then
	echo "Can't find $HOME/.colors file."
	c=`-bg black -fg yellow`
else
	m=`date +%H%M%S`
	n=`wc -l<$HOME/.colors`
	l=`expr '(' $m + $$ ')' % $n`
	c=`head <$HOME/.colors -$l |tail -1`
fi
COLORS="$c"; export COLORS
xterm -fn $F -g $G $c $* &
echo `date` xterm "$c $*" >>$HOME/.xlog
exit 0
#
# Exec an xterm with Random colors.  There should be  a  $HOME/.colors
# file  full  of  xterm  command-line  color options.  A blank line in
# .colors will get the default colors.  Note that we use the $F  font;
# you might like one somewhat larger.
