Original_READ_ME revision 1.2
11.2Scgd$NetBSD: Original_READ_ME,v 1.2 1995/03/23 08:29:10 cgd Exp $
21.2Scgd
31.1ScgdThis is export hack, my first semester programming project.
41.1Scgd
51.1ScgdTo set it up for your system, you will have to do the following:
61.1Scgd	1: create a hack uid, to own the top ten list, etc.
71.1Scgd	2: create a hack directory "/usr/lib/game/hack" is the default.
81.1Scgd	2.5: make the directory 700 mode.	/* sav files go in there...*/
91.1Scgd	3: modify hack.main.c to use the new directory.
101.1Scgd	4: modify hack.main.c so it uses the new hack gid.  Gid accounts can
111.1Scgdgo into magic mode without the password, can get cores with ^G, etc.
121.1Scgd(make sure gid isn't checked anywhere else...)
131.1Scgd	5: recompile hack.
141.1Scgd	6: put it in games after making it set-uid hack.
151.1Scgd	8: fix the bugs I undobtedly left in it.
161.1Scgd	9: tell me what you think of it.
171.1Scgd
181.1Scgd	Hack uses the UCB file /etc/termcap to get your terminal escape codes.
191.1ScgdIf you don't use it, you will have to make extensive changes to hack.pri.c
201.1Scgd
211.1ScgdIf you find any bugs (That you think I don't know about), or have any
221.1Scgdawesome new changes (Like a better save (One that works!)), or have ANY
231.1Scgdquestions, write me
241.1Scgd		Jay Fenlason
251.1Scgd		29 East St.
261.1Scgd		Sudbury Mass.
271.1Scgd			01776
281.1Scgd
291.1Scgdor call me at (617) 443-5036.  Since I have both a modem and a teen-age
301.1Scgdsister, Good Luck.
311.1Scgd
321.1Scgd
331.1ScgdHack is split (roughly) into several source files that do different things.
341.1ScgdI have tried to fit all the procedures having to do with a certain segment
351.1Scgdof the game into a single file, but the job is not the best in the world.
361.1ScgdThe rough splits are:
371.1Scgd
381.1Scgdhack.c		General random stuff and things I never got around to moving.
391.1Scgdhack.main.c	main() and other random procedures, also the lock file stuff.
401.1Scgdhack.mon.c	Monsters, moving, attacking, etc.
411.1Scgdhack.do.c	drink, eat, read, wield, save, etc.
421.1Scgdhack.do1.c	zap, wear, remove, etc...
431.1Scgdhack.pri.c	stuff having to do with the screen, most of the terminal
441.1Scgd		independant stuff is in here.
451.1Scgdhack.lev.c	temp files and calling of mklev.
461.1Scgd
471.1ScgdBecause of the peculiar restraints on our system, I make mklev (create
481.1Scgda level) a separate procedure execd by hack when needed.  The source for
491.1Scgdmklev is (Naturaly) mklev.c.  You may want to put mklev back into hack.
501.1ScgdGood luck.
511.1Scgd
521.1ScgdMost of hack was written by me, with help from
531.1Scgd		Kenny Woodland (KW)	(general random things including
541.1Scgd			the original BUZZ())
551.1Scgd		Mike Thome	(MT)	(The original chamelian)
561.1Scgd	and	Jon Payne	(JP)	(The original lock file kludge and
571.1Scgd			the massive CURS())
581.1Scgd
591.1ScgdThis entire program would not have been possible without the SFSU Logo
601.1ScgdWorkshop.  I am eternally grateful to all of our students (Especially K.L.),
611.1Scgdwithout whom I would never have seen Rogue.  I am especially grateful to
621.1ScgdMike Clancy, without whose generous help I would never have gotten to play
631.1ScgdROGUE.
64