#!/bin/sh

# Test to see if we are in X.
if [ $DISPLAY ]; then 
	type=x11
else
	type=curses
fi

exec atari800.$type $@
