How to install Curses/Terminfo on your system (Beta-one test release)
---------------------------------------------------------------------

Assumptions: You have unpacked the tar-file into an empty directory.
You found this file in a subdirectory of that one called '=doc'.
There are three other subdirectories, called '=src', '=test', and '=data'.

[ Actually, if you recieved this file as part of the mod.sources
  distribution, you got this distribution as eleven shar format archive
  files, which (when passed through "sh" to unbundle them) create the
  exact same source heirarchy              - John Nelson (mod.sources)]

If any of these assumptions is false, I make no claims for the
correctness of the following instructions.

1.  Decide where you want to put the object files and source files
    of terminal descriptions.  On our system (and I recommend it for
    you), the directory /etc/term is used.  If you really can't stand
    the idea (remember, this is not where the C language source code
    to the library will go; this is where the actual terminal
    descriptions and their object files will go), you'll need to do
    these steps (skip these if you're being reasonable or lazy):
	a. Keep in mind that this directory should probably be
	   in your root filesystem so that programs which use terminfo
	   can be used even when the system is only up single-user.
	b. Change the value of the variable SRCDIR in =src/Makefile
	   to the name of the directory you've chosen.
	c. Change the man pages in =doc to reflect the name-change.

2.  Copy everything in the subdirectory =data into the directory
    chosen in step 1.

3.  Change to the subdirectory =src and type 'make'.  Absolutely no
    error-messages should be produced.  This should compile the library
    (two versions, normal and debugging), the terminfo compiler and the
    dump program. Then type 'make install' to copy the header files into
    /usr/include, copy the compiler and dump programs into the directory
    chosen in step 1, and copy the versions of the library into /usr/lib.
    You will probably need to be super-user to do this.

4.  Change to the directory chosen in step 1 and type 'make'.  This should
    compile the database.  Again, no error-messages of any sort should be
    produced.

5.  Change to the subdirectory =test and type 'make'.  This should compile
    all of the test programs in the release.  Once again, there should be
    no errors.

6.  You may want to install the test programs, make copies of the 
    documentation, etc.

NOTES:
	This release of terminfo/curses will not work on any PDP-11 UNIX
	systems I know of because the Pre-processor to the C compiler
	can't hack the number of #define's in term.h.  If you get this
	up on an eleven, let me know.  Real systems hackers can probably
	find a nice constant to change in their cpp code, but I hesitate
	to try to tell you where to find it.

	The library is stored in /usr/lib/libncurses.a, unless you changed
	the Makefile.  Note the 'n'!!  Programs wishing to use the new
	package should say "-lncurses" on their 'cc' command while those
	wanting the old package should still say '-lcurses'.

	Similarly, the curses header file should be included using
			#include <ncurses.h>

	The header file <terminfo.h> has been included so that programs
        which work only at the terminfo-level need not worry about name
	conflicts with the rest of the package.  By including
	<terminfo.h> instead of <ncurses.h>, they will get everything
	needed for the terminfo-level routines.

	You, dear reader, are truly a guinea pig.  If there's anything
	wrong with this package, these instructions, etc., you're
	supposed to tell me about it.  I'm going to be very depressed if
	I send this out and get no response at all.   So, save me the
	agony of loneliness and write to me your impressions/complaints/
	suggestions!

	[ actually, this is being posted two years after the original
	  distribution.  Most of the bugs should be out, but of course,
	  there are no guarantees        - John Nelson (mod.sources) ]

	Oh, yes.  Thank you.
	
	        Pavel Curtis
		Computer Science Dept.
		405 Upson Hall
		Cornell University
		Ithaca, NY 14853
		
		Ph- (607) 256-4934
		
		decvax!cornell!pavel		(UUCP)
		Pavel.Cornell@Udel-Relay	(ARPA)
