#!/bin/sh

if [ -f $HOME/.Xdefaults ] ; then
    grep "^xlisp" $HOME/.Xdefaults > /dev/null 2>&1
    if [ $? != 0 ] ; then
        echo Appending to $HOME/.Xdefaults
        cat <<EOF >>$HOME/.Xdefaults
xlisp*menu*font:   8x13
xlisp*dialog*font:  8x13
xlisp*graph*font:   8x13
EOF
    fi
else
    echo Creating $HOME/.Xdefaults
    cat <<EOF >>$HOME/.Xdefaults
xlisp*menu*font:   8x13
xlisp*dialog*font:  8x13
xlisp*graph*font:   8x13
EOF
fi

/usr/local/bin/xlispstat /usr/local/lib/vista/statinit.lsp

