jonh : hunt

Hunt for Solaris

+-----+-----+-----+---+-----------+---------------+         Ammo:           1
|     |     |     |                               |         Gun:           ok
| | | | +-+ | +-- |                       --+     |         Damage:        5/10
| | |   | | | |   |                         |     |         Kills:          0
+-+ +---+ | | | --+                       | |     |
|   |       | |   |                       | |     |         Player:
| --+ ------+ +-- |     +-+ + --+---+---+-+   +---+           0.00 Jon        0
|   |         |   |     |   |   |     < |         |           0.00+The Master 1
+-- +---------+ --+ +   | --+-+ | | +-+ | +   | | |
|   |               |   |     | | | | |   | |     |
| --+---------+ +---+ +-+-    | | | | +---+ |     |
|   |         | |     |           | |     |       |
+-- |         +-+     | | | | +-+ | +     | -     |
|   |                   | | |   | | |     |       |
| | +---+               | | +-+ +-+ |     +-+     |
| |     |               | |   |     |             |
| +-- +-+---+           + | | +   --+\|/          |
| |   |     |             | |        -*-*  {      |
| +-+-+ +-+ |     +-+   --+ +-+      /|\          |
|   |   | | |     |       | | |                   |
| | | --+ | +-----+ ------+ | +-------+-+         |
| |       |                             |         |         Monitor:
+-+-------+-----------------------------+---------+
I'm a big hunt fan. Here's how to get hunt running on your Solaris box:

1. Get the linux bsd-games source kit: ftp://ftp.cdrom.com/pub/linux/tsx-11/sources/usr.games/bsd-games-1.5.tar.gz

2. Extract it. It suffices to extract the regular files in bsd-games-1.5/ plus everything under bsd-games-1.5/hunt/. (Try the -T option of gnu tar.)

3. Run configure inside bsd-games-1.5/. I chose to:

4. Fix these things in Makeconfig: (for some reason they don't makeconfig)

MAN8DIR = /usr/local/man/man8
MAN5DIR = /usr/local/man/man5

5. Apply the enclosed patches. Run this file as a sh script from the directory that holds bsd-games-1.5/.

6. cd bsd-games-1.5; make and make install. The first make in your PATH should be gmake. I built with gcc 2.7.2.1; I don't know if it works with Sun's compiler. You will get a couple warnings (wrong pointer types, a couple redefined names).

7. I had to fix some permissions that the installer got wrong.

Tip: sometimes huntd dies and leaves /tmp/hunt.stats lying around, which prevents a new hunt from starting a new huntd. Just rm that file. (Or fix the source.)

Patch by jonh@cs.dartmouth.edu.