#!/bin/sh

if [ -t 0 ]; then
    frotz "$@"
else
    x-terminal-emulator -e frotz "$@"
fi
