#!/bin/sh

cat <<_EOF_

Sorry.  The demo license for MpegTV has expired.  
Something may be done in the future about this.
For now, you might want to try using mpeg_play or xanim,
also in the graphics locker.

_EOF_

exit -1

cat <<_EOF1_

NOTICE: Running a demo copy of MpegTV.  This will expire in January
	and audio will only play for at most 30 seconds.
	There are also a number of none bugs.  For more
	information, including licensing, look in:

		/afs/athena/contrib/graphics/src/MpegTV

_EOF1_

if [ ! -d /mit/graphics ];  then
	attach graphics
fi

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH+:}/mit/graphics/lib
export LD_LIBRARY_PATH

exec /mit/graphics/bin/mtv.real "$@"
