1984263bcSMatthew Dillon#!/bin/sh 2*4318c66eSSascha Wildner# $NetBSD: hack.sh,v 1.3 2003/04/02 18:36:40 jsm Exp $ 3*4318c66eSSascha Wildner 4*4318c66eSSascha Wildner# 5*4318c66eSSascha Wildner# Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, 6*4318c66eSSascha Wildner# Amsterdam 7*4318c66eSSascha Wildner# All rights reserved. 8*4318c66eSSascha Wildner# 9*4318c66eSSascha Wildner# Redistribution and use in source and binary forms, with or without 10*4318c66eSSascha Wildner# modification, are permitted provided that the following conditions are 11*4318c66eSSascha Wildner# met: 12*4318c66eSSascha Wildner# 13*4318c66eSSascha Wildner# - Redistributions of source code must retain the above copyright notice, 14*4318c66eSSascha Wildner# this list of conditions and the following disclaimer. 15*4318c66eSSascha Wildner# 16*4318c66eSSascha Wildner# - Redistributions in binary form must reproduce the above copyright 17*4318c66eSSascha Wildner# notice, this list of conditions and the following disclaimer in the 18*4318c66eSSascha Wildner# documentation and/or other materials provided with the distribution. 19*4318c66eSSascha Wildner# 20*4318c66eSSascha Wildner# - Neither the name of the Stichting Centrum voor Wiskunde en 21*4318c66eSSascha Wildner# Informatica, nor the names of its contributors may be used to endorse or 22*4318c66eSSascha Wildner# promote products derived from this software without specific prior 23*4318c66eSSascha Wildner# written permission. 24*4318c66eSSascha Wildner# 25*4318c66eSSascha Wildner# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 26*4318c66eSSascha Wildner# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27*4318c66eSSascha Wildner# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 28*4318c66eSSascha Wildner# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 29*4318c66eSSascha Wildner# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 30*4318c66eSSascha Wildner# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 31*4318c66eSSascha Wildner# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 32*4318c66eSSascha Wildner# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 33*4318c66eSSascha Wildner# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 34*4318c66eSSascha Wildner# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35*4318c66eSSascha Wildner# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36*4318c66eSSascha Wildner# 37*4318c66eSSascha Wildner 38*4318c66eSSascha Wildner# 39*4318c66eSSascha Wildner# Copyright (c) 1982 Jay Fenlason <hack@gnu.org> 40*4318c66eSSascha Wildner# All rights reserved. 41*4318c66eSSascha Wildner# 42*4318c66eSSascha Wildner# Redistribution and use in source and binary forms, with or without 43*4318c66eSSascha Wildner# modification, are permitted provided that the following conditions 44*4318c66eSSascha Wildner# are met: 45*4318c66eSSascha Wildner# 1. Redistributions of source code must retain the above copyright 46*4318c66eSSascha Wildner# notice, this list of conditions and the following disclaimer. 47*4318c66eSSascha Wildner# 2. Redistributions in binary form must reproduce the above copyright 48*4318c66eSSascha Wildner# notice, this list of conditions and the following disclaimer in the 49*4318c66eSSascha Wildner# documentation and/or other materials provided with the distribution. 50*4318c66eSSascha Wildner# 3. The name of the author may not be used to endorse or promote products 51*4318c66eSSascha Wildner# derived from this software without specific prior written permission. 52*4318c66eSSascha Wildner# 53*4318c66eSSascha Wildner# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 54*4318c66eSSascha Wildner# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 55*4318c66eSSascha Wildner# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 56*4318c66eSSascha Wildner# THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 57*4318c66eSSascha Wildner# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 58*4318c66eSSascha Wildner# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 59*4318c66eSSascha Wildner# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 60*4318c66eSSascha Wildner# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 61*4318c66eSSascha Wildner# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 62*4318c66eSSascha Wildner# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 63*4318c66eSSascha Wildner# 64*4318c66eSSascha Wildner 65984263bcSMatthew DillonHACKDIR=/usr/games/lib/hackdir 66984263bcSMatthew DillonHACK=$HACKDIR/hack 67984263bcSMatthew DillonMAXNROFPLAYERS=4 68984263bcSMatthew Dillon 69984263bcSMatthew Dilloncd $HACKDIR 70