Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site Glacier.ARPA Path: utzoo!watmath!clyde!cbosgd!ulysses!allegra!oliveb!Glacier!@MIT-MC.ARPA:sun!guy@ucbvax.Berkeley.EDU From: guy@ucbvax.Berkeley.EDU Newsgroups: fa.info-terms Subject: Re: TERMCAP > TERMINFO, HOW? Message-ID: <77@Glacier.ARPA> Date: Sun, 27-Oct-85 22:05:49 EST Article-I.D.: Glacier.77 Posted: Sun Oct 27 22:05:49 1985 Date-Received: Wed, 30-Oct-85 05:39:43 EST Sender: daemon@Glacier.ARPA Organization: Stanford University, IC Laboratory Lines: 31 From: sun!guy@ucbvax.Berkeley.EDU (Guy Harris) > >> 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