SUMMERY: source for fortune

From: franXoSAURus reX <franx_at_oas.telstra.com.au>
Date: Wed, 26 Mar 1997 17:57:53 +1100

Greetings fellow thespians,

Basically I'd better GOMA and collate my findings when trying to source
the old "fortune" cookie program, as ported to to DigiUNIX

Thankyou to:

David Bremer DaveB_at_healthotago.co.nz
Richard L Jackson Jr rjackson_at_portal.gmu.edu
Robert L. McMillin rlm_at_syseca-us.com
Tim Mooney mooney_at_dogbert.cc.ndsu.NoDak.edu

Richard L Jackson Jr wrote:

> I ftp'ed it from gatekeeper.dec.com in /contrib/src/dco/fortune/src in 1993

> and compile and run it on both ULTRIX and DU. My notes for building it on
> the DU system follows...

> 1. cd /sys1/src
> 2. mkdir fortune
> 3. cd fortune
> 4. ftp files
> 5. modify datfiles/Makefile
> 6. modify fortune/fortune.c
> 7. modify fortune/Makefile
> 8. make
> 9. mkdir /usr/local/fortune (755 root.system)
> 10. mv datfiles/for* /usr/local/fortune (644 root.system)
> 11. cd ../fortune
> 12. strip fortune
> 13. mv fortune /usr/local/bin (755 root.system)
> 14. cp fortune.6 /usr/local/man/man1/fortune.1
> 15. cd ..
> 16. make clean

Robert L. McMillin writes:

> This stuff is all available on your friendly neighborhood Linux CD
> distribution. I find it's useful to buy the new ones whenever they come
> out because they have so much of this sort of thing on them. I think
> that the fortune program hearkens back to BSD, so you might also find
> this in releases of those programs.

Tim Mooney writes:

> I grabbed the `fortune' source from one of the Linux sites and tweaked it
> just a bit, and it's been working happily on my system every since. Try
> looking in

> http://sunsite.unc.edu/pub/Linux/games/amusements/

> If you have problems getting one of those to compile or work shoot me some
> email and I'll see if I can dig up the source I modified.

I took him up on the offer, because I had funny things happening when
attempting to get a clean compile & link of the solutions already
offered to which he kindly replied:

> >It appears to be a complete hack, any enlightenment of this dark and
> >mysterious cruft from the dawn of time would be muchly appreciated...

> Grab my sources from:

> ftp://dogbert.cc.ndsu.nodak.edu/pub/fortune.tar.Z

> And try them. You'll need to

> 1) modify the top level Makefile to indicate where you want the stuff to
> go.
> 2) modify fortune/pathnames.h to indicate where you want the fortune
> directory.

> 3) Do a `make clean' and a `make' and see what happens. You may need to
> build the *.dat files by hand in the the datfile directory.

> 4) Give it a try!

> BTW, if you're running under 3.2x and any of the programs fail to link, try
> `-lisode' on the link lines in the various makefiles.

> Let me know if you run into problems,

David Bremer wrote:

> PLEASE post a summary if you find it - I remember that on a VAX when I
> was at Uni - it was fun

Which I have now just done...

Have a Happy Easter..

fRAnX.
-- 
Frank Gallacher, Sys. ANALyst/Programmer,(aka.frAnXoSAURus reX)
Systems D&I, Operator Assisted Services, Telecom Australia (Telstra).
 ___________
(_'-I---I-`_)		Computers make very fast,
  | 1 2	3 |			very accurate mistakes.
  | 4 5	6 |
  | 7 8	9 |
  | * 0	# |
  +-------+
phone: (03) 969 34034		Int.: +61 3 969 34034
smtp:  franx_at_oas.telstra.com.au, FGallach_at_VENTNOAS.telstra.com.au
X.400: (C:AU,A:TELEMEMO,P:telecom012,O:TELECOM,OU:VENTNOAS,SN:FGallach)
<<<MSG ENDS>>>
Received on Wed Mar 26 1997 - 08:18:03 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT