[net.sources.games] reversi

grwalter@watnot.UUCP (Fred) (06/14/85)

A little while sources for reversi were posted.
These required a the curses library and the termlib library.
This was (?) for 4.2 (BSD?) machines.
The version I am on does not have a termlib library, but for
some reason when it is replaced by a termcap library, it
seems to work. Could someone please explain this to me,
as I am new to UNIX and somewhat confused. (oh yes, nice game) 

Fred

UUCP  : {decvax|utzoo|ihnp4|allegra|clyde}!watmath!watnot!grwalter
CSNET : grwalter%watnot@waterloo.csnet
ARPA  : grwalter%watnot%waterloo.csnet@csnet-relay.arpa

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (06/18/85)

> The version I am on does not have a termlib library, but for
> some reason when it is replaced by a termcap library, it
> seems to work. Could someone please explain this to me,

-ltermcap was renamed to -ltermlib long ago, that's all.

sml@luke.UUCP (Steven List) (06/18/85)

In article <11219@watnot.UUCP> grwalter@watnot.UUCP (Fred) writes:
>
>The version I am on does not have a termlib library, but for
>some reason when it is replaced by a termcap library, it
>seems to work. Could someone please explain this to me,
>as I am new to UNIX and somewhat confused. (oh yes, nice game) 
>
>Fred
>
>UUCP  : {decvax|utzoo|ihnp4|allegra|clyde}!watmath!watnot!grwalter

On my antiquated System III system, they are the same.  My impression is
that they are indeed the same, just one renamed from the other.

mike@peregrine.UUCP (Mike Wexler) (06/21/85)

> In article <11219@watnot.UUCP> grwalter@watnot.UUCP (Fred) writes:
> >
> >The version I am on does not have a termlib library, but for
> >some reason when it is replaced by a termcap library, it
> >seems to work. Could someone please explain this to me,
> >as I am new to UNIX and somewhat confused. (oh yes, nice game) 
> >
> >Fred
> >
> >UUCP  : {decvax|utzoo|ihnp4|allegra|clyde}!watmath!watnot!grwalter
> 
> On my antiquated System III system, they are the same.  My impression is
> that they are indeed the same, just one renamed from the other.

They are not the same.  termlib is a newer version of termcap that takes 
advantage of more terminal features to make screen update more efficient.
This is true mainly for parameterized terminal like the vt100.  What is
true is that termlib is a superset of termcap.

-- 
--------------------------------------------------------------------------------
Mike Wexler(trwrb!pertec!peregrine!mike) | Send all flames to:
15530 Rockfield, Building C              |	trwrb!pertec!peregrine!nobody
Irvine, Ca 92718                         | They will then be given the 
(714)855-3923                            | consideration they are due.

guy@sun.uucp (Guy Harris) (06/26/85)

> > >The version I am on does not have a termlib library, but for
> > >some reason when it is replaced by a termcap library, it
> > >seems to work. Could someone please explain this to me,
> > >as I am new to UNIX and somewhat confused. (oh yes, nice game) 

> > On my antiquated System III system, they are the same.  My impression is
> > that they are indeed the same, just one renamed from the other.

> They are not the same.  termlib is a newer version of termcap that takes 
> advantage of more terminal features to make screen update more efficient.
> This is true mainly for parameterized terminal like the vt100.  What is
> true is that termlib is a superset of termcap.

Well, on my antiquated Sun UNIX 2.0 system, and on the antiquated 4.2BSD
system that it's based on, they are the same.  I don't know where you got
your "termlib" and "termcap", but you didn't get them from 4.2BSD...

Neither "termcap" nor "termlib" do any screen updating *per se*; they just
provide a way to say "what do I have to shove down a file descriptor to get
whatever's on the other end of that file descriptor to (move the cursor to
(X,Y), clear the rest of the line, etc.).  You may be thinking of the Ken
Arnold "curses" package running on top of "termcap" as the old version, and
the Mark Horton "curses" package that comes with S5R2 and has a new
"terminfo" package as the new version.

	Guy Harris

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (06/28/85)

> They are not the same.  termlib is a newer version of termcap that takes 
> advantage of more terminal features to make screen update more efficient.
> This is true mainly for parameterized terminal like the vt100.  What is
> true is that termlib is a superset of termcap.

Hey!  -ltermlib is the new name for -ltermcap, so that "termcap" now
refers to the database /etc/termcap and "termlib" refers to the small
handful of library routines provided in support of the database.  The
screen update software was provided in a separate library, -lcurses.

With System V Release 2, Mark Horton's "terminfo" was made available.
This is a whole system supplanting the termcap package; the termlib
routines were bundled into the terminfo-based -lcurses.  The terminfo
database is quite different in form from /etc/termcap (e.g., it is
divided into subdirectories for faster access and is pre-compiled).

terminfo != termlib