home *** CD-ROM | disk | FTP | other *** search
- PatchLevel: 9
- -rw-rw-r-- 1 gray 212140 Sep 25 15:15 curses.zoo
-
- This is Eric Smith's curses/termcap library for gcc TOS. Thanks Eric!
-
- - see the file src/ChangeLog first.
- - documentation is in doc/
- printer ready docs are in doc/Curses.doc
- - widget/ is a port of Richard Culshaw's widget library. See the
- file widget/README first.
-
- your comments/suggestions are always welcome:
- --
- Eric Smith
- 7103_300%uwovax.uwo.ca@CORNELLC.CIT.CORNELL.EDU
- (please put "Attn: Eric Smith in subject line)
-
- bang: {any internet host}!dsrgsun.ces.CWRU.edu!bammi jwahar r. bammi
- domain: bammi@dsrgsun.ces.CWRU.edu
- GEnie: J.Bammi
-
-
- ********
- ./test/puzzle15/README
- ********
- I have applied some of the suggestions put to me by various persons
- (acknowledged in the program text). The program can be compiled with
- the option -DARROWKEYS, but I am not sure that it works - I cannot
- test it. The other compile-time options have been tested and they work.
-
- In the following shell archive you will find the source of the program
- and a manual page in [nt]roff -man format.
-
- Since the previous version I have moved to another machine. My email
- address is now knop@duteca.UUCP. Mail to the previous machine may not
- bounce, in which case it might appear in my mailbox on the new machine.
-
-
-
- ********
- ./test/bandit/README
- ********
- One-Armed Bandit, v 1.01, by Pete Granger (December 13, 1988)
-
- Abstract:
-
- This is a slot machine simulation which uses curses routines. The
- setup and payoffs are described in comments below, and the means of
- play can be read in the print_instructions() routine.
-
- Notes:
-
- This program has been compiled and run on a VAX running Ultrix 3.0,
- and on a Sun-3, Sun-4, and Sun-386i. It will compile on an IBM
- AT-compatible, but there are problems with the stty and curses
- commands. Fixes for the AT are forthcoming at an undetermined date.
-
- If your machine does not have the random() and srandom() functions,
- then set the value of RANDOM to 0, prior to compiling, and rand() and
- srand() will be used instead.
-
- This is the configuration and payoff chart for a fair but profitable
- slot machine. It has a 9.54% chance of paying off on each play, and
- (on one-dollar bets) will pay back an average of 91.47% of all bets.
-
- Wheel 1 Wheel 2 Wheel 3
- ----- ----- -----
- Bars 1 1 1
- Bells 2 1 1
- Oranges 1 5 1
- Lemons 3 1 4
- Plums 3 2 3
- Cherries 4 4 4
-
-
- Combination Pays Frequency Total Payoff
- ----- ---- ----- -----
- Bar * 3 1000 1 1000
- Bell * 3 100 2 200
- Orange * 3 50 5 250
- Lemon * 3 20 12 240
- Plum * 3 10 18 180
- Cherry * 3 5 64 320
- Cherry * 2 + Any 2 160 320
- _____ _____
- 262 2510
- (234 profit)
-
- Pete Granger ...!{ulowell,decvax,ima,ism780c}!cg-atla!granger
-
-
- ********
- ./widget/README
- ********
- /*****************************************************************************
- /* FILE: README
- /* DATE: August 1988.
- /* AUTHOR: Richard A. Culshaw.
- /* DISCLAIMER: This file is deemed to be public-domain, on the simple
- /* provisos that this section remains in this file and
- /* that code using it do not do so for monetary gain.
- /* Neither the author, nor the authors employees at the
- /* time of developing this code, accept any liability or
- /* responsibility for the use, abuse or misuse of this
- /* code.
- /*****************************************************************************/
-
- Widgetlib is a standard C library which allows the user to define
- and interact with widgets (window gadget). The files provided are:
-
- -rw-r--r-- 1 pjs net 1960 Oct 14 13:25 README
- -rw-r--r-- 1 pjs net 1144 Oct 14 13:23 makefile
- -rw-r--r-- 1 pjs net 2752 Oct 14 13:15 widget.h
- -rw-r--r-- 1 pjs net 10946 Oct 14 12:18 widget.ms
- -rw-r--r-- 1 pjs net 34817 Oct 14 13:15 widgetlib.c
- -rw-r--r-- 1 pjs net 3218 Oct 14 13:14 wpage.c
-
- 1) widgetlib.c (the actual code)
- 2) widget.h (the header file which is needed in programs intending
- to incorporate the library)
- 3) widget.ms (an explanation of the library and how to use it)
- 4) wpage.c (a little example of the library in use)
- 5) makefile (compiles everything together)
-
- Compiling things
- ================
-
- Type 'make' within the directory which contains the files.
- This creates a local library within the directory, and creates the
- executable 'wpage' (a demo for you to play with).
-
- For general use 'widget.h' must be placed in the standard include directory
- and the library 'widgetlib.a' must go in a globally accessable place such
- as /usr/lib.
-
- Printing doc
- ============
-
- 'widget.ms' was created using the ms macros and can printed using something like
- 'nroff -ms widget.ms'
-
-
- Have fun. Richard C.
-