Subject: Re: ttermcap [was re: pcvt problems]
To: Mike Long <mike.long@analog.com>
From: Jason Downs <downsj@teeny.org>
List: port-i386
Date: 08/02/1996 10:40:53
In message <9608021518.AA00972@cthulhu.spd.analog.com>,
	Mike Long writes:
>
>>From: hm@hcs.de (Hellmuth Michaelis)
>>Date: Fri, 2 Aug 1996 09:09:21 +0200 (METDST)
>
>>A termcap-to-terminfo converter is available, a terminfo-to-termcap
>>converter not that i know of. But why should they be part of the lib ?
>
>So that you can link your termcap-based code to a terminfo-based
>library.  That is how the ncurses library's tget*() emulation works;
>you give it the name of a termcap capability, and it translates and
>returns the equivalent terminfo capability.

Some.. more advanced.. systems already support things like converting
$TERMCAP to terminfo and such.  The implementation is pretty good, and
would probably be worth looking into; giving the appropiate credit, of course.

--
Jason Downs		   (503) 256-8535 -/- (503) 952-3749
downsj@teeny.org  --> teeny.org: Free Software for a Free Internet <--
			     http://www.teeny.org/
	     OpenBSD: The BSD with a soul.  http://www.openbsd.org/