#!/bin/sh

font=''
if [ -r /etc/bitchx/xfont ]; then
  font=`head -1 /etc/bitchx/xfont`
fi

if [ -z $font ]; then
  font=default8x16
fi

if [ -f /usr/bin/X11/xterm ]; then
  exec xterm +aw -bdc +cm +sb -wf -T BitchX -name bitchx \
      -fg grey90 -bg black -fn $font -e bitchx $*
else
  exec x-terminal-emulator -T BitchX -e bitchx $*
fi

