Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site l5.uucp Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!l5!gnu From: gnu@l5.uucp (John Gilmore) Newsgroups: net.info-terms,net.unix-wizards Subject: Re: terminfo/termcap conversion programs available Message-ID: <319@l5.uucp> Date: Thu, 5-Dec-85 10:11:46 EST Article-I.D.: l5.319 Posted: Thu Dec 5 10:11:46 1985 Date-Received: Sat, 7-Dec-85 04:26:26 EST References: <395@erisun.UUCP> <1634@cbosgd.UUCP> <2657@pegasus.UUCP> Organization: Nebula Consultants in San Francisco Lines: 29 Keywords: Termcap Terminfo Xref: watmath net.info-terms:731 net.unix-wizards:15983 Summary: Captoinfo is also available *free*; it was posted to net.sources. In article <2657@pegasus.UUCP>, hansen@pegasus.UUCP (Tony L. Hansen) writes: > Now available within the AT&T UNIX System Toolchest are two tools which make > such translations easy: infocmp and captoinfo. Both tools will be included > with System Vr3... > Captoinfo, of course, turns termcap entries into terminfo entries. It is > very complete in its translation, even handling the ko and ma strings. It > will also point out many errors found in the termcap source. > > The cost for these tools is very low... No wonder; it's public domain. I'll send it to you if you send me mail (but check your local net.sources archive first!), or with sufficient demand will check with Robert Viduya, the author, for a more recent version, then post to mod.sources. From: robert@gitpyr.UUCP (Robert Viduya) Newsgroups: net.sources Subject: termcap to terminfo translator Message-ID: <83@gitpyr.UUCP> Date: 30 Jan 85 20:42:01 GMT Organization: Georgia Tech, Atlanta The following is a program that converts termcap database files to terminfo source files. It reads the termcap file from standard input and writes the terminfo source to standard output. I tried to be as complete as possible, but I wasn't able to implement some things due to ambiguous documentation. The unimplemented parts are in the %-escapes. I wasn't sure about some of the more exotic termcap %-escapes like '%B'. However, things like '%c', '%d', '%2d' and '%+' are implemented.