Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Correct spelling mistake.
  • Loading branch information
xukl authored Jan 14, 2018
1 parent 00ac1c0 commit 2e5f693
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@

Porting project of Hunt on Windows.

Hunt is a part of bsd-games, and it used to can be only run on Linux/Unix.
So we make a porting base on Cygwin and msys2.
Hunt is a part of bsdgames, which could not be run on Windows.
So we make a porting using Cygwin and msys2.

See [bsdgames](https://packages.debian.org/wheezy/bsdgames).

## Instructions

### Get the source code

### Environments

You should have Cygwin on Windows or msys on Windows with the ``ncurses`` lib.
You should have Cygwin on Windows or msys2 on Windows with the ``ncurses`` lib.

### Make

Expand All @@ -20,20 +24,24 @@ Just get into the root directory of this repo and type `make`.
patch.c at hunt/, hunt.c and otto.c at hunt/hunt.


## patch.h
### patch.h

Included by **otto.c**.

Some defination like `sigblock`, `sigmask`, etc, are added here.
Some definations like `sigblock`, `sigmask`, etc, are added here.

These code are copyed from **glibc**.
These code are copied from **glibc**.


## hunt.c
### hunt.c

Add check `ip->ifa_broadaddr` against `NULL`.


## otto.c
### otto.c

Include ../patch.h.

## Run

First you should disable the network cards until only one of them is available, and then open hunt.exe via programs like mintty.exe.

0 comments on commit 2e5f693

Please sign in to comment.