Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp
Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!decwrl!sun!guy
From: guy@sun.uucp (Guy Harris)
Newsgroups: net.info-terms
Subject: Re: TERMCAP > TERMINFO, HOW?
Message-ID: <2932@sun.uucp>
Date: Sat, 26-Oct-85 17:44:01 EST
Article-I.D.: sun.2932
Posted: Sat Oct 26 17:44:01 1985
Date-Received: Mon, 28-Oct-85 04:16:45 EST
References: <811@houxa.UUCP> <2268@brl-tgr.ARPA> <222@mplvax.UUCP>
Organization: Sun Microsystems, Inc.
Lines: 36

> >>      1. Is there some way to compile an "old" termcap entry
> >>         into a terminfo entry?  If so, how?
> >
> >Sure; use the "ex" script cvt.ex in libcurses/terminfo.
> 
> Could you be more specific about which version of the operating system you
> are referring to.  I do not find this file in 4.2BSD

Because 4.2BSD doesn't have "terminfo".

> or in SysV release 2 (for the 3b2, including the terminfo package).

Because you (probably) don't have source.

Doug was probably assuming you had source.  If you don't have source, you're
probably out of luck.  (AT&T-IS should supply the contents of the source
directory to "terminfo" - "/usr/src/lib/libcurses/terminfo" in S5R2 - with
their systems, because 1) "terminfo" entries, like "termcap" entries, are
extremely likely to be wrong, and if you don't have the source they're hard
to fix, and 2) that directory also contains the "termcap" to "terminfo" "ex"
script and an include file and "sed" script for converting programs from
"termcap" to "terminfo".)

> Alternatively, if it is simple and not particulary secret, how about posting
> it for those who don't have your particular collection of utilities.

Unfortunately, 1) it isn't simple (~164 lines of "ex" script) and 2) it is
secret, in that (I presume) it's protected by the UNIX source being a trade
secret.  The definition of "source" gets a bit wobbly when it comes to
things like include files (obviously, you can't provide them only to source
licensees unless you want to limit developing programs under UNIX to people
who have source licenses), and I think AT&T-IS should move the "terminfo"
"source" into the category of binary software for the reasons mentioned
above.

	Guy Harris