PS1="\[\033[0;36m\]\h \t \w$\[\033[0m\] "
# \[\033[1;36m\][\w]\n\[\033[0;36m\][\h|\t]$ \[\033[0m\]
+ # make sure the term we're using exists in the termcap
+ if ! toe -a|grep -q "^$TERM "; then
+ # if it doesn't, try to switch
+ case $TERM in
+ rxvt*)
+ TERM="rxvt"
+ ;;
+ xterm*)
+ TERM="xterm"
+ ;;
+ *)
+ ;;
+ esac
+ export TERM;
+ fi;
# If this is an xterm set the title to user@host:dir
case $TERM in
screen|xterm*)