Message-Id: <200112221448.fBMEmPJ03670@delorie.com> Sender: rich AT phekda DOT freeserve DOT co DOT uk Date: Sat, 22 Dec 2001 14:35:09 +0000 From: Richard Dawe X-Accept-Language: de,fr To: DJGPP announcements Subject: ANNOUNCE: DJGPP port of fortune-mod 9708 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com Hello. I've ported fortune-mod 9708 to DJGPP. fortune-mod is a modified version of the NetBSD fortune cookie program. The port can be downloaded from here: http://www.phekda.freeserve.co.uk/richdawe/mysoft.html#fortune-mod Below is the readme.djg file for fortune-mod. Bye, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ] Readme for DJGPP port of fortune-mod 9708 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installing the Binary Package ----------------------------- Unzip the distribution preserving the directory structure - use PKUNZIP's -d option; use an equivalent option with other unzippers. Unzip into the top DJGPP installation directory, e.g. c:\djgpp. fortune-mod should now be ready for use. A man page for fortune-mod is provided - use: man fortune to view it. You will need to have installed the man program from the v2apps/ directory of the DJGPP archive for this to work. To run fortune, use a command like: c:\djgpp\games\fortune (command.com as shell) c:/djgpp/games/fortune (bash as shell) Installing the Source Package ----------------------------- You should only install the source package if you want to rebuild fortune-mod from the sources. To build the port, I used the following packages: . DJGPP 2.03 . GNU bash 2.04 . GNU gcc 2.95.3 . GNU binutils 2.11.2 . GNU make 3.79 . GNU fileutils 4.0 . GNU shellutils 1.12 To build fortune-mod, change into the top-level source directory (e.g. 'c:/djgpp/contrib/frt9708') and run 'make'. To install the program and its support files, run 'make install'. A number of patches were needed to build fortune-mod with DJGPP: * fortune-mod originally kept all the fortune files open. DOS/Windows only allow a few files to be open simultaneously and fortune-mod was exceeding this limit. So, it now closes the fortune files and reopens them when it needs them. * All files are opened in binary mode. The source distribution comes with the source patch applied. Finally ------- If you have any comments or problems with this port, please feel free to e-mail me. I hope this port is useful. Thanks, bye, Richard Dawe 2001-12-22