terminfo/termcap conversion programs available

John Gilmore gnu at l5.uucp
Fri Dec 6 01:11:46 AEST 1985


In article <2657 at pegasus.UUCP>, hansen at 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 at gitpyr.UUCP (Robert Viduya)
Newsgroups: net.sources
Subject: termcap to terminfo translator
Message-ID: <83 at 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.



More information about the Comp.unix.wizards mailing list