Subject: Re: Termcap/Termlib
To: Christos Zoulas <christos@deshaw.com>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: current-users
Date: 07/03/1995 00:09:09
	Thanks for pointing out the blindingly obvious to me (The so
	obvious that I hadn't seen it). I was so tied up in the files
	being different that it never occured to me the interface
	would be the same. I shall attempt to invest in a brain before
	posting again :).

	Thanks again!

			David

D.K.Brownlee@city.ac.uk (MIME)  +44 171 477 8186  {post,host}master   (abs)
Network Analyst, UCS, City University, Northampton Square, London EC1V 0HB.

On Sun, 2 Jul 1995, Christos Zoulas wrote:

> In article <Pine.SUN.3.91.950702193409.14816D-100000@euston> D.K.Brownlee@city.ac.uk (David Brownlee) writes:
> >	I'm trying to get a program to compile under both solaris & netbsd,
> >	and I only want to support one of termcap/termlib. (I cant use solaris
> >	termcap because it dictates that I must link with -lucb (utterly
> >	completely broken) which is causing me more problms than enough...
> >
> >	Is netbsd liable to get a termlib interface at any point? or does
> >	anyone know of a package I can use to get a termcap interface from
> >	a termlib library or vica versa?
> >
> >	TIA
> >		David
> >
> 
> I don't understand what you mean by `a termlib interface'. Termcap and termlib
> are supposed to provide the same interface [at the minimum termcap level at
> least] which contains:
> 
> int   tgetent	__P((char *, char *));
> char *tgetstr	__P((char *, char **));
> int   tgetflag	__P((char *));
> int   tgetnum	__P((char *));
> char *tgoto	__P((char *, int, int));
> char *tputs	__P((char *, int, void (*)(int)));
> 
> christos
>