diff --git a/README.md b/README.md index 3d93b18..fb79820 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.