[comp.sys.amiga] TERMCAP and CURSES for the Amiga

eadengler@watmath.UUCP (12/06/87)

References:

[ I sacrifice this line in the name of our lord, the mighty line eater! ]

(Sorry about any mistakes. This is my first posting.)

  I am trying to compile some UNIX programs for the Amiga and have
discovered I need TERMCAP and CURSES defined for the Amiga.
Would some kind soul out there please mail me either or both
of the above sources.

            Thanks in advance,

            Ed Dengler

=======================================================================
Disclaimer: If my bosses knew I   || Reply To:
           was writing this, they ||     eadengler@watmath.waterloo.edu
           would probably claim I ||     watmath!eadengler
           didn't exist!          ||
=======================================================================

papa@pollux.usc.edu (Marco Papa) (12/06/87)

The sources for termcap and curses are copyrighted by AT&T, and it is illegal
to distribute them over electronic networks.

-- Marco
  

jbn@glacier.STANFORD.EDU (John B. Nagle) (12/08/87)

In article <5572@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes:
>The sources for termcap and curses are copyrighted by AT&T, and it is illegal
>to distribute them over electronic networks.
>
>-- Marco
>  
     Wrong.  These mechanisms come from the University of California at
Berkeley, and were developed originally by Bill Joy (as part of the VI
editor) and Ken Arnold.  (AT&T has their own system, called "terminfo",
but it hasn't really caught on.)  The "termcap" file of terminal properties
has been contributed to by hundreds of people, and various versions,
none of which seem to get the VT100 quite right, are widely distributed over
electronic networks.   Berkeley UNIX and VI clones contain copies of the
"termcap" file.  The source for "curses" is copyrighted by The Regents
of the University of California.  But you could write your own, compatible
version, and several people have.  Commercial versions of Curses are available
for the IBM PC from Lattice ($89) and Aspen Scientific ($105).  Contact The
Programmer's Shop, 800-421-8006.


					John Nagle

billh@tekig4.TEK.COM (William Hansen) (12/10/87)

Pavel Curtis (sp?) wrote a version of curses that is available. I don't remember
if he has commercial use restrictions on it or not, but it's available for
non-profit use for sure. I think it emulates System V curses since it looks
a little different than the BSD curses I'm use to. I've loaded down off the
net, and have it on my Amiga, but haven't had time/ram/hard-disk to really
work on it the way I'd like to. If you don't mind rolling your own, check
mod.sources to see if they have a copy. I think there is a TERMCAP or TERMINFO
for the amiga on one of the Fish disks.


					Bill Hansen
					billh@teklim.LIM.TEK.COM

eadengler@watmath.waterloo.edu (Ed Dengler) (12/10/87)

[ I sacrifice this line in the name of our lord, the mighty line eater! ]

In article <5572@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes:
>The sources for termcap and curses are copyrighted by AT&T, and it is illegal
>to distribute them over electronic networks.
>
>-- Marco
>  

  I don't need the actual AT&T sources. I just need routines that
have the same calling names and paramters as CURSES and TERMCAP
and perform the same functions. I'm sure some people out there have
hacked together a set of such routines for their own use. I just
don't want to re-invent the wheel :-).

  I think the copyright AT&T has is just on the original sources, and not
on the functions these routines perform.


            Ed Dengler

=======================================================================
Disclaimer: If my bosses knew I   || Reply To:
           was writing this, they ||     eadengler@watmath.waterloo.edu
           would probably claim I ||     watmath!eadengler
           didn't exist!          ||
=======================================================================

papa@pollux.usc.edu (Marco Papa) (12/11/87)

In article <15788@watmath.waterloo.edu> eadengler@watmath.waterloo.edu (Ed Dengler) writes:
>  I don't need the actual AT&T sources. I just need routines that
>have the same calling names and paramters as CURSES and TERMCAP
>and perform the same functions. I'm sure some people out there have
>hacked together a set of such routines for their own use. I just
>don't want to re-invent the wheel :-).
>
>  I think the copyright AT&T has is just on the original sources, and not
>on the functions these routines perform.
>

Of course one cannot copyright the CURSES "interface".  For the Amiga your
best bet is to use the "screen" functions that come with MANX C 3.40b.  Though
not identical to CURSES, they are very similar to it, and it should not
be a difficult task to convert one to the other.

Good luck.

-- Marco Papa
   Felsina Software

papa@pollux.usc.edu (Marco Papa) (12/13/87)

Wayne Hamilton writes to me:

>/* Written 12:39 am  Dec  6, 1987 by papa@pollux.usc.edu in uxc.cso.uiuc.edu:comp.sys.amiga */
>/* ---------- "Re: TERMCAP and CURSES for the Amiga" ---------- */
>The sources for termcap and curses are copyrighted by AT&T, and it is illegal
>to distribute them over electronic networks.

>-- Marco
  
>/* End of text from uxc.cso.uiuc.edu:comp.sys.amiga */

>    it may well be illegal to distribute them, but how did AT&T get
>the rights away from ken arnold and the regents of the U of C???

>	wayne hamilton
>	U of Il and US Army Corps of Engineers CERL

I stand corrected.  I should have said TERMINFO instead of TERMCAP.  For
CURSES this is the copyright notice (from /usr/include/curses.h):

/*	@(#)curses.h 1.1 86/07/08 SMI; from UCB 5.1 85/05/07	*/

/*
 * Copyright (c) 1980 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 */

According to this, Ken Arnold does not hold any copyright, probably 
because the work was "for hire" for UCB.  Note that the argument about the
illegality of distributing such code over electronic networks still stands.
The "conditions for redistribution" mentioned in the above notice include
the requirement of an "AT&T source license". Not an inexpensive thing, 
especially if the user/institution did not have the original berkeley
license.  AT&T has an 800 number to tell you how much it would cost you
to get any particular UNIX source, depending on your current license.

-- Marco